Retrieve Invoice PDF

Modified on Mon, 27 Jan at 3:23 PM

The Get Invoice PDF endpoint allows you to retrieve the PDF version of an invoice that has been previously created. It responds with a JSON object containing the PDF’s file name and a URL from which you can download the invoice PDF.


Key Features:

  • PDF Retrieval: Get the invoice in PDF format for easy download and sharing.
  • Secure Access: Requires key-hash in the request headers to ensure secure access.
  • Download URL: Provides a direct URL to download the PDF file.


Required Parameters:

  • key-hash: Must be included in the request headers for security.
  • Invoice ID: The ID of the invoice you wish to download as a PDF.


Response:


The response will be a JSON object containing:

  • Filename: The name of the PDF file (e.g., invoice_12345.pdf).
  • File Url: The URL to download the PDF.


Usage Notes:

  • Ensure that the invoice ID is valid and corresponds to a generated invoice.
  • The download URL can be used to provide customers or internal systems with the invoice PDF.


Benefits:

  • Provides customers or stakeholders with easy access to a downloadable invoice.
  • Ideal for accounting, record-keeping, or simply sharing invoices in a widely used format.


Reference to API Integration Documentation

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article