cash-book

Create Cash Entry

Record + immediately post one cash movement (accountant).

OUT books Dr counter (+ VAT split) / Cr cash; IN books Dr cash / Cr counter (− VAT). 422 on a missing period or an account code absent from that fiscal year's chart; 409 when the attached receipt's same-File sibling was already AP-posted (override_duplicate attaches anyway).

post/companies/{company_id}/cash/registers/{register_id}/entries

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}/cash/registers/{register_id}/entries
  • Auth: none declared

Path parameters

company_idstring required
register_idstring required

Headers

authorizationstring nullable

Cookies

access_tokenstring nullable

Request body

entry_datestring date required
direction'in' | 'out' required

Cash-book entry direction (money into / out of the register).

NOTE: in is a Python keyword, so the member NAMES differ from the values — the only enum in this module where they do. _pg_enum emits the values (values_callable), so the pg labels and API wire values stay in/out.

counter_account_codestring required
vat_code_idstring nullable
descriptionstring nullable
receipt_item_idstring nullable
override_duplicateboolean

Response

Successful Response

idstring required
register_idstring required
entry_nointeger required
entry_datestring date required
direction'in' | 'out' required

Cash-book entry direction (money into / out of the register).

NOTE: in is a Python keyword, so the member NAMES differ from the values — the only enum in this module where they do. _pg_enum emits the values (values_callable), so the pg labels and API wire values stay in/out.

amountstring required
currencystring required
descriptionstring nullable
counter_account_codestring required
vat_code_idstring nullable
receipt_item_idstring nullable
status'posted' | 'reversed' required

Cash-book entry lifecycle: entries post immediately (no draft state); corrections are reverse + a new entry (§5.5 idiom — never edit in place).

journal_entry_idstring nullable
created_bystring nullable
reversed_bystring nullable
reversed_atstring date-time nullable
created_atstring date-time required
running_balancestring required

Changes

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