Productive icon

Productive

Interact with the Productive API

Actions508

Invoice Templates → Get invoice templates

AI-generated

Summary

Retrieve invoice templates from Productive with optional pagination, filtering, and sorting.

Inputs

  • Return All — Choose whether to return all invoice templates or limit results to a page.
  • Limit — Maximum number of invoice templates to return when not returning all (default 50).
  • Page Number — Page number to retrieve when paginating (default 1).
  • Page Size — Number of invoice templates per page, from 1 to 200 (default 30).
  • Filter Query String — Provide a raw filter query string to apply advanced filtering, overriding other filter settings.
  • Filters — Specify structured filters by selecting fields (e.g., Company ID, Creator ID) with operations (e.g., equals, contains) and values; ignored if Filter Query String is set.
  • Sort By — Select a field to sort by, either Created At or ID, or leave unsorted.
  • Sort Order — Choose ascending or descending order for sorting.

Output shape

a list of invoice template records

Results may be paginated based on inputs; filters applied according to either the raw filter query string or structured filter collection. Returned data structure corresponds to Productive's invoice template resource.

Examples

Example 1: Retrieve all invoice templates without limit

Set Return All to true

Example 2: Get first page of 30 invoice templates for a specific company, sorted descending by creation date

Set Return All false, Page Number 1, Page Size 30, Filters with Company ID equals value, Sort By Created At, Sort Order Descending

Discussion