Get Invoice PDF Link

paddle.get_invoice_pdf
ActionBusiness appsconnection required

Calls the Paddle API with the connection's credentials.

Get a download link for a billed transaction's invoice PDF.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Paddle
Secret shape
the Paddle API key (pdl_…), or {"api_key": "…"}
Config it needs
environment, base_url
Resolved by
config.connection_id, else node.connection_id

Configuration

2 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
transaction_id
The transaction id, prefixed txn_.
stringYes———
disposition
attachment makes the link download, inline opens it in a browser.
stringNo—one of "attachment", "inline"—

Output

One shape.

result

FieldTypeExample
url
The invoice PDF link Paddle issued.
string—
transaction_id
The transaction the invoice belongs to.
string—
disposition
Whether the link downloads or opens inline.
string—
expires_in_seconds
How long Paddle keeps the link alive, one hour from issue.
number—
{
  "disposition": "",
  "expires_in_seconds": 0,
  "transaction_id": "",
  "url": ""
}

Notes

  • The link is temporary — Paddle expires it after an hour — so fetch the file in the same run rather than storing the url. Paddle only issues invoices for billed or completed transactions.

See Get Invoice PDF Link run in a workflow.

In a technical demo we add the Paddle connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.