Returns aggregated purchase invoices totals based on the specified filters.
Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
Query parameters
-
Purchase invoice ID filter.
Multi-value supported. Example: value1;value2 -
Date filter.Supports comparison operators:
- Range (
..) - Greater than (
>) - Greater than or equal (
>=) - Less than (
<) - Less than or equal (
<=) - Not equal (
<>)
Examples:
- 01/01/2026..31/12/2026
- >=01/01/2026
- <=01/01/2026
- <>01/01/2026
Use <>01/01/2026 to return only records where the selected date is not equal to the filter date.
- Range (
-
Supplier contact ID filter.
Multi-value supported. Example: value1;value2 -
Supplier invoice reference filter
-
Currency code filter
-
Net amount filterSupports comparison operators:
- Range (
..) - Greater than (
>) - Greater than or equal (
>=) - Less than (
<) - Less than or equal (
<=) - Not equal (
<>)
Examples:
- <=100.00
- >=100.00
- <>100.00
- 100.00..200.00
Use
<>0to return only records where the selected amount is not equal to zero. - Range (
-
Total amount filterSupports comparison operators:
- Range (
..) - Greater than (
>) - Greater than or equal (
>=) - Less than (
<) - Less than or equal (
<=) - Not equal (
<>)
Examples:
- <=100.00
- >=100.00
- <>100.00
- 100.00..200.00
Use
<>0to return only records where the selected amount is not equal to zero. - Range (
-
Payable amount filterSupports comparison operators:
- Range (
..) - Greater than (
>) - Greater than or equal (
>=) - Less than (
<) - Less than or equal (
<=) - Not equal (
<>)
Examples:
- <=100.00
- >=100.00
- <>100.00
- 100.00..200.00
Use
<>0to return only records where the selected amount is not equal to zero. - Range (
-
Invoice status filter
Values are
UNPAID,OVERDUE,PAID,PARTIALLY_PAID,WIRED, orDRAFT. -
Whether the invoice is validated
-
Whether the invoice has warnings
-
Whether the invoice has comments
-
Whether the invoice is currently part of an active workflow
curl \
--request GET 'https://wyzio.app/api-v1/purchase-invoice/total'
{
"id": 42,
"organizationId": 42,
"journalEntryId": 42,
"date": "2026-05-04T09:42:00Z",
"supplier": "string",
"supplierId": 42,
"reference": "string",
"currency": "string",
"netAmount": 42.0,
"totalAmount": 42.0,
"payable": 42.0,
"status": "UNPAID",
"validated": true,
"comment": "string",
"warnings": "string",
"fileId": 42,
"fileExtension": "string",
"hasWarnings": true,
"shipmentsCount": 42,
"creatorContactId": 42,
"workflowPermissions": "string",
"hasComments": true,
"isInWorkflow": true,
"flagsAmount": 42,
"systemValidated": true
}