Get list of purchase invoices

GET /api-v1/purchase-invoice

Headers

Responses

GET /api-v1/purchase-invoice
curl \
 -X GET http://10.10.10.132/api-v1/purchase-invoice \
 -H "TARGET-ORGANIZATION-ID: 42" \
 -H "WEAL-TOKEN: string"
Response examples (200)
[
  {
    "comment": "string",
    "creatorContactId": 42,
    "currency": "string",
    "date": "2024-05-04T09:42:00+00:00",
    "fileExtension": "string",
    "fileId": 42,
    "flagsAmount": 42,
    "hasComments": true,
    "hasWarnings": true,
    "id": 42,
    "isInWorkflow": true,
    "journalEntryId": 42,
    "netAmount": 42.0,
    "organizationId": 42,
    "payable": 42.0,
    "reference": "string",
    "shipmentsCount": 42,
    "status": "UNPAID",
    "supplier": "string",
    "supplierId": 42,
    "systemValidated": true,
    "totalAmount": 42.0,
    "validated": true,
    "warnings": "string",
    "workflowPermissions": "string"
  }
]