Customizable Report
Returns a customizable report of invoices line items matching the supplied search and filter criteria, along with optional faceted aggregations.
Request
- Base URLhttps://api.pax8.com/v2
- URLhttps://api.pax8.com/v2/finance-reports/invoices
- AuthOAuth 2Client credentialsToken URL: https://token-manager.pax8.com/oauth/token
Query parameters
Free-text query applied across searchable invoice line item fields
Return only line items matching this vendorName value
Return only line items matching this clientName value
Return only line items matching this productName value
Return only line items matching this invoiceNumber value
Return only line items matching this billing term value
Return only line items for this invoice date. Accepts yyyy-MM (whole month) or yyyy-MM-dd
Return only line items with an invoice date greater than or equal to this date. Must be supplied together with invoiceDateRangeEnd
Return only line items with an invoice date less than or equal to this date. Must be supplied together with invoiceDateRangeStart
Return only line items matching this orderDate value
Return only line items matching this service startPeriod value
Return only line items matching this service endPeriod value
Return only line items matching this serviceStart value
Return only line items matching this chargeType value
Return only line items matching this rowType (line item type) value
Return only line items matching this vendorId value
Return only line items matching this clientId value
Return only line items matching this productId value
Return only line items matching this purchaseOrderNumber value
Return only line items for this invoice. Required unless invoiceDate or both invoiceDateRangeStart and invoiceDateRangeEnd are supplied
Filter results to customer (bill-on-behalf) invoice line items
The maximum number of line items to return per page
The page number to request (zero-based)
Return line items sorted by this field and direction. Formatted as fieldName,direction - ex. sort=invoiceDate,desc
Restrict each returned line item to only these fields. Accepts a comma-delimited list (?fields=invoiceNumber,total,clientName) or repeated parameters. When omitted, all fields are returned.
Request a faceted aggregation for each named field. Repeat the parameter to request multiple facets (?facet.field=vendor&facet.field=product). See the endpoint description for the per-facet facet.{facetField}.limit and facet.{facetField}.cursor parameters.
ISO 4217 currency code used to scope the monetary sub-aggregations returned within each facet bucket
Response
Successful operation
Example response
{
"page": {
"size": 10,
"totalElements": 237,
"totalPages": 5,
"number": 1
}
}Changes
No recorded changes to this operation across all 1 revision of this API.