Returns aggregated sales 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
-
Sales invoice ID filter.
Multi-value supported. Example: value1;value2 -
Invoice number filter
-
Date filterSupports 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 (
-
Client contact ID filter.
Multi-value supported. Example: value1;value2 -
Internal reference filter
-
Free-text description filter
-
Currency code filter
-
Net amount filter.Supports 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 filter.Supports 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 (
-
Receivable amount filter.Supports 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
OPEN,UNPAID,PAID,PARTIALLY_PAID,OVERDUE, orPRO_FORMA. -
Our contact (sales representative) name filter
-
Client email filter
-
Whether the client uses e-correspondence
-
Whether the invoice has warnings
-
Whether the invoice is validated
-
Whether the invoice has comments
-
Whether the invoice is currently part of an active workflow
-
Billing email address filter
-
Whether the invoice has shipments
-
Whether the invoice document has been sent to the client
curl \
--request GET 'https://wyzio.app/api-v1/sales-invoice/total'
{
"id": 42,
"organizationId": 42,
"number": "string",
"date": "2026-05-04T09:42:00Z",
"client": "string",
"clientId": 42,
"reference": "string",
"description": "string",
"referenceAndDescriptionJoined": "string",
"currency": "string",
"netAmount": 42.0,
"totalAmount": 42.0,
"receivable": 42.0,
"status": "OPEN",
"comments": "string",
"warnings": "string",
"ourContactName": "string",
"clientEmail": "string",
"clientAdvancedInvoicingNote": "string",
"clientECorrespondence": true,
"hasWarnings": true,
"bvrGenerationAvailability": true,
"qrGenerationAvailability": true,
"creatorContactId": 42,
"validated": true,
"workflowPermissions": "string",
"hasComments": true,
"isInWorkflow": true,
"systemValidated": true,
"clientBillingEmail": "string",
"hasShipments": true,
"isDocSent": true,
"flagsAmount": 42,
"inWorkflow": true
}