academyFIVE API Beta icon

academyFIVE API Beta

Interact with academyFIVE API

Actions482

Financial-documents → Download an invoice document by database ID

AI-generated

Summary

Downloads the invoice document for the specified invoice record from the academyFIVE API. Provide the required database invoice ID; the response is returned as binary data with file metadata.

Inputs

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

Output shape

One n8n item per input item, containing the downloaded file in binary.data and JSON metadata.

Metadata includes mimeType, fileName, response headers, and status code. The filename is taken from the response Content-Disposition header when available, otherwise from the request URL, with data as a fallback.

Links

Discussion