Actions40
- Customer Actions
- Customer Group Actions
- Discount Actions
- Document Actions
- Document Payment Actions
- SEPA Payment Actions
Document → Download Document As JPEG
AI-generatedOverview
This node interacts with the EasyBill API to download a document as a JPEG image. It is useful for scenarios where users need to retrieve specific pages of a document in image format, such as for previewing invoices or receipts without downloading the entire PDF. Users can specify the document by its ID and define the page range to download as JPEG images.
Use Case Examples
- Downloading the first page of an invoice as a JPEG image for quick preview.
- Retrieving multiple pages of a document as JPEG images for embedding in reports or emails.
Properties
| Name | Meaning |
|---|---|
| Document ID | The unique identifier of the document to be downloaded as JPEG. |
| Offset | The starting page number of the document from which the JPEG image download should begin. |
| Limit | The ending page number of the document up to which the JPEG image download should occur. |
| Options | Additional options including batching settings to control the number of requests and intervals between batches. |
Output
JSON
- `` - The JSON response from the EasyBill API containing the JPEG image data or metadata related to the downloaded document pages.
Dependencies
- Requires an API key credential for EasyBill API authentication.
Troubleshooting
- Ensure the Document ID is correct and the document exists in EasyBill.
- Check that the offset and limit values are within the valid page range of the document.
- Verify that the API key credential is valid and has the necessary permissions.
- If batching is enabled, ensure batch size and interval are set appropriately to avoid rate limiting.
Links
- EasyBill API Documentation - Official documentation for the EasyBill API, including endpoints for document management and downloading.
