Get list of payables
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
Query parameters
-
direction string
Sorting direction
Values are
ASC
orDESC
. Default value isASC
. -
pageNumber integer(int32)
Page Number
Default value is
1
. -
sizePerPage integer(int32)
Size per page
Default value is
60
. -
sortingField string
Field to sort by
GET /api-v1/payable
curl \
-X GET http://10.10.10.132/api-v1/payable \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
[
{
"accountId": 42,
"comment": "string",
"contact": "string",
"contactId": 42,
"currency": "string",
"currencyId": 42,
"documentFileId": 42,
"entityCreatorContactId": 42,
"fileExtension": "string",
"hasWarnings": true,
"invoiceDate": "2024-05-04T09:42:00+00:00",
"invoiceId": 42,
"invoiceReference": "string",
"minOfRequestedAndPlannedDate": "2024-05-04T09:42:00+00:00",
"module": "ALL",
"organizationId": 42,
"payableAmount": 42.0,
"paymentFileReference": "string",
"paymentId": 42,
"plannedDate": "2024-05-04T09:42:00+00:00",
"requestedDate": "2024-05-04T09:42:00+00:00",
"sentDate": "2024-05-04T09:42:00+00:00",
"tenantId": 42,
"warnings": "string",
"workflowPermissions": "string"
}
]