The National e-Invoicing System (KSeF) has changed the way Polish companies issue and receive invoices. If you use an ERP system, the key question is: how do you make sure documents reach KSeF automatically, without retyping data by hand? The answer is Odoo integration with KSeF. In this article, we explain how it works, what you need to prepare and what to watch out for when implementing it in the latest version of Odoo.
If you want to see what invoicing looks like in Odoo, start with the free trial.
What KSeF is and who it applies to
KSeF is a nationwide platform run by the Polish Ministry of Finance, where structured invoices in XML format (the FA(3) schema) are issued, stored and received. Once an invoice is accepted, the system assigns it a unique KSeF number, and the issuing of the document is confirmed by an Official Receipt Confirmation (UPO).
The KSeF requirement was introduced in stages. From February 1, 2026, it covered the largest taxpayers, and from April 1, 2026, all other businesses. For the smallest companies, whose monthly sales documented by invoices do not exceed PLN 10,000 gross, the obligation will begin on January 1, 2027. Penalties for improper use of the system also start to apply from that date. It is worth checking the detailed thresholds and deadlines in the Ministry of Finance's current announcements, as the regulations are sometimes clarified.
What Odoo integration with KSeF looks like
The integration connects the Odoo invoicing module to the KSeF API. The user works in a familiar interface, while the system prepares the XML file in the background, sends it to KSeF and saves the response from the tax authority. As a result, the invoice data in Odoo and the document in KSeF remain linked, and the processing status is visible on every invoice.
The foundation is the Polish localization of Odoo along with the Invoicing and Accounting apps. KSeF e-invoicing is handled by a dedicated Polish localization module, which in Odoo 19 is available in the Enterprise edition. The scope of features depends on the version, edition and hosting type (Odoo Online, Odoo.sh or on-premise), so you need to check it in the current documentation before implementation. We described the basics of working with invoices in the article on how the Odoo Invoicing app works.
Issuing sales invoices
The process usually looks like this:
- you create an invoice in Odoo, manually or based on a sales order,
- the system validates the customer's data (tax ID, address), VAT rates and required fields,
- once confirmed, the invoice is generated in XML format and sent to KSeF,
- Odoo receives the KSeF number, the processing status and the UPO, and then stores them on the document.
If your invoices are created from orders, it is worth connecting this process with the Sales module. We covered it in our guide to how the Odoo Sales app works.
Receiving purchase invoices
KSeF is also an inbox for invoices from suppliers. A properly configured integration retrieves documents from the system and creates vendor bills in Odoo from them, which reduces manual retyping and the risk of mistakes in amounts and numbers. The retrieval method (automatic or on demand) depends on the module version and configuration, so it is worth deciding on it during implementation. If you use purchase orders, you can match the invoice against the order. You will find more in the article about the Odoo Purchase app.
Credit notes, numbering and statuses
Credit notes, down payment invoices and documents rejected by KSeF require separate handling. In a well-implemented system, every document has a clear status, for example pending submission, accepted or rejected. The user immediately sees what needs attention. Errors returned by KSeF, such as an incorrect tax ID or a missing required field, are displayed on the invoice, so they can be corrected quickly.
KSeF contingency modes
The regulations provide for situations in which KSeF is unavailable or a company cannot connect to it. These include offline24 mode, contingency mode and total system failure. In such cases, the invoice is issued outside the system and submitted to KSeF at a later date. It is worth deciding in advance who in the company makes the decision to switch to such a mode and how the documents are subsequently submitted. Also check to what extent your version of Odoo supports this.
If you want to see how these features work in practice, launch your own Odoo instance and test the invoice flow.
Step-by-step integration setup
It is best to divide the implementation into several stages:
- Preparing the company in Odoo. Fill in the company details, tax ID, address and tax settings in line with the Polish localization, and install the appropriate e-invoicing module.
- Permissions in KSeF. Grant access to the system to the person or application that will send and retrieve invoices. KSeF tokens and certificates, among other things, are used for authentication.
- Choosing the environment. Start with the test or pre-production environment to check how everything works without affecting real data. Only then switch to production.
- Customer and product data. Make sure tax IDs, addresses, units of measure and VAT rates are correct, as these are the most common source of rejections.
- Testing. Issue standard invoices, credit notes and down payment invoices, and then retrieve purchase documents.
- Team training. Show users the document statuses and the procedures to follow in case of an error or a KSeF outage.
Access control is very important, because access to KSeF means access to financial data. In Odoo, you can precisely define who can view and confirm invoices. We described this in the article on user roles in Odoo.
Configuring certificates, tokens and environments can be difficult to handle on your own, especially when multiple companies are involved. If you want to avoid mistakes, talk to our team.
Benefits of integrating Odoo with KSeF
- Less manual work. Invoices are not retyped, and data flows from the order to the invoice and on to KSeF.
- Regulatory compliance. The system checks required fields and format, which increases the chance that a document will be accepted.
- Transparency. KSeF numbers and statuses are visible on every invoice.
- Faster accounting. Purchase invoices enter the system without manual retyping, which speeds up period closing.
- A single source of truth. Sales, purchasing, inventory and finance run in one system.
Most common implementation challenges
The biggest problems are caused by outdated customer data, incorrect VAT rates and misaligned processes, for example invoices issued outside the system. Difficulties also arise with invoices for receipts, foreign sales, invoices with attachments and custom modifications to invoice templates. It is also a good idea to decide who in the company responds to rejected documents. Notifications, which we described in the article on, help with this: email notifications in Odoo.
FAQ: Common questions about Odoo integration with KSeF
Does Odoo support KSeF?
Yes, e-invoicing support for KSeF is available in the Polish localization of Odoo. The scope of features depends on the version, edition (e-invoicing is available in Enterprise) and hosting type, so before implementation it is worth verifying it in the current documentation or consulting an implementation partner.
Can I test the integration first?
Yes. KSeF provides test environments where you can check issuing invoices, credit notes and receiving documents without risk to real data. We recommend running a full test scenario before going live.
What happens when KSeF rejects an invoice?
Odoo stores the status and the error message on the document. The user corrects the data, for example the tax ID, VAT rate or a missing field, and resubmits the invoice.
When do the smallest companies have to use KSeF?
Companies whose sales documented by invoices do not exceed PLN 10,000 gross per month will be covered by the obligation from January 1, 2027. It is worth preparing earlier, because receiving purchase invoices in KSeF also applies to entities that do not yet issue e-invoices themselves.
Summary
A well-planned Odoo integration with KSeF lets you meet legal requirements while improving invoice flow across the entire company. The keys are accurate data, a well-thought-out configuration, a plan for contingency modes and testing before launch.
Want to implement KSeF in Odoo without stress and with confidence that everything works correctly? The KK Innovations team will help you with configuration, testing and user training.