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. Date range parameters can be used for filtering.
Use your AccountSID as the username and AuthToken as the password.
Unique identifier for the partner account.
Filters to show invoices created on or after this date.
Filters to 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,
"TotalVatAmount": 0,
"LineItems": [
{
"CampaignId": "10306",
"CampaignName": "Wayne Enterprises",
"Description": "MEDIA_PAYOUT",
"EventMonthYear": "12021",
"Actions": "5",
"NetItemAmount": 50,
"VatItemAmount": 0,
"TotalItemAmount": 50,
"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"
}
]
}Retrieves the object of an existing invoice using the Invoice Id.
Use your AccountSID as the username and AuthToken as the password.
Unique identifier for the partner account.
Unique identifier for the invoice.
OK
Unique identifier for the invoice.
1924609-1Date and time the invoice was created (ISO 8601).
2024-09-02T07:37:12-07:00Unique identifier of the invoice recipient.
1804207Display name of the invoice recipient.
Acme CorporationThree-letter ISO 4217 currency code.
USDTotal amount due to the partner in this invoice.
50Value-added tax applied to the invoice, if any.
0API 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,
"TotalVatAmount": 0,
"LineItems": [
{
"CampaignId": "10306",
"CampaignName": "Wayne Enterprises",
"Description": "MEDIA_PAYOUT",
"EventMonthYear": "12021",
"Actions": "5",
"NetItemAmount": 50,
"VatItemAmount": 0,
"TotalItemAmount": 50,
"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.
Use your AccountSID as the username and AuthToken as the password.
Unique identifier for the partner account.
Unique identifier for the invoice.
PDF File
curl -L \
--url 'https://api.impact.com/Mediapartners/{AccountSID}/Invoices/{Id}/Download' \
--user '{AccountSID}:{AuthToken}' \
--header 'Accept: */*'PDF File
binaryLast updated

