Skip to main content

Get Invoice HTML Report by SID

This request returns data for a particular invoice in the 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 the 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 the HTML format.

Required Scopes

To get an invoice in the HTML format the partner must have one of the following scopes enabled:

  • invoices.manage
  • invoices.read

Path Arguments

ParameterData TypeDescription
invoice_sid requiredstringThe invoice secure ID.