For the complete documentation index, see llms.txt. This page is also available as Markdown.

Invoices

Endpoints for listing, retrieving, and downloading partner invoices.

List all invoices

get

Returns a list of invoices. The transactions are returned in sorted order, with the most recent transactions appearing first. Date range parameters can be used for filtering.

Authorizations
AuthorizationstringRequired

Use your AccountSID as the username and AuthToken as the password.

Path parameters
AccountSIDstringRequired

Unique identifier for the partner account.

Query parameters
StartDatestring · date-timeOptional

Filters to show invoices created on or after this date.

EndDatestring · date-timeOptional

Filters to show invoices created on or before this date.

Responses
200

OK

application/json
get/Mediapartners/{AccountSID}/Invoices
curl
200

OK

Retrieve an invoice

get

Retrieves the object of an existing invoice using the Invoice Id.

Authorizations
AuthorizationstringRequired

Use your AccountSID as the username and AuthToken as the password.

Path parameters
AccountSIDstringRequired

Unique identifier for the partner account.

IdstringRequired

Unique identifier for the invoice.

Responses
200

OK

application/json
IdstringOptional

Unique identifier for the invoice.

Example: 1924609-1
CreatedDatestring · date-timeOptional

Date and time the invoice was created (ISO 8601).

Example: 2024-09-02T07:37:12-07:00
RecipientIdintegerOptional

Unique identifier of the invoice recipient.

Example: 1804207
RecipientNamestringOptional

Display name of the invoice recipient.

Example: Acme Corporation
CurrencystringOptional

Three-letter ISO 4217 currency code.

Example: USD
TotalAmountnumber · decimalOptional

Total amount due to the partner in this invoice.

Example: 50
TotalVatAmountnumber · decimalOptional

Value-added tax applied to the invoice, if any.

Example: 0
PDFstringOptional

API resource path to download the invoice as a PDF.

Example: /Mediapartners/<AccountSID>/Invoices/1924609-1/Download
UristringOptional

Unique reference to this invoice in the impact.com API.

Example: /Mediapartners/<AccountSID>/Invoices/1924609-1
get/Mediapartners/{AccountSID}/Invoices/{Id}
curl
200

OK

Download an invoice

get

Returns the specified invoice as a downloaded file in PDF format.

Authorizations
AuthorizationstringRequired

Use your AccountSID as the username and AuthToken as the password.

Path parameters
AccountSIDstringRequired

Unique identifier for the partner account.

IdstringRequired

Unique identifier for the invoice.

Responses
200

PDF File

application/pdf
string · binaryOptional
get/Mediapartners/{AccountSID}/Invoices/{Id}/Download
curl
200

PDF File

Last updated