Autotask icon

Autotask

Work with Autotask PSA REST API resources

Actions125

Invoice → List Invoices

AI-generated

Summary

List invoices matching filter criteria.

Inputs

  • returnAll — Whether to return all results or only up to a given Limit.
  • limit — Max number of results to return; minimum value is 1.
  • includeFields — Optional comma‑separated list of fields to include in the response; leave blank to return all fields.
  • qfCompanyID — Filter invoices by company ID.
  • qfInvoiceDateFrom — Invoice date from (inclusive); use ISO format or leave blank.
  • qfInvoiceDateTo — Invoice date to (inclusive); use ISO format or leave blank.
  • useAdvancedFilters — Whether to enable advanced filter controls (row‑builder + raw JSON).
  • advancedFilters — Add filter clauses by field name and operator; clauses are AND‑joined.
  • filterJson — Raw Autotask filter array (JSON) for OR groups, nested clauses, or any filter not expressible via UI.
  • requestOptions — Header overrides for the request; can specify an impersonation resource ID.

Output shape

list of invoice objects

Paginated; respects limit and returnAll; optional includeFields can restrict fields; may include pagination metadata; errors return Autotask error envelope.

Examples

Example 1: Get the first 10 invoices for a specific company

Resource: Invoice, Operation: List Invoices, qfCompanyID: , limit: 10

Example 2: Retrieve all invoices without a limit

Resource: Invoice, Operation: List Invoices, returnAll: true

Example 3: Apply advanced filters to get invoices created in a date range

Resource: Invoice, Operation: List Invoices, qfInvoiceDateFrom: '2023-01-01', qfInvoiceDateTo: '2023-12-31', useAdvancedFilters: true

Links

Discussion