Get total for list of order expenses
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
GET /api-v1/orders/expenses/total
curl \
-X GET http://wyzio.app/api-v1/orders/expenses/total \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
{
"amount": 42.0,
"currency": "string",
"date": "2024-05-04T09:42:00+00:00",
"id": 42,
"invoiceNumber": "string",
"orderId": 42,
"organizationId": 42,
"purchaseInvoiceCreatorContactId": 42,
"purchaseInvoiceId": 42,
"reBillDate": "2024-05-04T09:42:00+00:00",
"reBillable": true,
"reference": "string",
"salesInvoiceCreatorContactId": 42,
"salesInvoiceId": 42,
"supplier": "string"
}