Skip to Content
Ledger opening balances

Preview Ledger Opening Balance Import

Accesso

Membro dell’organizzazione con questo permesso:

  • invoicing:manage-opening-balances

Una chiave API con scope deve avere il permesso anche tra i suoi scope.

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