Skip to Content
Ledger opening balances

Preview Ledger Opening Balance Import

Dostęp

Członek organizacji z tym uprawnieniem:

  • invoicing:manage-opening-balances

Klucz API z zakresami potrzebuje też tego uprawnienia w swoich zakresach.

POST
/orgs/{organizationId}/ledger-opening-balances/import/preview

Matches each row to a customer (Tillor customer number or id) and an existing opening balance (same ledger and reference), without writing anything. Returns the status per row and the total per ledger.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

Request Body

application/json
  1. body
rows*array<>
Items1 <= items <= 2000
ledgerBalanceOverride?

Response Body

OK

application/json
  1. response
Example Request
curl -X POST 'https://api.tillor.eu/orgs//ledger-opening-balances/import/preview' \  -H 'Content-Type: application/json' \  -d '{  "rows": [    {      "ledger": -9007199254740991,      "amount": 0,      "asOfDate": "2019-08-24",      "reference": "string",      "customer": "string"    }  ]}'
Example Response
null