Paperdork icon

Paperdork

Create and manage invoices in Paperdork via Koppelingen middleware

Actions4

Invoice → Download PDF

AI-generated

Summary

Download a PDF of an invoice by specifying either its invoice number or invoice ID and output it as binary data in the workflow.

Inputs

  • Look Up By (required) — Choose whether to find the invoice using the invoice number or invoice ID.
  • Invoice Number (required) — The invoice number identifier; required if 'Look Up By' is set to 'Invoice Number'.
  • Invoice ID (required) — The invoice ID numeric identifier; required if 'Look Up By' is set to 'Invoice ID'.
  • Put Output in Field — Name of the binary property where the downloaded PDF file will be stored; defaults to 'data'.

Output shape

a list of items each containing an empty JSON object and a binary property with the PDF file data

The PDF file is returned as binary data under the property name specified in 'Put Output in Field'. The filename is derived from the HTTP response's content-disposition header if present, otherwise defaults to 'invoice.pdf'. No JSON data about the invoice is returned in the JSON part of the output item.

Links

Discussion