Invoices
Endpoints for listing, retrieving, and downloading partner invoices.
Returns a list of invoices. The transactions are returned in sorted order, with the most recent transactions appearing first. Parameters can be used to create a date range to only list invoices that were created within the range.
Unique identifier for the partner account.
ISO 8601 format that filters the list to only show invoices created on or after this date.
ISO 8601 format that filters the list to only show invoices created on or before this date.
OK
curl -L \
--url 'https://api.impact.com/Mediapartners/{AccountSID}/Invoices' \
--user '{AccountSID}:{AuthToken}' \
--header 'Accept: */*'OK
{
"Invoices": [
{
"Id": "1924609-1",
"CreatedDate": "2024-09-02T07:37:12-07:00",
"RecipientId": 1804207,
"RecipientName": "Acme Corporation",
"Currency": "USD",
"TotalAmount": "50.00",
"TotalVatAmount": "0.00",
"LineItems": [
{
"CampaignId": "10306",
"CampaignName": "Wayne Enterprises",
"Description": "MEDIA_PAYOUT",
"EventMonthYear": "12021",
"Actions": "5",
"NetItemAmount": "50.00",
"VatItemAmount": "0.00",
"TotalItemAmount": "50.00",
"Status": "OVERDUE",
"DueDate": "2021-02-05T17:51:35-08:00",
"PaidDate": "2024-10-01T00:00:00-07:00"
}
],
"DetailedLineItems": [
{
"AccountId": 1804207,
"Name": "Acme Corporation",
"ProgramId": "10306",
"ProgramName": "Wayne Enterprises",
"EventMonthYear": "12021",
"ActionAmount": "48.00",
"OtherAmount": "2.00",
"TotalAmount": "50.00"
}
],
"PDF": "/Mediapartners/<AccountSID>/Invoices/1924609-1/Download",
"Uri": "/Mediapartners/<AccountSID>/Invoices/1924609-1"
}
]
}This request allows you to retrieve an invoice from both impact.com's invoicing methods.
Unique identifier for the partner account.
Unique identifier for the invoice object.
OK
Unique identifier for the invoice object.
1924609-1ISO 8601 format of the date and time when the invoice was created.
2024-09-02T07:37:12-07:00Unique identifier of the recipient of the invoice.
1804207The display name of the recipient of the invoice.
Acme CorporationThree-letter ISO 4217 currency code.
USDThe total amount due to the partner in the invoice.
50.00Value-added tax applied to the invoice, if any exists.
0.00API resource path to download the invoice as a PDF.
/Mediapartners/<AccountSID>/Invoices/1924609-1/DownloadUnique reference to this invoice in the impact.com API.
/Mediapartners/<AccountSID>/Invoices/1924609-1curl -L \
--url 'https://api.impact.com/Mediapartners/{AccountSID}/Invoices/{Id}' \
--user '{AccountSID}:{AuthToken}' \
--header 'Accept: */*'OK
{
"Id": "1924609-1",
"CreatedDate": "2024-09-02T07:37:12-07:00",
"RecipientId": 1804207,
"RecipientName": "Acme Corporation",
"Currency": "USD",
"TotalAmount": "50.00",
"TotalVatAmount": "0.00",
"LineItems": [
{
"CampaignId": "10306",
"CampaignName": "Wayne Enterprises",
"Description": "MEDIA_PAYOUT",
"EventMonthYear": "12021",
"Actions": "5",
"NetItemAmount": "50.00",
"VatItemAmount": "0.00",
"TotalItemAmount": "50.00",
"Status": "OVERDUE",
"DueDate": "2021-02-05T17:51:35-08:00",
"PaidDate": "2024-10-01T00:00:00-07:00"
}
],
"DetailedLineItems": [
{
"AccountId": 1804207,
"Name": "Acme Corporation",
"ProgramId": "10306",
"ProgramName": "Wayne Enterprises",
"EventMonthYear": "12021",
"ActionAmount": "48.00",
"OtherAmount": "2.00",
"TotalAmount": "50.00"
}
],
"PDF": "/Mediapartners/<AccountSID>/Invoices/1924609-1/Download",
"Uri": "/Mediapartners/<AccountSID>/Invoices/1924609-1"
}Returns the specified invoice as a downloaded file in PDF format.
Unique identifier for the partner account.
Unique identifier for the invoice.
PDF file of the invoice.
curl -L \
--url 'https://api.impact.com/Mediapartners/{AccountSID}/Invoices/{Id}/Download' \
--user '{AccountSID}:{AuthToken}' \
--header 'Accept: */*'PDF file of the invoice.
binaryLast updated
