Get list of purchase invoices using advanced filters
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/purchase-invoice/advanced
curl \
-X GET http://wyzio.app/api-v1/purchase-invoice/advanced \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "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": "2024-05-04T09:42:00+00:00",
"dateFrom": "2024-05-04T09:42:00+00:00",
"dateTo": "2024-05-04T09:42:00+00:00",
"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": "2024-05-04T09:42:00+00:00",
"quantity": 42.0,
"reBill": true,
"reBilled": true,
"reBilledDate": "2024-05-04T09:42:00+00:00",
"reference": "string",
"requestedAmount": 42.0,
"requestedCurrency": "string",
"requestedDate": "2024-05-04T09:42:00+00:00",
"ruleName": "string",
"sentDate": "2024-05-04T09:42:00+00:00",
"shipmentsCount": 42,
"status": "UNPAID",
"supplier": "string",
"supplierId": 42,
"systemValidated": true,
"totalAmount": 42.0,
"validated": true,
"valueDate": "2024-05-04T09:42:00+00:00",
"vatAmount": 42.0,
"vatType": "NO_VAT",
"warnings": "string",
"workflowPermissions": "string"
}
]