Get the accounting configuration of the authenticated company.
Returns the dunning waiting periods configured for the authenticated caller's company together with the canonical compensation-side company URI. Tenant and company are derived from the bearer token — there are no path or query parameters to override them. When the company has no accounting configuration row persisted yet, the downstream service synthesises a default record (<code>id</code> = <code>null</code>, <code>waitingDunningTime</code> = <code>5</code>, <code>dunningWaitingTimeLevelOne</code> / <code>Two</code> / <code>Three</code> = <code>10</code>) so the response shape stays the same. The endpoint is a pure read — idempotent, no side effects. The caller must hold the <code>ACCOUNTING</code> permission on the company in scope.
Request
- Base URL: https://api.klara.ch
- URL: https://api.klara.ch/core/v1/accounting/companies/current
- Auth: one of:
- API key in header X-API-KEY
- HTTP bearer
Response
Accounting configuration of the caller's company.
Example response
{
"id": 17,
"companyUri": "/luz_compensation/api/c60d31fa-f335-4957-872a-90b035632081/companies/1",
"waitingDunningTime": 5,
"dunningWaitingTimeLevelOne": 10,
"dunningWaitingTimeLevelTwo": 10,
"dunningWaitingTimeLevelThree": 10
}Changes
No recorded changes to this operation across all 1 revision of this API.