gl-modules

Defer Bill

Defer (part of) a booked supplier bill — accountant (ZCT-876).

One transaction: a recognition schedule (type deferral, direction expense, balance account = the configured active accrual account, linked to the bill's document and item) and the reclass entry Dr that account / Cr pnl_account_code for exactly total_amount, dated on the bill's posting date — so the installments release what the reclass loaded and the expense is counted once. Installments already due post at once and are counted in posted; months with no period yet are reported in blocked_periods. total_amount may be less than the line (defer only the next year's share) but never more. Reversing the reclass entry later undoes the deferral and its schedule together; cancelling the schedule on its own is refused.

post/companies/{company_id}/gl/items/{item_id}/deferral

Request

  • Base URL: https://app.zeno-works.ch (the document declares no server; this is the origin it was published from)
  • URL: https://app.zeno-works.ch/companies/{company_id}/gl/items/{item_id}/deferral
  • Auth: none declared

Path parameters

company_idstring required
item_idstring required

Headers

authorizationstring nullable

Cookies

access_tokenstring nullable

Request body

pnl_account_codestring required
service_period_startstring date required
service_period_endstring date required
num_periodsinteger required
descriptionstring nullable

Response

Successful Response

reclass_journal_entry_idstring required
postedinteger required
blockedinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.