Blog · Published · Updated
Small Local Models for Accounting Document Classification
Short answer
A small local model recognises the type of a document, for example an invoice or a delivery confirmation, splits a mixed PDF into parts and routes each to the right queue. It stops before posting and tax assessment. Uncertain pages go to a person. With 3,000 documents a month at a minute and a half each, a €3,000 app with a GPU server pays back in 1.4 months.
How we workDetails ↓
- 01Call30 minutes with an engineer, free
- 02PrototypeA working system on your process and data, free
- 03ImplementationTarget and fixed price in the contract; 50% at signing
- 04Acceptance50% once the agreed target is met
- model on your server or in the cloud in the EU
- quoted after the review
- same work in application with EU cloud model
- from €3,000
- task, data and equipment analysis
- €0
We belong to the OpenAI and Anthropic partner programmes and learn through their official courses. What this means ↓
Author: Syntalith · 3 min read
Statistics
Accounting documents and AI: statistics 2026
1.4 mo.
payback of a €3,000 app at 3,000 documents a month: €2,618 of manual routing today, €476 with checking and a GPU server. Scenario.
1 July 2030
According to the European Commission (2025), from 1 July 2030 cross-border B2B sales in the EU are reported digitally on the basis of e-invoices under VAT in the Digital Age.
Source: European Commission, VAT in the Digital Age (2025) ↗
−87%
According to Anthropic (2025), AI cuts the time of tasks on invoices, memos and other documents by an estimated 87%.
Source: Anthropic, Estimating AI productivity gains (2025) ↗
14–56%
According to Anthropic (2025), controlled studies found smaller time savings, from 14% to 56%.
Source: Anthropic, Estimating AI productivity gains (2025) ↗
30.7%
According to Eurostat (2025), 30.7% of EU companies with at least 10 employees paid for cloud software for finance and accounting.
Source: Eurostat, Digital economy and society statistics, enterprises (2025) ↗
Figures checked: 22 October 2026
One file, two kinds of document
A supplier sends a four-page PDF. Pages 1 and 2 carry the heading „Invoice”, and pages 3 and 4 are a „Delivery confirmation” signed by the recipient. Invoices go to accounting review, and confirmations to the purchasing queue. If the system labels the whole file „invoice”, the delivery confirmation lands in accounting and the person who checks deliveries never sees it.
A useful result sets the boundary between pages 2 and 3, labels both parts and routes each to its queue. When the heading on page 3 is blurred, the system reports the uncertainty and passes those pages to manual review, noting which pages the problem concerns.
- 01ReadingOCR turns the page image into text
- 02Splittingthe system sets the boundaries of documents in the file
- 03Typethe model chooses a label from the approved list
- 04Queuea rule routes the part to a team or to manual review
Where accounting document classification ends
The model recognises the type, and the workflow routes the document to the agreed queue. The scope ends before tax assessment, posting and the accounting entry. The company approves the list of types, the routing rules and the person for uncertain cases, and the model does not add categories by guesswork. In Poland, invoices have arrived through KSeF as structured data since 1 February 2026, and across the EU, cross-border B2B sales move to digital reporting based on e-invoices from 1 July 2030. Classification therefore makes most sense for the rest of the correspondence: confirmations, reports, contracts and attachments.
- Documents from every agreed category
- Mixed files and unknown attachments
- Pages with an illegible passage
- Results kept apart: wrong label, wrong boundary, wrong queue, handed to a person
An average accuracy over the whole set hides a frequent error on one type of document. Until the test is passed, do not extend the workflow to further types.
What classification costs locally and through an API
- Today: 3,000 × 1.5 min
- 75 h × €34.90 = €2,618
- Checking uncertain cases, 10% of today's time
- €262
- Locally: Hetzner GEX45 server
- €214
- Through the API: Claude Sonnet 5.5
- €19
- Saving locally
- €2,142 a month
Payback of €3,000
1.4 months
The volume, the time and the checking share are the scenario's assumptions. €34.90 an hour is the EU average hourly labour cost for 2025 according to Eurostat. Price of the GEX45 with 24 GB of GPU memory from Hetzner's website on 22 October 2026, without the one-off setup fee of €209. API model: 3,000 input tokens and 100 output tokens per document at Anthropic's rates, converted at the ECB rate of 1.1205 USD per euro on 22 October 2026.
A local model does not mean the whole flow stays on site. Microsoft describes Foundry Local as processing prompts and answers on the device, and the model files are downloaded on first use. Check the whole flow: where OCR runs, where temporary files go, what the logs record and which systems receive the document. Run the trial on the hardware that will later do the work, with a batch from the end of the month.
When a simpler solution is enough
If each PDF contains one document with a fixed layout, rules or a ready module in the document workflow system are enough. First check whether your current system already recognises types and routes them to the right people. A local model is worth comparing when varied layouts and content keep rules from recognising documents reliably. When the company allows a hosted service, compare it with the local option on the same documents and under the same access rules, then choose the cheaper option that passes the test.
We build classification as part of private LLMs, and the invoice workflow is described in cost invoice automation. For the free process review, bring a mixed PDF you are allowed to show, the list of types and queues, and the number of documents in a normal and a peak month.
Worked example · Scenario
How we count the payback: cost invoices
We run the same count for your documents in the free process review.
€1,745
a month for coding 1,000 cost invoices by hand
Payback: 2 mo.
3 minutes per invoice and checking in 15% of the old time are our assumptions. €34.90 an hour is the EU average hourly labour cost for 2025 according to Eurostat, for companies with 10 or more employees. We measured the model cost of €0.004 per invoice in our invoice coding system, converted at the ECB rate of 1.1205 USD per euro on 22 October 2026.
See the full calculation →