Get general ledger

GET /api-v1/ledger

Headers

Responses

GET /api-v1/ledger
curl \
 -X GET http://10.10.10.132/api-v1/ledger \
 -H "TARGET-ORGANIZATION-ID: 42" \
 -H "WEAL-TOKEN: string"
Response examples (200)
[
  {
    "account": {
      "de": "string",
      "en": "string",
      "fr": "string",
      "it": "string"
    },
    "accountId": 42,
    "companyCredit": 42.0,
    "companyDebit": 42.0,
    "companyTotal": 42.0,
    "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,
    "organizationId": 42,
    "tenantId": 42,
    "warnings": "string"
  }
]