gl-modules

Create Recognition Schedule

Register a straight-line recognition schedule by hand — accountant.

Name the record it covers (source_document_id, or source_item_id) when there is one (ZCT-524). The period-end accrual sweep reads that link to know the invoice is already handled; a schedule created without it leaves the same invoice being surfaced as a deferral_missing candidate on every close check, with a held decision offering to defer it a second time. 404 if the id is not this company's.

post/companies/{company_id}/gl/recognition-schedules

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/recognition-schedules
  • Auth: none declared

Path parameters

company_idstring required

Headers

authorizationstring nullable

Cookies

access_tokenstring nullable

Request body

schedule_type'accrual' | 'deferral' | 'recognition' required
direction'expense' | 'revenue' required
currencystring
balance_account_codestring required
pnl_account_codestring required
service_period_startstring date required
service_period_endstring date required
num_periodsinteger required
recognition_method'straight_line' | 'manual' | 'milestone'
source_document_idstring nullable
source_item_idstring nullable
descriptionstring nullable
document_nostring nullable

Response

Successful Response

idstring required
company_idstring required
schedule_typestring required
directionstring required
total_amount_basestring required
currencystring required
statusstring required
service_period_startstring date required
service_period_endstring date required
originstring
confidencestring nullable
source_ref_typestring nullable
source_ref_idstring nullable
source_document_idstring nullable
descriptionstring nullable
document_nostring nullable

Changes

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