Get Invoice PDF

chargebee.get_invoice_pdf
ActionCRM & salesconnection required

Calls the Chargebee API with the connection's credentials.

Ask Chargebee for a short-lived download URL for the invoice PDF.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Chargebee
Secret shape
the site API key: the raw string, {"api_key": "…"}, or the HTTP Basic pair {"username": "<api key>", "password": ""}
Config it needs
site, 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
invoice_id
The Chargebee invoice id.
stringYes———
disposition_type
How the browser should render the PDF at the download URL. Leave empty to take Chargebee's default of 'attachment'.
stringNo—one of "attachment", "inline"—

Output

One shape.

result

FieldTypeExample
download
Chargebee's download object; its 'download_url' expires at 'valid_till', so fetch it in the same run.
object—
{
  "download": {}
}

Notes

  • The Chargebee site and API key come from the connection; every path below is relative to https://<site>.chargebee.com/api/v2.
  • POST /invoices/{invoice-id}/pdf

See Get Invoice PDF run in a workflow.

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