App Logo
pay.postman.com

Postman: download invoice PDF

Downloads a Postman invoice PDF given its public viewUrl (from postman.co/list_invoices). The download itself is reliable; occasionally the confirmation step doesn't complete, in which case status is reported as unconfirmed even though the file was saved successfully.

Input

viewUrl required

Public tokenized invoice page, e.g. https://pay.postman.com/invoices/view?invoice_public_id=inv_XXXX (from postman.co/list_invoices' viewUrl field).

Output

status required

confirmed: Reduck retrieved download metadata. unconfirmed: the fetch+download succeeded but Reduck's confirmation step failed to resolve — the file has still reliably landed in the browser's download location.

filename required

Saved file name, e.g. inv_XXXX.pdf.

url optional

Download link (cloud-browser sessions). Null when unconfirmed.

note optional

Present when status is unconfirmed — the last error hit while trying to confirm.

path optional

Local file path (agent machine, or the user's machine for a device session). Null when unconfirmed.

Start building not clicking