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

Invoices

List all invoices

get

Returns a list of partner invoices sorted by creation date (most recent first). Use StartDate and EndDate to filter by a specific date range.

Authorizations
AuthorizationstringRequired
Path parameters
AccountSIDstringRequired

The unique identifier for the account.

Query parameters
StartDatestring · date-timeOptional

Filter invoices created on or after this date (ISO 8601).

EndDatestring · date-timeOptional

Filter invoices created on or before this date (ISO 8601).

Responses
200

A list of invoice objects.

application/json
get/Advertisers/{AccountSID}/Invoices
cURL
200

A list of invoice objects.

Retrieve an invoice

get

Retrieves the detailed object for a specific invoice using its unique identifier.

Authorizations
AuthorizationstringRequired
Path parameters
AccountSIDstringRequired

The unique identifier for the account.

InvoiceIdstringRequired

The unique identifier for the invoice.

Responses
200

A single invoice object.

application/json
IdstringOptional

The unique identifier for the invoice.

Example: 1299679-33
CreatedDatestring · date-timeOptional

The date and time the invoice was created.

Example: 2018-11-02T11:43:30-04:00
MediaIdintegerOptional

The unique identifier for the partner the invoice is for.

Example: 1299679
MediaNamestringOptional

The display name of the partner the invoice is for.

Example: RoadRunner
CurrencystringOptional

Three-letter ISO 4217 currency code for the invoice amounts.

Example: USD
TotalAmountnumber · decimalOptional

The total amount owed on the invoice.

Example: 65
TotalVatAmountnumber · decimalOptional

The total VAT amount on the invoice.

Example: 0
PDFstring · uri-referenceOptional

The URI to download the PDF for the invoice.

Example: /Advertisers/<AccountSID>/Invoices/1924609-1/Download
Uristring · uri-referenceOptional

The unique reference to this invoice in the impact.com API.

Example: /Advertisers/<AccountSID>/Invoices/1924609-1
get/Advertisers/{AccountSID}/Invoices/{InvoiceId}
cURL
200

A single invoice object.

Download an invoice PDF

get

Returns the specified partner invoice as a downloadable PDF file.

Authorizations
AuthorizationstringRequired
Path parameters
AccountSIDstringRequired

The unique identifier for the account.

InvoiceIdstringRequired

The unique identifier for the invoice to download.

Responses
200

The invoice in PDF format.

application/pdf
string · binaryOptional
get/Advertisers/{AccountSID}/Invoices/{InvoiceId}/Download
cURL
200

The invoice in PDF format.

Last updated