get specific entry
GET /api/rest/customer/v1/invoices/:id
Request
Headers
Route
GET /api/rest/customer/v1/invoices/abb41d30-a26e-11ef-be6d-0242ac120003
Response
Headers
Status
200 OK
Body
{
"data": {
"id": "abb41d30-a26e-11ef-be6d-0242ac120003",
"type": "invoices",
"links": {
"self": "http://example.org/api/rest/customer/v1/invoices/abb41d30-a26e-11ef-be6d-0242ac120003"
},
"attributes": {
"reference": "23",
"start-date": "2024-11-07T09:56:08.253Z",
"end-date": "2024-11-13T09:56:08.253Z",
"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/abb41d30-a26e-11ef-be6d-0242ac120003/relationships/account",
"related": "http://example.org/api/rest/customer/v1/invoices/abb41d30-a26e-11ef-be6d-0242ac120003/account"
}
}
}
}
}