Skip to content

KSeF purchase invoices: how to receive and book e-invoices in Poland

B2Bnetwork team · · 7 min

Regulations

In brief

Since February 1, 2026, purchase invoices reach Polish companies through KSeF, Poland's national e-invoicing system, and an invoice counts as received the moment KSeF assigns it a number, not when someone opens it. KSeF sends no notifications, so the company's software must fetch new invoices itself. Review, cost coding and approval happen in the ERP or a document workflow, because an XML file cannot be stamped or annotated. Some costs still arrive outside KSeF and need a second route.

When an invoice is received and what follows from it

In its published answers on KSeF, the Ministry of Finance says plainly that an invoice is deemed received when the system assigns it a number. No acceptance by the buyer is needed. The date the invoice entered the system appears in the official acknowledgment of receipt (UPO).

Three consequences follow for the finance team:

  1. VAT deduction. The right to deduct arises no earlier than in the period in which the taxpayer received the invoice (Article 86(10b) of the Polish VAT Act). An invoice whose KSeF number was assigned on March 31 is received in March, even if the accountant first sees it on April 3.
  2. No notifications. KSeF does not tell the buyer about a new invoice. The finance system or the integration must poll KSeF for new documents on a schedule, for example every hour, and store the date of receipt with each invoice.
  3. No "lost invoice". A supplier can no longer say the invoice went to the wrong address. If it has a KSeF number, it is in the system, and the payment term runs as the contract says.

Receiving invoices step by step

StepWhat happensWho or what
1. Downloadnew invoices from KSeF reach the program with the KSeF number and date of receiptthe ERP integration with KSeF
2. Registerthe invoice gets an internal number, and the KSeF number stays with it permanentlyERP
3. Formal checkthe buyer's tax ID, supplier data, bank account, duplicatessoftware or an AI Worker
4. Business checkmatch with the purchase order, contract or goods receiptthe budget owner
5. CodingGL account, cost center, project, VAT treatment, accrualsaccounting
6. Approvalrelease for payment under amount thresholdsa person with authority
7. Paymenttransfer with the KSeF number in the reference (from January 1, 2027)treasury, bank

Steps 4 and 5 used to happen on paper: a "checked" stamp, the manager's signature, the coding on the back. With an XML invoice, those traces have to live in the ERP or the document workflow, next to the KSeF number. The PDF rendering is for reading, but it is not the original. The original is the invoice in KSeF.

Access to purchase invoices in KSeF comes from a permission granted in the system. Agree who in the company grants and revokes permissions, and do not keep integration tokens or certificates in the ERP's configuration file.

Invoices that still arrive outside KSeF

A second route is needed because not every cost passes through KSeF:

  • foreign suppliers with no seat or fixed establishment in Poland, for example cloud services or licenses, send invoices by email;
  • small suppliers may issue invoices outside KSeF until December 31, 2026, while their monthly sales including VAT on such invoices stay at or below PLN 10,000;
  • cash register invoices and receipts with the buyer's tax ID treated as invoices may stay outside KSeF until December 31, 2026;
  • sales exempted by regulation, such as single-journey tickets or toll motorway journeys;
  • offline invoices handed over by the supplier before upload to KSeF; they carry QR codes and get a KSeF number later.

An offline invoice is a trap for the register. The same invoice first arrives as a PDF with a QR code and later as XML in KSeF. The program has to link the two records instead of booking the cost twice. Finding such pairs is covered in Duplicate invoices and double payments.

Corrections, errors and archiving

The seller issues corrections. According to the Ministry's answers, the buyer does not issue correction notes in KSeF. When an invoice has an error in the buyer's data or the price, you ask the supplier for a corrective invoice and mark the original as disputed in the workflow. It helps if the program links the correction to the original through the KSeF number.

An invoice that is not yours. When a supplier enters the wrong tax ID and the invoice lands with your company, you do not book it. You record when and to whom the error was reported, so that if the tax office or an auditor asks, you can easily explain why an invoice with your tax ID never reached the books.

Archiving. KSeF keeps invoices for 10 years from the end of the year in which they were issued. The Ministry points out that for fixed assets with a longer depreciation period, the invoice must be kept outside KSeF until the tax liability is time-barred. A copy in the company's own archive is also needed for the review notes and approvals that KSeF does not hold.

Payments from 2027 and the role of automation

From January 1, 2027, a payment for a KSeF invoice to a supplier that is an active VAT payer carries the KSeF number, or a batch identifier when paying several invoices. For the cost process this is a consistency test: every invoice in a payment batch must have its KSeF number stored in the ERP. Invoices keyed in manually from a PDF are the weakest link. The full calendar of changes is in KSeF mandatory e-invoicing: deadlines, exemptions and a company plan, and the IT side of the integration in KSeF: how to prepare your systems.

An XML invoice has structured fields, so steps 3–5 lend themselves to automation. The Cost accountant from DYNAMINDS Labs reads cost invoices from KSeF and the invoices@ mailbox, links them to the contract, the purchase order or the supplier's invoice history, and proposes the GL account, cost center, project and VAT treatment, flagging costs to be spread over time separately. A person in the finance team approves the coding. Invoices for goods with a goods receipt are checked by the Purchase invoice checker. The case study on describing and coding cost invoices shows how this works in practice.

Questions and answers

When does the payment term of a KSeF invoice start?

The payment term follows from the invoice and the contract with the supplier. What KSeF changes is that there is no longer any dispute about the delivery date: the invoice is received when the KSeF number is assigned. If the contract counts the term from receipt, you count it from the date in the UPO, so the program must fetch invoices daily, not once a week.

Do we need to print KSeF invoices for review and approval?

No, and it is not worth it. A printed rendering is not the original, and notes on paper become detached from the invoice in the system. The business review, coding and approval are recorded in the ERP or document workflow against the KSeF number. That makes them just as easy to show to an auditor and to link to the payment.

What if a supplier sent the invoice both through KSeF and by email?

Register it once. The program should compare the supplier's tax ID, invoice number, date and amount with invoices from KSeF and mark the PDF as a copy. You book the version with the KSeF number, because that is the original, and from 2027 its number goes into the transfer.

Does KSeF replace the company's document archive?

Partly. KSeF keeps invoices for 10 years from the end of the year of issue. It does not store review notes, approvals, invoices received outside KSeF or contract attachments. For fixed assets with long depreciation, the invoice must be kept longer in your own archive.

What it looks like in a project

Preparing your systems for an audit? Talk to an engineer.

Let's talk

Read more: Regulations

All in Regulations →