Get total for list of order expenses

GET /api-v1/orders/expenses/total

Headers

  • TARGET-ORGANIZATION-ID integer(int32)

    ID of organization, for which the operation must be performed

  • WEAL-TOKEN string Required

    API token (can be retrieved from account settings)

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • amount number
    • currency string
    • date string(date-time)
    • id integer
    • invoiceNumber string
    • orderId integer
    • organizationId integer
    • purchaseInvoiceCreatorContactId integer
    • purchaseInvoiceId integer
    • reBillDate string(date-time)
    • reBillable boolean
    • reference string
    • salesInvoiceCreatorContactId integer
    • salesInvoiceId integer
    • supplier string
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/orders/expenses/total
curl \
 --request GET 'https://wyzio.app/api-v1/orders/expenses/total' \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "WEAL-TOKEN: string"
Response examples (200)
{
  "amount": 42.0,
  "currency": "string",
  "date": "2025-05-04T09:42:00Z",
  "id": 42,
  "invoiceNumber": "string",
  "orderId": 42,
  "organizationId": 42,
  "purchaseInvoiceCreatorContactId": 42,
  "purchaseInvoiceId": 42,
  "reBillDate": "2025-05-04T09:42:00Z",
  "reBillable": true,
  "reference": "string",
  "salesInvoiceCreatorContactId": 42,
  "salesInvoiceId": 42,
  "supplier": "string"
}