Skip to content
Automation22 July 202613 min

KSeF for Small Businesses - How to Automate Invoices Without Losing Your Mind 2026

KSeF in a small business: who it applies to, how to issue and receive invoices, how to connect the system with accounting and a shop, how to automate document flow. A practical step-by-step guide.

Damian Zieliński · dekada72h

For many owners of small businesses KSeF sounds like yet another state system someone invented to give them more work. Partly true: it is a change that forces a company to tidy up the way it issues and receives invoices. But there is another side. If you implement it well, invoices stop being a task and become a process that happens by itself.

This article is not a legal commentary but an implementation guide: what changes in practice, how to approach it in a small business and how to automate document flow so you do not spend hours on it every month.

A formal note: the deadlines and details of KSeF obligations have been modified recently. We describe the state for 2026, but before you make decisions, confirm it with your accountant or on the Ministry of Finance websites.

XML

the format of a structured invoice - the PDF is only a visualisation

B2B

the scope of the obligation - invoices to consumers remain outside KSeF

2

directions of flow: issuing and receiving, both require a process

What KSeF Changes in Practice

Before KSeF an invoice was a document you sent to a contractor - most often as a PDF by email. There was no central place where it lived. In KSeF an invoice is a record in a state system which, once processed, receives an identification number and is delivered to the contractor the moment it is made available.

From a small business's perspective this means four changes:

  1. Format. The invoice must be an XML file with a defined structure. A human does not read it, the system does. The PDF still exists, but as a visualisation.
  2. Route. The document goes through KSeF, not directly to the contractor's inbox.
  3. Delivery. The recipient does not have to open or confirm anything - the invoice is delivered the moment it is made available in the system.
  4. Verification. The system checks the structure for compliance, so a typo in a tax ID or an incorrect date format will stop the document.

The most important practical consequence: the data in the company's systems must be clean. Contractors' tax IDs, addresses, VAT rates, units of measure, numbering. If a company keeps its customer register in a spreadsheet with ten variants of one name, KSeF will expose it.

Issuing Invoices - Three Paths for a Small Business

There is no single good solution for everyone. The choice depends on the number of invoices and the degree of automation.

PathFor whomAdvantagesDisadvantages
Ministry of Finance applicationUp to a few invoices a monthFree, no implementationManual work, no integration
Invoicing software with a KSeF moduleMost small businessesReady emergency modes, accounting, templatesSubscription, learning the tool
Integration via API (own or system)Shops, recurring services, SaaSFull automation, zero manual stepsImplementation cost, maintenance

For most small businesses the starting point is invoicing software that already has a built-in integration. If you use one of the popular tools, it is usually enough to activate the module and grant permissions in KSeF. If your company issues from a few dozen to a few hundred invoices a month from data you already have in another system (a shop, a CRM, a booking app), that is exactly the moment when automation pays off.

Receiving Invoices - the Direction Most Often Forgotten

In the purchase invoice flow the biggest change is the absence of a message in the mailbox. An invoice from a supplier may simply appear in KSeF without your knowing. The consequences:

  • late bookkeeping and payments,
  • the risk of errors in VAT settlement,
  • trouble with documents you learn about after the deadline.

Practical solutions, from the simplest:

  1. The accounting office downloads the documents and passes them to you or books them directly. This requires granting it permissions and agreeing how often.
  2. The invoicing software downloads cost invoices automatically and presents them in one list with the option to approve.
  3. Automatic import into the accounting system or ERP with categorisation rules (e.g. a supplier from this list always goes to this cost).

It is worth adding a simple control rule: once a week someone checks the list of new invoices and approves them or raises objections. A quarter of an hour is enough.

Automation: From Order to Ledger

