accounting-settings

Lookup Company Uid

Ask the Swiss commercial register who uid belongs to (accountant).

Advisory, read-only and stateless — it writes nothing, and its answer never gates the PUT above. The UID column is free text on purpose (it also holds foreign VAT numbers, ZET-364), so the register's job here is to let the person typing it compare a name, not to rule on the value.

Every register outcome is a 200 carrying status — including "unreachable". A federal endpoint being down is not the caller's error, and mapping it to a 5xx would put an English sentence in a four-language dialog for a condition the user can neither cause nor fix. See :mod:invoiage_core.zefix.

Behind CompanyAccountant, the same guard as the PUT that writes the field: only an accountant can edit the UID, so only an accountant can drive traffic at the register from our address.

get/companies/{company_id}/accounting-settings/uid-lookup

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}/accounting-settings/uid-lookup
  • Auth: none declared

Path parameters

company_idstring required

Query parameters

uidstring required

Headers

authorizationstring nullable

Cookies

access_tokenstring nullable

Response

Successful Response

status'found' | 'not_found' | 'invalid' | 'unavailable' required
namestring nullable
streetstring nullable
postal_codestring nullable
citystring nullable

Changes

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