Get list of purchase invoices using advanced filters

GET /api-v1/purchase-invoice/advanced

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
    • articleId integer
    • articleIdToDisplay string
    • attributionAccountNumber integer
    • attributionId integer
    • attributionNet number
    • bankCharges number
    • chartOfAccountsId integer
    • comment string
    • creatorContactId integer
    • currency string
    • date string(date-time)
    • dateFrom string(date-time)
    • dateTo string(date-time)
    • departmentName string
    • description string
    • documentsExist boolean
    • fileExtension string
    • fileId integer
    • flagsAmount integer(int32)
    • hasComments boolean
    • hasWarnings boolean
    • id integer
    • invoiceLineDepartmentId integer
    • invoiceLineOfficeId integer
    • invoiceLineOfficeName string
    • isInWorkflow boolean
    • journalEntryId integer
    • netAmount number
    • orderId integer
    • orderIdToDisplay string
    • organizationId integer
    • paidAmount number
    • paidCurrency string
    • payable number
    • payableByAccount integer
    • payableByAccountNumber integer
    • paymentAccountId integer
    • paymentId integer
    • paymentType string

      Values are BANK_TRANSFER, BVR, or QR_BILL.

    • percent number
    • plannedDate string(date-time)
    • quantity number
    • reBill boolean
    • reBilled boolean
    • reBilledDate string(date-time)
    • reference string
    • requestedAmount number
    • requestedCurrency string
    • requestedDate string(date-time)
    • ruleName string
    • sentDate string(date-time)
    • shipmentsCount integer
    • status string

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

    • supplier string
    • supplierId integer
    • systemValidated boolean
    • totalAmount number
    • validated boolean
    • valueDate string(date-time)
    • vatAmount number
    • vatType string

      Values are NO_VAT, NATIVE, or IMPORT_OF_SERVICE.

    • warnings string
    • workflowPermissions string
  • 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
curl \
 --request GET 'https://wyzio.app/api-v1/purchase-invoice/advanced' \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "WEAL-TOKEN: string"
Response examples (200)
[
  {
    "articleId": 42,
    "articleIdToDisplay": "string",
    "attributionAccountNumber": 42,
    "attributionId": 42,
    "attributionNet": 42.0,
    "bankCharges": 42.0,
    "chartOfAccountsId": 42,
    "comment": "string",
    "creatorContactId": 42,
    "currency": "string",
    "date": "2025-05-04T09:42:00Z",
    "dateFrom": "2025-05-04T09:42:00Z",
    "dateTo": "2025-05-04T09:42:00Z",
    "departmentName": "string",
    "description": "string",
    "documentsExist": true,
    "fileExtension": "string",
    "fileId": 42,
    "flagsAmount": 42,
    "hasComments": true,
    "hasWarnings": true,
    "id": 42,
    "invoiceLineDepartmentId": 42,
    "invoiceLineOfficeId": 42,
    "invoiceLineOfficeName": "string",
    "isInWorkflow": true,
    "journalEntryId": 42,
    "netAmount": 42.0,
    "orderId": 42,
    "orderIdToDisplay": "string",
    "organizationId": 42,
    "paidAmount": 42.0,
    "paidCurrency": "string",
    "payable": 42.0,
    "payableByAccount": 42,
    "payableByAccountNumber": 42,
    "paymentAccountId": 42,
    "paymentId": 42,
    "paymentType": "BANK_TRANSFER",
    "percent": 42.0,
    "plannedDate": "2025-05-04T09:42:00Z",
    "quantity": 42.0,
    "reBill": true,
    "reBilled": true,
    "reBilledDate": "2025-05-04T09:42:00Z",
    "reference": "string",
    "requestedAmount": 42.0,
    "requestedCurrency": "string",
    "requestedDate": "2025-05-04T09:42:00Z",
    "ruleName": "string",
    "sentDate": "2025-05-04T09:42:00Z",
    "shipmentsCount": 42,
    "status": "UNPAID",
    "supplier": "string",
    "supplierId": 42,
    "systemValidated": true,
    "totalAmount": 42.0,
    "validated": true,
    "valueDate": "2025-05-04T09:42:00Z",
    "vatAmount": 42.0,
    "vatType": "NO_VAT",
    "warnings": "string",
    "workflowPermissions": "string"
  }
]