Registration number validation
Sliptree validates company registration numbers against the official format of the country they belong to. The check applies to the Registration number field on the business profile and on customers — whether the customer is edited on its own page, inline in the document editor, or through a customer import.
When the check runs
- A number is validated when it is entered or changed. Numbers that are already saved are not re-checked, so editing other fields of a business or customer always saves, and re-importing unchanged customers always succeeds.
- Changing the country re-validates the number against the new country's format.
- Countries not listed below have no defined format in Sliptree, and any value is accepted.
Formatting
Numbers can be typed the way they are usually written. Spaces, dots, hyphens and similar separators do not affect validation, and the number is stored exactly as typed. CHE-109.322.551 and CHE109322551 are the same number.
Rejected numbers
A number that does not match its country's format shows a message under the field describing the expected format — for example, Estonian company registration numbers are 8 digits. The form does not save until the number is corrected. There is no manual override. A genuinely valid number that is rejected should be reported to support.
Validated formats
Where a country builds a check digit into its numbers, the check digit is verified as well, so a number of the right length with two digits swapped is still rejected.
| Country | Expected format |
|---|---|
| Belgium | Enterprise number, 10 digits |
| Croatia | OIB, 11 digits |
| Czechia | Company registration number, 8 digits |
| Denmark | CVR number, 8 digits |
| Estonia | Registry code, 8 digits |
| Finland | Business ID, like 1234567-8 |
| France | SIREN, 9 digits |
| Greece | AFM, 9 digits |
| Iceland | Kennitala, 10 digits |
| Italy | Partita IVA, 11 digits |
| Latvia | Registration number, 11 digits |
| Lithuania | Registration number, 9 digits |
| Netherlands | KVK number, 8 digits |
| Norway | Organisation number, 9 digits |
| Portugal | NIPC, 9 digits |
| Romania | CUI, 2 to 10 digits |
| Russia | OGRN, 13 digits (15 for sole proprietors) |
| Serbia | PIB, 9 digits |
| Slovakia | Company registration number, 8 digits |
| Spain | Tax ID, like B64717838, 12345678Z or X1234567L |
| Sweden | Organisation number, like 556677-8899 |
| Switzerland | UID, like CHE-109.322.551 |
| United Kingdom | Company number, like 12345678 or SC123456 |
Registration numbers and e-invoicing
Once e-invoicing is enabled for a business, its registration number and country can no longer be changed. See Setting up e-invoicing.