NinjaPipe icon

NinjaPipe

Production-ready NinjaPipe node with one action interface, safer validation, Databin webhook support, and update-friendly UX

Invoice → Get Invoice

AI-generated

Summary

Retrieve a single invoice record by its ID

Inputs

  • showAdvanced — Show path override and raw JSON fields for special cases
  • resourcePathOverride — Only use this if your NinjaPipe workspace exposes a different endpoint path
  • id (required) — Record ID of the invoice to retrieve
  • flattenCustomFields — Copies custom_fields into the output and also adds cf_* keys

Output shape

an array of invoice records

Each record contains all invoice fields; with flattenCustomFields enabled custom fields appear as cf_* keys. Returns the parsed response body.

Examples

Example 1: Get a specific invoice by ID

resource=Invoice, operation=Get Invoice, id set to the invoice's ID, flattenCustomFields optional

Example 2: Fetch an invoice using a custom endpoint and advanced options

resource=Invoice, operation=Get Invoice, resourcePathOverride=/custom/invoices, showAdvanced enabled, id required, flattenCustomFields disabled

Links

Discussion