The real value is not in compliance with the regulations as such, but in the fact that the implementation is a chance to shorten the process. A sample flow for a company selling services or products online:

  1. The customer places an order in the shop or accepts a quote.
  2. The order system passes the data to the invoicing tool (through a ready integration or the API).
  3. The invoicing tool issues the invoice, assigns a number and sends it to KSeF.
  4. KSeF returns the document's identification number.
  5. The customer gets a notification with a visualisation of the invoice and a payment link.
  6. The payment is matched to the invoice automatically based on the title or order number.
  7. Accounting receives the complete set without files being emailed.

Each of these steps can be done manually. The difference appears with scale and the cost of errors: at ten invoices a month manual work is acceptable, at a hundred it becomes the main administrative cost.

It is worth considering which steps in your company are the most burdensome today. They are usually:

  • retyping the buyer's data from a form into the software,
  • manually reminding about payment,
  • looking for which payment relates to which invoice,
  • sending documents to the accountant at the end of the month.

All four can be automated within a single implementation. We write about the general principles of automation in a company in the article on business process automation, and about where to keep customer data so that invoices have something to be generated from - in the guide to CRM for small businesses.

An Online Shop and KSeF

Shops have two matters that are easy to confuse: invoices for businesses (KSeF) and receipts or invoices for consumers (outside KSeF). One shop often has both.

A good integration design assumes:

  • a tax ID field in the cart - if the customer provides it, the order goes into the B2B invoice flow,
  • tax ID validation at purchase (format and, if needed, a check in the register),
  • consistent company data in the order: full name, address, country,
  • differentiation of the document type: a KSeF invoice, a B2C invoice, a receipt,
  • handling of corrections - returns and order changes must generate correcting invoices in the same mode,
  • numbering from a single source.

If you run a shop on WooCommerce or Shopify, a ready integration with invoicing software is usually enough. For custom solutions - bookings, subscriptions, project settlements - a small module that communicates with the API is written. We describe the platforms, their pros and cons in the comparison WooCommerce vs Shopify and in the guide to online shops.

Permissions and Security

KSeF works on the basis of authentication and permissions granted to people or entities. This allows roles to be separated: the owner, an employee issuing invoices, an accountant with read access.

Good practices:

  • minimum permissions - each person and each system gets only what they need,
  • separate access credentials for integrations - tokens and certificates should not sit in spreadsheets and messengers,
  • a register of people with access and regular review,
  • a procedure for revoking permissions when an employee leaves or the accounting office changes,
  • a backup of issued and received documents in your own system.

Do not assume that because a document is in a state system you do not need your own copy. Your own archive is useful during migration, failure and a change of tool.

A 30-Day Implementation Plan

For a small business without a large IT department a realistic schedule looks like this:

Week 1 - diagnosis. List how many invoices you issue and receive monthly, with which tools, who issues them and who books them. Ask your accountant three questions: do they handle KSeF, how do they want to receive documents, who should have permissions.

Week 2 - choosing a tool. Decide whether the Ministry app, invoicing software or automation is enough. Run a test on several documents in the test environment.

Week 3 - data and integrations. Tidy up the contractor database, VAT rates, templates. Connect the shop or CRM to the invoicing software.

Week 4 - pilot and training. Issue several documents in production, check receipt, write down the emergency procedure and train the people who will use it.

Such a schedule is ambitious but doable. If the company already has invoicing software with a ready module, the whole process often closes in a few days.

The Most Common Mistakes

  1. Implementing only issuing, without a process for receiving invoices.
  2. No agreement with the accountant - two systems that cannot see each other.
  3. Unverified contractor data and rejected documents.
  4. No emergency procedure - on the day of a failure nobody knows what to do.
  5. Permissions written in an email instead of separate accounts and tokens.
  6. No testing before the first production invoice.
  7. Putting off the decision to the last week before the deadline.

Is Automation Worth It If You Issue Few Invoices

If you issue a few documents a month, full automation makes no economic sense. The Ministry app or simple invoicing software and your accountant's support are enough. Full integration starts to pay off when you meet one of these conditions: invoices arise from data you already have in another system; you issue them cyclically (subscriptions, project settlements); you run an online shop; or manual work exceeds a few hours a month.

