Huntress icon

Huntress

Interact with Huntress API

Actions86

Reseller → List Account Invoices

AI-generated

Summary

Lists invoices for a specified Huntress account, with optional status, usage, sorting, and pagination filters. Can return one page or fetch all pages when Return All is enabled.

Inputs

  • Account Id (required) — Numeric ID of the account whose invoices to list.
  • Return All — When enabled, fetches all available pages. When disabled, sends no pagination parameters and returns only one page.
  • Additional Fields — Optional invoice filters and paging controls: limit (1–500, default 10), page token, sort field (default id), sort direction (default desc), status, and has_usage.
  • Custom Body — Optional JSON merged with the request body; custom values take priority.
  • Custom Headers — Optional HTTP headers to include in the request.
  • Query Filters — Optional query parameter names and values.
  • Batching — Optional grouping and delay settings for requests made per input item.
  • Debug — When enabled, adds the request URL, query parameters, headers, and body to each output under a debug entry.
  • Pagination — Optional pagination configuration for offset, cursor, or next-URL pagination, including data path, page limit, and request delay.
  • Timeout (ms) — Request timeout in milliseconds; defaults to 300000.

Output shape

A list of invoice records returned by the Huntress API.

With Return All disabled, the result contains only one page. With it enabled, pagination is used to retrieve all available pages. Debug mode adds request details to each output.

Links

Discussion