Invoices API

get specific entry

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

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjI1LCJhdWQiOlsiY3VzdG9tZXItdjEiXSwiZXhwIjoxNzEwMjU0MjAyfQ.S1KhkxGyurNHX6-bhVikLMDm1kzNf94ZkE1pHz6hoaU
Host: example.org
Cookie: 

Route

GET /api/rest/customer/v1/invoices/ce11333a-e07d-11ee-bc8d-0242ac120003

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 0
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
ETag: W/"5f454f9d73599efa873e4d557db6a2cc"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 6515977e-12b6-4003-bb2b-0b25a8841b37
X-Runtime: 0.008873
Content-Length: 1030

Status

200 OK

Body

{
  "data": {
    "id": "ce11333a-e07d-11ee-bc8d-0242ac120003",
    "type": "invoices",
    "links": {
      "self": "http://example.org/api/rest/customer/v1/invoices/ce11333a-e07d-11ee-bc8d-0242ac120003"
    },
    "attributes": {
      "reference": "8",
      "start-date": "2024-03-05T14:35:42.775Z",
      "end-date": "2024-03-11T14:35:42.775Z",
      "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
    },
    "relationships": {
      "account": {
        "links": {
          "self": "http://example.org/api/rest/customer/v1/invoices/ce11333a-e07d-11ee-bc8d-0242ac120003/relationships/account",
          "related": "http://example.org/api/rest/customer/v1/invoices/ce11333a-e07d-11ee-bc8d-0242ac120003/account"
        }
      }
    }
  }
}