NinjaPipe icon

NinjaPipe

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

Invoice → List Invoice

AI-generated

Summary

List invoices with optional filtering, pagination, and custom field flattening.

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.
  • returnAll — When false, only the specified page is returned; when true, all pages are fetched.
  • page — The page number to retrieve when Return All is false.
  • limit — Maximum number of items per page (1 to 100).
  • search — Search term applied to the resource.
  • statusFilter — Filter invoices by status.
  • ownerFilter — Filter invoices by owner.
  • queryParams — Additional query parameters added via key-value pairs; each entry defines a parameter name, type, and value.
  • advancedQueryJson — Optional raw query parameters merged last.
  • flattenCustomFields — When true, copies custom_fields into the output and adds cf_* keys.

Output shape

Array of invoice records, each containing flattened fields and optional cf_* keys

Pagination limited to a single page unless Return All is enabled; filters and query parameters affect returned subset; flattenCustomFields toggles inclusion of custom field aliases.

Examples

Example 1: Fetch the first page of invoices with default pagination settings

resource=Invoice, operation=getAll, limit=20, page=1, returnAll=false

Example 2: Retrieve all invoices filtered by status='Open' and owner='456'

resource=Invoice, operation=getAll, statusFilter='Open', ownerFilter='456', returnAll=true

Links

Discussion