Downloading the invoice
Learn how to download the invoice PDF file for an order.
Invoice PDF download scenarios
Downloading the invoice PDF programmatically
Step 1: Getting the download information for the order's invoice
curl --location --request GET 'https://api.digitalriver.com/v1/orders/{orderId}/invoices' \
--header 'authorization: basic ***'{
"invoices": [
{
"type": "vat_invoice",
"invoiceURL": "https://api.digitalriver.com/v1/orders/1075294270082/invoices/{receiptId}"
}
]
}Step 2: Getting the receipt for the invoice

Downloading the invoice PDF via a webhook notification
Last updated