Retrieve an invoice

Parameters


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"
    }
  ],
  "PDF": "/Advertisers/<AccountSID>/Invoices/1299679-3/Download",
  "Uri": "/Advertisers/<AccountSID>/Invoices/1299679-3"
},