AIK PlatformНа български

Invoice pipeline — presentation

How AIK reads, checks and delivers every invoice — step by step, half business, half tech.

AIK · Main pillars

Invoice pipeline

From an incoming invoice to a checked row in your books — read by AI, checked by code, decided by a person when something looks wrong.

The whole path, on one page

Invoice

AI reads it

Code checks it

Excel / database

You decide

arrives
e-mail, folder, phone

fills the boxes

all 8 checks OK
→ written by itself

something looks wrong
→ held, with the reason

you press Approve

or Refuse → Failed folder

Why it exists

Typing invoices by hand is slow — and the costly mistakes are the quiet ones

01

Retyping

Supplier, company ID (EIK), number, date, amounts and VAT — copied field by field from every PDF, scan and phone photo.

02

Wrong sums

A net + VAT that does not add up, or a VAT rate that does not exist, slips through when nobody recalculates.

03

Changed bank account

A supplier’s IBAN that suddenly differs is the classic invoice fraud — easy to miss in a pile.

04

Paid twice

The same invoice sent again, under another file name, gets booked a second time.

AIK’s invoice pipeline does the reading, does every one of these checks on every invoice, and asks a person only when something is wrong.

The whole path

Five steps, every invoice, the same way

1 · In

Arrives

A folder, an e-mail, your PC, Telegram or a phone photo.

2 · Read

AI reads it once

Fills fixed boxes: supplier, EIK, number, date, amounts, VAT, IBAN.

3 · Check

Code checks it

Sums, VAT rate, EIK, IBAN, duplicates — rules, not guesses.

4 · Decide

Clean or held

Clean: written. Doubtful: held with its reason for your OK.

5 · Out

Delivered

Excel or CSV, a database, another program, an e-mail — and a report.

The split that matters: the AI only reads. Every decision about money is made by code you can check — or by you.

Ways in, ways out

It fits where invoices already arrive — and where the data must go

Ways in

A folder in My Files
The watched “incoming” folder
A mailbox (IMAP or Microsoft 365), read-only
Folders on your PC, through the AIK Worker
Telegram, or Share from your phone
A chat request: “process the invoices in…”
On a schedule

Invoice pipeline

PDF, scan, photo, Word — and e-invoices (EN 16931 XML), which are read by code with no AI at all.

Ways out

Excel sheet, or CSV for accounting programs (“;” and decimal comma)
Rows in a database
A call to another program’s API
An e-mail
Files moved to Processed or Failed
A run report: written, held, failed — and why

E-invoices are becoming the rule: required for public tenders in Bulgaria since 2019; required by the EU between member countries from 1 July 2030; and a Bulgarian draft law would require them for all business invoices from 1 January 2028 (not adopted yet).

Step 2 · Reading

Three ways to read — the cheapest one that works

Digital PDF

Text taken directly

The PDF’s own text goes to the model, which fills the boxes. No OCR needed.

Scan or photo

The picture itself

Sent as an image to a model that can see — far better than OCR on a crooked phone photo.

Backup

OCR (Tesseract)

Only when the model cannot see pictures or returns an empty form: the OCR text goes to the model instead.

Known supplier, zero AI: after an approved invoice, AIK remembers the words just before each value (“Сума за плащане:”, Bulgarian for “amount due”). The next PDF with the same company ID (EIK) is read by code from those places. A new design is learned beside the old ones. Every 10th invoice is also read by the AI: if the two disagree, AIK drops only the layout that read it wrong.

Step 3 · Checking

Checks are rules in code — the same answer every time

Sums add up

net + VAT = total

VAT rate

only 20 %, 9 % or 0 %

Company ID (EIK) is valid

its check digit is right

IBAN changed

differs from this supplier’s last accepted invoice

IBAN is real

its check digits are right

Already processed

same invoice number seen before

Credit notes

kept negative, must name the original invoice

AI was unsure

a field the model marked uncertain

Switch on more when needed: unusual amount, new supplier, signature, company register lookup, and a check against your own SAP. Each check reads only your own earlier invoices, never another account’s.

Step 3 · Extra checks

Five more checks — off until you tick them

Unusual amount

Holds an invoice much bigger than this supplier usually sends.

New supplier

Holds the first invoice from a company you have never had before.

Signature

Checks that the document carries a signature.

Company register

Asks the Commercial Register whether the company exists.

Check in SAP

Asks your own SAP: is the supplier known, is the IBAN one SAP pays, is the invoice already booked?

Why off by default: not every company needs them — “New supplier”, for example, would hold every invoice in the first month. Ticked per document type, on the Document Types page.

Step 4 · Deciding

Clean invoices go through. Doubtful ones wait for you.

Checked invoice

every rule has run

All checks pass → written

A row in Excel, CSV or your database, at once. The file moves to Processed.

Something is wrong → held, with the reason

For example, the VAT does not match the amounts. You press Approve (it is written) or Refuse (it moves to Failed) — in the chat, on the Dashboard, or in Telegram.

Tested every night on six demo invoices: the clean ones become rows; the one with a wrong VAT and the one with an invalid EIK are held, each with its reason.

When something fails

Nothing is lost, nothing is guessed — every failure is named

Cloud AI says “too many requests(calls)”

AIK waits a little and asks again, up to about 3 minutes.

AI does not answer

After a set time AIK stops waiting; the backup model or the report takes over.

Form refused

A model that refuses the fixed form is asked again without it.

Picture not seen

The model cannot see the scan or photo: OCR reads it instead.

Layout does not fit

A known supplier’s layout misses a field: the AI reads that invoice.

Main AI fails

The backup model you chose reads the invoice; its record says so.

Unreadable document

Moved to Failed and named with its reason; the other invoices go on.

SAP not reachable

Said as “NOT checked in SAP” — never counted as passed.

The rule: a failure is always written in the run report, with the file and the reason — never turned into a quiet guess.

Limits · cloud or local

Which limits apply — and who sets them

Cloud AI (Claude, GPT, Gemini…)AI on this computer
“Too many requests per minute”
set by the AI company
Can happen. AIK waits a little and asks again, up to about 3 minutes.Never — there is no one to say it.
Daily limit
set by the AI company, free plans
Can happen. AIK says it at once — waiting would not help until tomorrow.Never.
No answer at all
set by AIK
After 7 minutes on one invoice AIK stops waiting: the backup model tries, or the report names the file.The same 7 minutes — for example when the computer is overloaded.
Monthly budget
set by you, per document type
When this month’s AI cost reaches it, runs stop and say why.Not needed — reading costs nothing but electricity.

Privacy · where it runs

Your choice: a cloud model, or one that never leaves your computer

Cloud model

Claude, GPT, Gemini…

Best reading of hard photos. Optional masking: ЕГН, IBAN, e-mails and phone numbers leave as placeholders and come back in the answer; on scans they are covered with a grey box. A picture that cannot be masked is not sent.

On this computer

AIK’s own model, Ollama, LM Studio

Nothing leaves the office, so nothing needs masking. Installed with AIK — no account, no fee per invoice.

Either way the checks are identical — they are code on your own AIK, not part of the model.

Download PDF Download PowerPoint

Arrow keys or a click on the slide move it on.