Download the e-invoice for the credit note in both XML and PDF formats. The response consists of a download object for each format. The XML format follows the structure as per Peppol BIS Billing v3.0.
Note
- You can only download e-invoices when their
statusissuccessorregistered. - There are some cases in which the PDF is not available for download. In such cases, you can obtain it from the XML by decoding the value for
cbc:EmbeddedDocumentBinaryObject, which is the Base64-encoded version of the PDF.
Sample Request
Sample Result[JSON]
URL Format
GET https://[site].chargebee.com/api/v2/credit_notes/{credit-note-id}/download_einvoice
Returns
always returned
Resource object representing download