gl-actions

List Gl Coding Siblings

This counterparty's other held documents that take the same coding (ZET-116).

Read-only plan, no booking. Coding is forward-only, so coding one supplier invoice by hand leaves every other already-analysed invoice from that supplier held for ever. This answers "which of them can I book the same way, and for how much?": same counterparty, same direction, still held with an AI coding proposal, and their own figures agreeing with the (account_code, vat_code) pair you send. Everything it refuses comes back in skipped with a reason. The caller books each candidate through POST …/gl/items/{item_id}/coding one at a time, so each row commits on its own and the run can be stopped.

Errors: 404 missing/cross-tenant item; 422 anchor without a counterparty or a direction, unknown VAT code, or an account that may not be applied to a batch (a control, contra or wrong-category account).

get/companies/{company_id}/gl/items/{item_id}/coding-siblings

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}/coding-siblings
  • Auth: none declared

Path parameters

company_idstring required
item_idstring required

Query parameters

account_codestring required
vat_codestring nullable

Headers

authorizationstring nullable

Cookies

access_tokenstring nullable

Response

Successful Response

counterparty_idstring required
counterparty_namestring nullable
directionstring required
account_codestring required
vat_codestring nullable
countinteger required

Changes

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