Companies

Auto-complete Swiss companies (Zefix)

Type-ahead search over the Swiss commercial register (Zefix). Matching is accent-insensitive and token-prefix based, so bellev rest matches Restaurant Bellevue. Returns up to limit companies with their registered address (street = street name only, buildingNumber, zip, city). The street/number split is best-effort: when the registered address has no recognizable trailing house number (e.g. PO boxes or c/o lines), the full line is returned in street and buildingNumber is empty. uid is the company's UID (enterprise identification number, CHE-XXX.XXX.XXX). Zefix also supplies legalForm (for example AG / SA or GmbH / Sàrl) and the stable eCH-0097 legalFormCode. It does not know whether the company is VAT-registered — to prefill a VAT number, pass the uid to GET /companies/vat-number after the user picks a company. Each name is pre-formatted to the invoice constraint (max 70 characters per line, at most 2 lines); name_lines gives the same value already split into those lines. Queries shorter than 2 characters return an empty list.

get/companies/autocomplete

Query parameters

qstring required

Search text (company or client name). Minimum 2 characters.

limitinteger

Maximum number of results (1-20, default 10).

Response

Matching companies

Changes

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