provider Invoices GET /ar/invoices/{invoiceId}/pdf
@utdk/mercury /ar/invoices/{invoiceId}/pdf
Download invoice PDF
Downloads a PDF file for the specified invoice. The response includes a Content-Disposition header set to 'attachment' with the filename.
invoiceId path required
string

Try it

Authentication
Configure credentials for Mercury API
getinvoicepdf
GET/ar/invoices/{invoiceId}/pdf
Downloads a PDF file for the specified invoice. The response includes a Content-Disposition header set to 'attachment' with the filename.

Parameters

required

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import mercury from '@utdk/mercury';

await mercury.getinvoicepdf()