academyFIVE API icon

academyFIVE API

Interact with academyFIVE API

Actions549

Financial-documents → Download an invoice document by database ID

AI-generated

Summary

Downloads the invoice document for the specified invoice database record. Provide the required invoiceId; the response is returned as a binary file, with filename and MIME type taken from the response headers when available.

Inputs

  • invoiceId (required) — Unique database ID of the invoice record. Used in the /api/v1/financial-documents/invoice/id/{invoiceId} request path.

Output shape

One binary item per input item, with the downloaded file in the data binary property.

The accompanying JSON includes mimeType, fileName, response headers, and statusCode. The filename is derived from the Content-Disposition header when available, otherwise from the request URL, and falls back to data. With Continue On Fail enabled, a failed input produces an item whose JSON contains an error message.

Links

Discussion