It is worth remembering one thing: the cost of an error in an invoice is not only time. A wrong invoice means a correction, a conversation with the customer, a payment delay and a settlement risk. Automation does not eliminate all errors, but it eliminates the most repetitive ones - retyping data and typos.

KSeF can therefore be treated as a forced opportunity to tidy up document flow. Companies that do it sensibly will gain shorter settlement times, less administrative work and a better view of receivables. For the rest - just another obligation.

Want this on your site?

We build a website to this standard in a 72h sprint. Or start with a free audit of your current site.

[01] FAQ

Questions about this article

01

What is KSeF and who does it apply to?

The National e-Invoicing System (Krajowy System e-Faktur) is a state platform in which structured invoices are issued and received in a uniform XML format. It applies to VAT taxpayers in B2B relations, that is, invoices issued between businesses. The obligation was introduced in stages: from February 2026 for the largest taxpayers, from April 2026 for the rest, with a transition period for the smallest and for sanctions. The detailed dates and exceptions have changed in the regulations, so always check the current state in the official materials of the Polish Ministry of Finance or with your accountant.

02

Do I have to issue invoices to consumers through KSeF?

No. The obligation applies to invoices in trade between businesses. Invoices to individuals who do not run a business (B2C) are still issued outside KSeF, on the same terms as before, and a consumer can ask for an invoice in the traditional form. If you sell to both businesses and consumers, e.g. in an online shop, you need a system that distinguishes the customer type and handles both flows.

03

Can I issue invoices manually in the Ministry of Finance application?

Yes. The Ministry provides a free application for issuing invoices and viewing documents in KSeF. For a company issuing a few invoices a month this may be enough. At a few dozen invoices and more, manual data entry becomes costly in time and error-prone, so it pays to have an invoicing system integrated with KSeF that sends and downloads documents itself and links them with accounting.

04

How do I integrate an online shop with KSeF?

Most often it is not done directly. The shop passes the order data to an invoicing system (e.g. wFirma, Fakturownia, inFakt, Comarch, iFirma or a dedicated module), and that issues the invoice and sends it to KSeF. Integrations exist for WooCommerce, Shopify, PrestaShop and most popular platforms. For custom shops the invoicing system's API or the KSeF API directly is used. The most important thing is to decide which system is the source of truth for numbering and buyer data.

05

What about cost invoices and receiving documents?

Receiving invoices in KSeF is just as important as issuing them. An invoice is delivered at the moment it is made available in the system, regardless of whether anyone looked in the inbox. So you need a mechanism that regularly downloads new documents, assigns them to a contractor and passes them on to accounting. The simplest way is through an invoicing system or an accounting office that downloads documents from KSeF automatically. Manually checking the system once a month is a straight road to late settlements.

06

What if KSeF is down or I have no internet?

The regulations provide for emergency modes: an offline mode, in which you issue the invoice outside the system and send it to KSeF within a set deadline, a system unavailability mode and a failure mode declared by an announcement. Each has its own rules on the QR code, deadlines and method of delivery. A good invoicing system handles these modes automatically, so when choosing a tool check whether it supports them and what the procedure looks like in practice.

07

Does KSeF require changing my accounting office or accounting software?

Usually not, but it requires arrangements. You need to establish who has KSeF permissions on your behalf (e.g. the accounting office), how documents are passed on and who verifies them. Many accounting programs already have an integration module. If your tools do not support KSeF, switching is usually cheaper than years of manual workarounds. Start with a conversation with your accountant, because they know best which tools work in your industry.

[03] Start

Your sprint can start on Monday.

A short call, a fixed quote within 24h, the sprint starts in the slot you choose. No yearly contracts and no subscription for “WordPress maintenance”.

  • ✓ fixed price
  • ✓ you own the code
  • ✓ no subscription

Next open slot

— —.— · 09:00

office hoursMon–Fri · 09:00–17:00