Skip to content
Pilot phase – not yet a commercial offer. The first 500 users join free of charge and share feedback to help us improve. The first pricing round starts in May 2027
Firmspace
Back to blog

The Client Card That Fills Itself From a Tax Number — and the Fields Left Empty

A new client arrives with a PDF of the registration extract, and the card wants a legal name, a registration code, an address, a registration date, an authorised person, a business type and an ownership form — plus the commercial terms the firm sets for itself. Retyping is where typos are born, and a wrong tax number surfaces weeks later, in an invoice that the customer's accountant sends back.

Two fields on the company card carry suggestions. The code field asks a company directory; the address field asks an address directory. Choosing a suggestion fills the card — the name and the address replace what was typed, and the status can be cleared, because a directory answer and the firm's own status are different things.

The browser asks carefully. After a pause of about 400 milliseconds, not on every keystroke, and only from the third character, the form sends the query to the server. The answer is either a short list or a note that explains why the list is empty. An empty answer is not an error: nothing blocks manual entry, and the fields behave like ordinary ones.

In the European market the company directory is VIES, the EU service for VAT numbers, and it knows exactly one thing: a VAT number. Not a name, not a commercial register number. The country comes from the firm's market settings, the number is normalised — upper case, spaces and dashes removed, country prefix stripped — and must be eight to twelve digits. The request gets twelve seconds; after that the field stays as it was typed.

What comes back is the registered name and the registered address, which the card stores as one line. If the number is not valid, the list stays empty and the note says so. If VIES itself does not answer, the note says that instead, and the honest result is manual entry — not an address assembled from a plausible guess.

In Ukraine the address field is served by Nova Poshta, with the firm's own key. Suggestions are settlements, and only settlements: a branch number is a delivery point, not a company address. Without the key the field has no suggestions at all, which is a normal state rather than a broken form.

Ukrainian companies are the honest exception. The paid registry provider is not connected, so the code field answers with demonstration data, labelled as such in the interface and carrying a placeholder registration code. It shows how the form behaves; it must never travel into a real invoice. Real lookups need access to a paid provider, and until then the interface says so rather than pretending.

A few numbers keep the system honest. Answers are cached for ten minutes, a list returns at most eight hits, and the cache is cleared once it grows past five hundred entries. Six notes cover every dead end: query too short, nothing found in the register, register unreachable, address service unreachable, demonstration data, manual entry. None of them is an error page.

The assistant touches the same card from the other side. It has a tool that fills company fields — name, e-mail, field of business, status, code, registration date, authorised person, business type, ownership form, address — and a written instruction that facts come only from tools: never invent customers, numbers, dates, e-mails or ids. There is no registry tool in its list. So the number reaches the card from the client's document, from the directory, or not at all.

Three fields no directory will ever fill are the commercial ones: price type, credit limit and payment days. They are the firm's decision about a customer, not a fact in a register, and the card keeps them beside verified data without mixing the two up.

The point of autofill is not to remove typing. It is to make the moment of entry the moment of verification: the tax number is checked against the register while the person is still on the page, the address comes from a directory instead of a signature line, and whatever could not be verified stays visibly empty. An empty field can be filled later; a plausible invention is found by an accountant, one quarter too late.

Let us automate your next process together.

Describe a recurring workflow to us. Together we will check whether and how it can be automated sensibly.