Skip to Content
Ledger opening balances

Delete Ledger Opening Balance

Acesso

Membro da organização com esta permissão:

  • invoicing:manage-opening-balances

Uma chave de API com scopes também precisa da permissão nos seus scopes.

DELETE
/orgs/{organizationId}/ledger-opening-balances/{id}

Removes an opening balance. Refused (409, INVOICE_LEDGER_BALANCE_EXCEEDED) when the customer's guarded ledger would go below zero, for example when the deposit was refunded since. With ledgerBalanceOverride, users with invoicing:override-ledger-balance may take a guarded ledger below zero; the motivation and the violations are recorded on the customer's timeline.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

id*string

Request Body

application/json
  1. body
ledgerBalanceOverride?

Response Body

OK

application/json
  1. response
Example Request
curl -X DELETE 'https://api.tillor.eu/orgs//ledger-opening-balances/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
null