Unleashed icon

Unleashed

Interact with Unleashed inventory management API

Invoice → Get Many

AI-generated

Summary

Retrieves a list of Unleashed invoices based on configurable filters, sorting, and a limit or 'return all' option.

Inputs

  • returnAll — Whether to return all results or only up to a given limit.
  • limit — Max number of results to return. Only applies if 'Return All' is false.
  • filters — A collection of filters to apply to the query, including Batch Numbers, Customer Code/Name, Invoice Number/Status, Order Number, Serials, Warehouse Code/Name, and Date ranges (Start/End Date, Modified Since).
  • orderBy — Field to order results by.
  • sort — Sort direction for results (Ascending or Descending).

Output shape

a list of items, each containing invoice data.

The exact fields returned per invoice depend on the Unleashed API response structure, which includes details like invoice number, status, dates, and line items.

Examples

Example 1: Fetch all completed invoices for a specific customer

Set 'Return All' to true. In filters, set 'Invoice Status' to 'Completed' and 'Customer Code' to your value.

Example 2: Get invoices from the last 30 days

Set 'Return All' to true. In filters, set 'Start Date' and 'End Date' to cover the desired period.

Example 3: Retrieve a limited list of invoices sorted by date

Set 'Return All' to false. Set 'Limit' to the desired number. In filters, set 'Order By' to 'Invoice Date' and 'Sort' to 'Descending'.

Links

Discussion