Get Invoice Summary #
Get a PDF copy of a specific ~.Dimensions.~ invoice.
GET /v1.0/billingdata/{INVOICE_ID}/summary
Example #
This request will provide a stream of a specific PDF invoice.
Request #
GET <https://api.na.myreports.cloud/api/v1.0/billingdata/{INVOICE_ID}/summary> HTTP/1.1
Authorisation: Bearer {TOKEN}
Response #
HTTP/1.1 200 OK
Content-Type: application/octet-stream; charset=utf-8
Content-Length: xx
{
"status": "success",
"timestamp": "2019-01-01T10:00:00.2890319Z"
}
Errors #
Unauthorised #
When the token is not provided, invalid or expired
HTTP/1.1 401 Unauthorised
Not Found #
When there are no invoices that have a matching invoice id
HTTP/1.1 404 Not Found
Date: Thu, 06 Feb 2020 12:46:58 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 95
{
"error": 404,
"message": "Not Found",
"status": "error",
"timestamp": "2020-02-06T12:46:58.7669535Z"
}