HAERGI

SAP integration with KSeF: A comprehensive approach to e-invoicing

Integration SAP with KSeF: A Comprehensive approach to e-Invoicing

KSeF, KSeF SAP

Is your organization ready for mandatory e-invoicing using the National e-Invoicing System (KSeF)? If you’re using SAP, implementing an appropriate integration solution becomes not only an option but a necessity.

In this article, we present a comprehensive overview of integration SAP with KSeF, based on discussions and analyses conducted by Haergi with large organizations preparing for the upcoming changes.

Table of Contents:

KSeF 2025 – current legal and technical status

As of the publication date, there are two versions of the KSeF schema in circulation: FA(2) and FA(3), which is in preparation. Although FA(3) doesn’t introduce significant changes to the XML structure, it is worth following its development, especially in the context of public institutions and the possibility of attaching XML attachments to invoices and the proposed offline mode.

Key dates and information:

Integration SAP with KSeF – Haergi’s approach

Haergi has developed a solution integrating KSeF with SAP that does not require the installation of external components or additional servers. This is a key advantage, as the entire solution operates within the existing SAP environment, simplifying administration, reducing costs, and eliminating the need to use the cloud.

Main architectural features:

Invoice sending and receiving processes

Sending invoices from SAP to KSeF

The process starts when an invoice is issued in SAP or the financial-accounting system. The invoice can be:

Receiving incoming invoices

Haergi’s solution also handles receiving purchase invoices, which are downloaded from KSeF and can be:

EDI integration

For companies using EDI, the system enables delaying the document’s EDI transmission until the KSeF number is received, ensuring process consistency and preventing the invoice from being sent via EDI before it enters the legal circulation in KSeF.

Automation, workflow, and KSeF cockpit in SAP

One of the biggest advantages of Haergi’s solution is the full automation of accounting processes and support for invoice description and approval – without documents leaving SAP.

Automation:

Workflow and notifications:

Advanced KSeF cockpit in SAP:

Integration of SAP with external systems and EDI

Many large organizations use distributed IT environments where sales and purchasing data come from various systems. Haergi’s solution also supports communication with external systems, allowing integration with older versions of invoicing programs.

Example supported data sources:

Security, error handling and updates

Stability and compliance with regulations are not just about code – they also involve security and keeping up to date.

Security mechanisms:

Exception handling:

News in FA(3): attachments and offline mode

Version FA(3), planned for the second half of 2025, brings new functionalities:

Conclusions and recommendations

Implementing KSeF in SAP doesn’t have to be an expensive and complicated project. A well-designed solution, like the one offered by Haergi, allows:

If your company operates in SAP and plans to switch to mandatory e-invoicing in KSeF – now is the best time to start the implementation.

Want to see how our KSeF solution works in practice?

Contact us and schedule a system demo – we’ll show you how we can tailor SAP integration to the reality of your organization.