AI for invoices and documents. What still needs reading when invoices arrive through KSeF

An invoice from KSeF is a file a program reads without OCR. But receipts, foreign invoices, contracts and delivery notes still arrive as PDFs or photos. That is where AI makes sense.

In this article
  1. Does AI for invoices still make sense after KSeF
  2. Documents that still need reading
  3. What this looks like with one document
  4. What to watch with client data
  5. Where to connect KSeF and where to use AI

In short

An invoice in KSeF is a structured file that a program can read without OCR, so retyping invoices from Polish firms stops making sense. AI and OCR are still useful for receipts, invoices from foreign suppliers, contracts, delivery documents and orders sent by email. Before you send documents to an AI tool, check where the client data goes.

There is a pile of cost invoices in the office, and someone types tax numbers, amounts and dates from them into a program. For years this was the most common reason firms asked about AI for invoices. In Poland in 2026 the answer is changing, because invoices between Polish firms more and more often arrive through KSeF.

KSeF, the Polish national e-invoicing system, is a platform for issuing, sending, receiving and storing invoices (ksef.podatki.gov.pl). An invoice there is not a scan or a PDF. It is a file in a fixed format that a program reads without guessing. Every field is in its place.

Does AI for invoices still make sense after KSeF

For invoices from Polish firms, reading data from an image stops making sense. The data is already exact, so it is better to pull it from KSeF straight into your program than to print a visualisation and read it with OCR. A program connected to KSeF can receive purchase invoices on its own and pass them on. We explained what to check in it in KSeF integration.

AI has a different job with these invoices. It can suggest which project or cost category an invoice belongs to, or notice that the amount does not match the order. But it no longer has to read anything.

There is also a transition period. Until the end of 2026, firms that invoice up to 10,000 złoty a month may issue invoices outside KSeF (ksef.podatki.gov.pl). So until January some invoices will still arrive as PDFs or on paper.

Documents that still need reading

KSeF covers invoices. Many documents a small firm works with are not invoices, or do not go through KSeF.

  • till receipts, for example for fuel or materials
  • invoices from foreign suppliers
  • contracts, amendments and orders
  • delivery notes, acceptance reports and waybills
  • orders that customers send by email or as a photo

Invoices from foreign suppliers do not have to go through KSeF and can arrive as before, as a PDF or on paper (ifirma.pl). How to book them is something to agree with your accountant.

With these documents AI and OCR do what they used to do with invoices. They read the fields, compare them with the order or contract, and enter them into the system. A person only sees the documents where something does not match.

What this looks like with one document

A worker on a building site takes a phone photo of a delivery note and sends it to the office. The system reads the order number, the names of materials and the quantities. Then it compares them with the order already in the program. If 40 bags were ordered and 38 arrived, someone in the office gets a short message and the photo.

AI makes mistakes when reading, especially with crumpled paper and poor light. That is why simple checking rules stand next to the reading. The line items must add up to the total on the document, a Polish tax number must have 10 digits, the date cannot be in the future. A document that fails the rules does not enter the system on its own. It goes to a person together with a note on what does not match.

What to watch with client data

Contracts, orders and delivery notes contain names, addresses, phone numbers and amounts. Before you put them into an AI chat, check whether the conversations are used to train models and who can see them. We described one setting in ChatGPT worth checking in Client data in ChatGPT.

For regular document processing it is better to use automation where the data does not leave your firm. That is how we build document automation, with OCR, checking rules and a connection to the program you already use. Whether processing documents with personal data needs extra agreements in your case is worth checking with a lawyer.

Where to connect KSeF and where to use AI

One simple rule helps to split this. If a document comes through KSeF, connect your program to KSeF and read nothing from an image. If a document comes as a PDF, a photo or on paper, that is where AI and OCR belong.

First count how many documents from the second group reach you in a week and who retypes them. If it is a handful, a person is enough. If it is dozens, it is worth a closer look. In a free AI audit we go through your documents in a conversation of about 30 minutes, and then you get a written list of places where AI can save time, with notes on client data.

What would you like to change in your business?

Leave your number. We will talk about your process and see whether we can help. The first call is free.

When is the best time to call?
Controller: Oleksandr Bondarenko (BondSoft)Privacy PolicyTerms of Service
Legal details

The data controller is Oleksandr Bondarenko, trading as Oleksandr Bondarenko Software Solutions (BondSoft), ul. Jana Heweliusza 11, 80-890 Gdańsk, Poland, NIP 5833576264, e-mail: office@bondsoft.pl.

We process your data solely to contact you about your enquiry and to present an offer — on the basis of your consent (Art. 6(1)(a) GDPR and Art. 398 of the Polish Electronic Communications Law) and our legitimate interest in handling the enquiry (Art. 6(1)(f) GDPR).

Providing the data is voluntary but necessary for us to reply. You may withdraw your consent at any time by writing to office@bondsoft.pl — this does not affect the lawfulness of processing before the withdrawal.

You have the right to access your data, rectify it, erase it, restrict its processing, transfer it, and lodge a complaint with the President of the Polish Personal Data Protection Office.

Full information: Privacy Policy.

Send us an email

The service this text is about

Automation and AI / OCR

Automation of document re-typing, OCR and checking rules, and your data stays with you.