Get Invoice HTML Report by SID
This request returns data for a particular invoice in HTML format. If the request succeeds, there will be a download link.
| get | /billing/invoices/{invoice_sid}.html |
Sample
A sample GET request to get an invoice, targeted by secure ID, in HTML format:
curl -X GET \
'https://api.carrierx.com/core/v2/billing/invoices/6765ca8a-91c7-4241-98c6-42803de77e74.html' \
-H 'Authorization: Bearer 5ebc03d6-8b2b-44ad-bf65-72d4f1491dda'
Response
200 status code with the invoice in HTML format.
Required Scopes
To get an invoice in HTML format the partner must have one of the following scopes enabled:
invoices.manageinvoices.read
Path Arguments
| Parameter | Data Type | Description |
|---|---|---|
| invoice_sid required | string | The invoice secure ID. |