Multilingual document processing with AI works when the model is left with only what scripts cannot do: read free text, shorten it and translate it. Everything else (dates, values, codes, checks, scheduling) is done by scripts, and we always check the model’s output against the original. We learned this while building our own platform, EuroTenders, which turns official EU public procurement notices into cards in 6 languages. Below are the lessons you can apply to your own documents. What exactly was built, and the numbers, are described in a separate case study.
What to give the model and what to scripts
The first decision shapes everything else: where a document has a structured field, we do not use the model. Our notices arrive from TED with structured fields, so scripts take dates, deadlines, values, the buyer, the country and CPV codes (the procurement classification) straight from those fields. The model does not retype them, so it cannot “improve” or spoil them. The page shows exactly what was taken from the field.
| Task | Who does it | Why |
|---|---|---|
| Dates, values, buyer, codes | scripts, from structured fields | exact and free; the model is only a risk here |
| Summary, what the tender covers | the model | free text has to be understood |
| Supplier requirements | the model, with a code and a verbatim quote | free text has to become structure |
| Translation into other languages | the model, from an already checked card | checking is easier than translating a complex original |
| All checks, storage, scheduling | scripts | the outcome must be predictable |
If your documents have no structured fields (PDF invoices, for example), the fields are first extracted by recognition, as we describe in Invoice recognition with AI. The principle is the same: whatever a script can verify is not left to the model’s discretion.
Why we demand a verbatim quote
It is not enough to tell the model to “pick out the supplier requirements”. We require every requirement (turnover, similar contracts, certificates, insurance) to be recorded under a fixed code from a closed reference list, with a verbatim quote from the notice and a confidence rating. This brings three benefits:
- A script can check the quote. The program looks for that text in the original. If the model invented a requirement, there will be no quote.
- The code is limited. The model chooses from a list instead of writing a free-form category, so results can be grouped and compared.
- A person can see the source. A reader or reviewer can go to that place in the original.
A requirement whose quote is not found in the original is stored with zero confidence and not shown.
Checks that stop invention
We write the checks first, before running the model on a large volume. Our set is small, but it decides what may be published:
- Every number on the card must exist in the original.
- Every quote must be verbatim from the original.
- A requirement code must exist in the reference list.
- A translation must contain the same points and numbers as the English card, and its length must be 0.7 to 1.5 times the English text.
- Length limits: the title at most 90 characters, the summary 350 and the search description 155.
The same rules apply whether an agent batch writes the texts or data is loaded into the system. A card that fails gets the status “review” and is not published; on the server one retry is made with the list of errors. On 27 November 2026, 630 of 212,070 texts were waiting for review.
A trial before scaling
Before processing the full volume, we first test any model output on 20–50 documents from different countries, types and languages. That is still few enough for a person to read. On 21 November 2026 we ran the trial in two rounds (30 tenders from 16 countries and 20 tenders from 14 countries), compared two models and produced 500 texts.
The main lesson: the automatic checks passed 100%, but reading the texts we found an error of meaning that they cannot see: a foreign country’s law had been replaced with a Lithuanian one. A check that “the number exists in the original” does not catch this; it takes human eyes. We fixed the rule, and we chose the model for cards and translations by how natural its Lithuanian sounds, not by price alone.
One more habit paid off: every text stores the rule version (prompt_version), the model and the date. When the rules change, only the texts of the old version are rewritten, not the whole database.
Cost and how to control it
Cost matters once the documents are many. Three things helped us:
- A batch interface. Since 26 November 2026 the server sends jobs daily through the Message Batches API, which costs half as much, and a cheaper model (Claude Haiku) writes the texts. The cost is about 0.0012 USD per card in 6 languages; in the trial it was 0.0016 USD.
- Hard limits. No more than 150 USD a month and 20 USD a day. When money runs short, the priority is titles first, then cards, then extra review.
- A cheap first step. For tenders that do not yet have a card, only the title is translated, separately and cheaply.
This is our cost for one type of document, not a price list: for your documents the figure will be different.
What we do not trust AI with
Some errors slip past automatic checks because the checks do not understand meaning. Our list for a human to review:
- a guess about the currency when the notice does not state one;
- “at most N contracts” recorded as a requirement;
- an employee’s experience recorded as the company’s;
- a lot chosen by guesswork;
- the declension of Lithuanian names.
And, honestly, about translations: a person reads the Lithuanian texts on a sample basis, while Latvian, Estonian, Polish and Finnish rely on automatic checks only. We built proofreading by a model but switched it off: in the trial it fixed 1 of 4 known errors and broke one word. That is why translations are labelled as machine translations and the original remains binding.
How to start with your own documents
- Define what a “correct” result is: a few dozen documents you have already processed by hand.
- Separate structured fields (a script) from free text (the model).
- Require the model to give a code from a closed list and a verbatim quote.
- Write the checks first and decide what happens when they fail.
- Try it on 20–50 documents and read the results yourself.
- Only then work out the cost and run a larger volume, with a spending cap.
If the processing does not run on your own server, find out in advance where the documents are sent and how long they are stored: see Local AI or the cloud.
How we can help
We went down this path ourselves while building EuroTenders: from a trial to a daily batch with checks and a spending cap. We can do the same with your documents (contracts, invoices, applications, technical specifications): we start with a trial on your real documents and show which fields the model recognises reliably and which a person will need to check. The full description of the system is on the case study page.
- AI document recognition – a pilot from €690, typically 1–2 weeks; we quote the price of the full solution after the pilot.
- AI integration into business processes – from €990, when the result has to be connected to your systems.
Send a few sample documents and we will tell you whether such processing would pay off. Mask personal data before sending, if there is any.
Written by Saitai.lt team. Published .