Get general ledger
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/ledger/advanced
curl \
-X GET http://wyzio.app/api-v1/ledger/advanced \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
[
{
"account": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"accountId": 42,
"articleName": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"companyCredit": 42.0,
"companyDebit": 42.0,
"companyTotal": 42.0,
"contactName": "string",
"departmentName": "string",
"description": "string",
"entryDate": "2024-05-04T09:42:00+00:00",
"entryId": 42,
"entryType": "OPENING",
"foreignCredit": 42.0,
"foreignCurrencyCode": "string",
"foreignDebit": 42.0,
"foreignTotal": 42.0,
"hasWarnings": true,
"id": 42,
"orderName": "string",
"organizationId": 42,
"tenantId": 42,
"vatCodeNames": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"warnings": "string"
}
]