HAERGI

EDI and KSeF in SAP according to new legal obligations?

EDI and KSeF in SAP in line with new legal obligations

Automated exchange of documents between ERP systems via EDI (Electronic Data Interchange) has for years been the foundation of logistics and finance processes in many large companies. However, the introduction of the National e-Invoicing System (KSeF) enforces fundamental changes in this area. The new system requires that every invoice be sent to the central government platform and assigned an identification number before it can be delivered to the recipient. This means that the traditional EDI process must be reconsidered and adapted to the new requirements.

EDI and KSeF in SAP – learn about the requirements and solutions.

This article presents how to effectively combine the automation of EDI interfaces with the new KSeF architecture using the example of an SAP implementation. We discuss challenges, integration scenarios, and best practices that help avoid operational risks.

The classic EDI scenario before KSeF

Before the introduction of KSeF, many companies relied on direct invoice exchange via EDI interfaces. The invoice was generated in the ERP system (e.g., SAP SD), then automatically converted into an EDI format (e.g., EDIFACT, XML, CSV), and sent to the business partner.

The process was fast, automated, and required no additional intervention. Business partners received documents immediately, supporting workflow efficiency and shortening the receivables cycle.

EDI and KSeF. KSeF requirements and the interruption of classic EDI

New legal regulations concerning KSeF require that every invoice be sent to the central government platform, where it is verified and assigned a KSeF identifier. Only such an invoice can be legally considered issued.

This means that:

HAERGI solution: holding EDI until invoice approval

To maintain EDI automation while ensuring compliance with regulations, HAERGI implemented a delayed EDI sending mechanism:

This mechanism allows full automation of the process while ensuring compliance with KSeF.

Technical aspects of integrating EDI and KSeF

The HAERGI solution is based on a flexible approach to EDI interface configuration:

EDI and KSeF: edge cases and best practices

Implementation requires attention to several key elements:

Best practices:

How does the new EDI process look from the user’s perspective?

From the SAP user’s perspective:

Thus, there is no need for the user to engage in the new operational stage.

EDI and KSeF: a consistent process, lower risk, compliance with regulations

Integrating EDI with KSeF in the SAP system enables the preservation of efficiency and automation of the invoicing process while complying with new legal requirements.

The HAERGI solution ensures independence, the ability to perform self-diagnosis, and control over every stage. This approach not only minimizes risks but also guarantees that business partners receive invoices in full compliance with regulations.