Get list of sales invoices
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
Query parameters
-
direction string
Sorting direction
Values are
ASC
orDESC
. Default value isASC
. -
pageNumber integer(int32)
Page Number
Default value is
1
. -
sizePerPage integer(int32)
Size per page
Default value is
60
. -
sortingField string
Field to sort by
GET /api-v1/sales-invoice
curl \
-X GET http://10.10.10.132/api-v1/sales-invoice \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
[
{
"bvrGenerationAvailability": true,
"client": "string",
"clientAdvancedInvoicingNote": "string",
"clientBillingEmail": "string",
"clientECorrespondence": true,
"clientEmail": "string",
"clientId": 42,
"comments": "string",
"creatorContactId": 42,
"currency": "string",
"date": "2024-05-04T09:42:00+00:00",
"description": "string",
"flagsAmount": 42,
"hasComments": true,
"hasWarnings": true,
"id": 42,
"inWorkflow": true,
"isInWorkflow": true,
"netAmount": 42.0,
"number": "string",
"organizationId": 42,
"ourContactName": "string",
"qrGenerationAvailability": true,
"receivable": 42.0,
"reference": "string",
"referenceAndDescriptionJoined": "string",
"status": "OPEN",
"systemValidated": true,
"totalAmount": 42.0,
"validated": true,
"warnings": "string",
"workflowPermissions": "string"
}
]