HomeGuidesAPI ReferenceAPI Changelog
Log In
API Reference

Retrieve an invoice

This request retrieves an invoice that supports both impact.com's invoicing methods.

Parameters

There are no parameters.

Returns


Returns an The invoice object if a valid invoice ID was provided.

Example request


curl 'https://api.impact.com/Advertisers/<AccountSID>/Invoices/<InvoiceId>' \
  -X GET \
  -u '<AccountSID>:<AuthToken>' \
  -H 'Accept: application/json'

Example response


{
  "Id": "1299679-33",
  "CreatedDate": "2018-11-02T11:43:30-04:00",
  "MediaId": "1299679",
  "MediaName": "RoadRunner",
  "Currency": "USD",
  "TotalAmount": "65.00",
  "TotalVatAmount": "0.00",
  "LineItems": [
    {
      "CampaignId": "1000",
      "CampaignName": "Acme Online",
      "Description": "MEDIA_PAYOUT",
      "EventMonthYear": "92018",
      "Actions": "13",
      "NetItemAmount": "65.00",
      "VatItemAmount": "0.00",
      "TotalItemAmount": "65.00",
      "Status": "PAID",
      "DueDate": "2018-10-16T00:00:00-04:00",
      "PaidDate": "2018-10-16T00:35:47-04:00"
    }
  ],
  "DetailedLineItems": [
    {
      "AccountId": "1299679",
      "Name": "ACME Online",
      "ProgramId": "1000",
      "ProgramName": "ACME Online",
      "EventMonthYear": "92018",
      "ActionAmount": "65.00",
      "OtherAmount": "",
      "TotalAmount": "65.00"
    }
  ],
  "PDF": "/Mediapartners/<AccountSID>/Invoices/1924609-1/Download",
  "Uri": "/Mediapartners/<AccountSID>/Invoices/1924609-1"
}