Get total values for list of purchase invoices using advanced filters

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://restapi.wyzio.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Wyzio MCP server": {
  "url": "https://restapi.wyzio.com/mcp"
}
Close
GET /api-v1/purchase-invoice/advanced/total

Headers

  • WEAL-TOKEN Required

    API token (can be retrieved from account settings)

  • TARGET-ORGANIZATION-ID

    ID of organization, for which the operation must be performed

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • id integer
    • organizationId integer
    • journalEntryId integer
    • date string(date-time)
    • supplier string
    • supplierId integer
    • reference string
    • currency string
    • netAmount number
    • totalAmount number
    • payable number
    • status string

      Values are UNPAID, OVERDUE, PAID, PARTIALLY_PAID, WIRED, or DRAFT.

    • validated boolean
    • comment string
    • warnings string
    • fileId integer
    • fileExtension string
    • hasWarnings boolean
    • shipmentsCount integer
    • creatorContactId integer
    • workflowPermissions string
    • hasComments boolean
    • isInWorkflow boolean
    • flagsAmount integer(int32)
    • systemValidated boolean
    • description string
    • vatAmount number
    • attributionId integer
    • chartOfAccountsId integer
    • attributionAccountNumber integer
    • invoiceLineDepartmentId integer
    • departmentName string
    • orderId integer
    • orderIdToDisplay string
    • invoiceLineOfficeId integer
    • invoiceLineOfficeName string
    • reBill boolean
    • reBilled boolean
    • reBilledDate string(date-time)
    • articleId integer
    • articleIdToDisplay string
    • quantity number
    • ruleName string
    • dateFrom string(date-time)
    • dateTo string(date-time)
    • attributionNet number
    • percent number
    • paymentId integer
    • requestedDate string(date-time)
    • plannedDate string(date-time)
    • sentDate string(date-time)
    • valueDate string(date-time)
    • paidAmount number
    • bankCharges number
    • payableByAccount integer
    • payableByAccountNumber integer
    • paymentType string

      Values are BANK_TRANSFER, BVR, or QR_BILL.

    • requestedCurrency string
    • paidCurrency string
    • requestedAmount number
    • paymentAccountId integer
    • vatType string

      Values are NO_VAT, NATIVE, or IMPORT_OF_SERVICE.

    • documentsExist boolean
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/purchase-invoice/advanced/total
curl \
 --request GET 'https://wyzio.app/api-v1/purchase-invoice/advanced/total'
Response examples (200)
{
  "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,
  "description": "string",
  "vatAmount": 42.0,
  "attributionId": 42,
  "chartOfAccountsId": 42,
  "attributionAccountNumber": 42,
  "invoiceLineDepartmentId": 42,
  "departmentName": "string",
  "orderId": 42,
  "orderIdToDisplay": "string",
  "invoiceLineOfficeId": 42,
  "invoiceLineOfficeName": "string",
  "reBill": true,
  "reBilled": true,
  "reBilledDate": "2026-05-04T09:42:00Z",
  "articleId": 42,
  "articleIdToDisplay": "string",
  "quantity": 42.0,
  "ruleName": "string",
  "dateFrom": "2026-05-04T09:42:00Z",
  "dateTo": "2026-05-04T09:42:00Z",
  "attributionNet": 42.0,
  "percent": 42.0,
  "paymentId": 42,
  "requestedDate": "2026-05-04T09:42:00Z",
  "plannedDate": "2026-05-04T09:42:00Z",
  "sentDate": "2026-05-04T09:42:00Z",
  "valueDate": "2026-05-04T09:42:00Z",
  "paidAmount": 42.0,
  "bankCharges": 42.0,
  "payableByAccount": 42,
  "payableByAccountNumber": 42,
  "paymentType": "BANK_TRANSFER",
  "requestedCurrency": "string",
  "paidCurrency": "string",
  "requestedAmount": 42.0,
  "paymentAccountId": 42,
  "vatType": "NO_VAT",
  "documentsExist": true
}