Actions100
- Companies Actions
- Contacts Actions
- Invoices Actions
- Library attachments Actions
- Orders Actions
- Preference attachments Actions
- Products Actions
- Provision Attempts Actions
- Provision Details Actions
- Provision Requests Actions
- Provision Results Actions
- Provisioners Actions
- Provisioning Simulations Actions
- Quote access list Actions
- Quote attachments Actions
- Quote line items Actions
- Quote preferences Actions
- Quote sections Actions
- Quotes Actions
- Subscriptions Actions
- Topic Definitions Actions
- Usage Lines Actions
- Usage Summaries Actions
- Webhook Logs Actions
- Webhooks Actions
Invoices → List Draft Invoice Items
AI-generatedSummary
List draft invoice items from the Pax8 API, filtered by month offset and optionally by company, with pagination support.
Inputs
- baseUrl — Base URL for the Pax8 API.
- returnAll — Whether to return all results (paginate automatically).
- maxResults — Maximum number of results to return. 0 means no limit.
- page — The page number to request in the draft invoice items list. Used when returnAll is false.
- size — Returns this number of draft invoice items per page. Used when returnAll is false.
- monthOffset — Number of months from current to return draft items for. 0 = current month, 1 = next month. Only values 0 and 1 are currently supported. If omitted, defaults to 1 (next month).
- companyId — Filter draft items to a specific company.
Output shape
array
Returns an array of draft invoice item objects. Pagination is handled via the page and size parameters; when returnAll is true, all items across pages are collected and returned as a single array.