Invoices API

get specific entry

GET /api/rest/customer/v1/invoices/:id

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOlsiY3VzdG9tZXItdjEiXSwic3ViIjozMSwiZXhwIjoxNzgxMjc4ODY3fQ.7ATyBrMvjmREHUOVzQvpU7Tlf41ABwCs2QxKQrYs_GQ
Host: example.org
Cookie: 

Route

GET /api/rest/customer/v1/invoices/fd2e32c4-6674-11f1-867c-da575d109341

Response

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/vnd.api+json
vary: Accept
etag: W/"7655898d1861793a00269d1f6dba41d1"
cache-control: max-age=0, private, must-revalidate
x-request-id: cac00cc0-1bab-49d1-b411-0d501fa14c5f
x-runtime: 0.007821
content-length: 1092

Status

200 OK

Body

{
  "data": {
    "id": "fd2e32c4-6674-11f1-867c-da575d109341",
    "type": "invoices",
    "links": {
      "self": "http://example.org/api/rest/customer/v1/invoices/fd2e32c4-6674-11f1-867c-da575d109341"
    },
    "attributes": {
      "reference": "23",
      "start-date": "2026-06-05T15:40:07.506Z",
      "end-date": "2026-06-11T15:40:07.507Z",
      "has-pdf": false,
      "amount-spent": "0.0",
      "originated-amount-spent": "0.0",
      "originated-calls-count": 0,
      "originated-successful-calls-count": 0,
      "originated-calls-duration": 0,
      "originated-billing-duration": 0,
      "originated-first-call-at": null,
      "originated-last-call-at": null,
      "terminated-amount-spent": "0.0",
      "terminated-calls-count": 0,
      "terminated-successful-calls-count": 0,
      "terminated-calls-duration": 0,
      "terminated-billing-duration": 0,
      "terminated-first-call-at": null,
      "terminated-last-call-at": null,
      "services-amount-spent": "0.0",
      "service-transactions-count": 0
    },
    "relationships": {
      "account": {
        "links": {
          "self": "http://example.org/api/rest/customer/v1/invoices/fd2e32c4-6674-11f1-867c-da575d109341/relationships/account",
          "related": "http://example.org/api/rest/customer/v1/invoices/fd2e32c4-6674-11f1-867c-da575d109341/account"
        }
      }
    }
  }
}