Skip to content
Search

What are you looking for?

Enter at least 3 characters.

KSeF Connector · integration with Poland’s National e-Invoicing System

KSeF Connector: a KSeF connector for sending and receiving invoices from your ERP and workflow

KSeF Connector connects an ERP or workflow platform to Poland’s National e-Invoicing System (KSeF). It sends sales invoices, receives purchase invoices, returns statuses, KSeF numbers and UPO receipts, and helps bring KSeF into your internal document workflow.

KSeF in 2026

KSeF is the Polish Ministry of Finance system for issuing and receiving structured XML invoices. Mandatory issuance was phased in: on 1 February 2026 for taxpayers whose gross sales exceeded PLN 200 million in 2024, and on 1 April 2026 for other entities covered by the mandate. Receiving invoices through KSeF has been mandatory since 1 February 2026.

Until 31 December 2026, a taxpayer may issue invoices outside KSeF if the gross monthly sales documented by those invoices do not exceed PLN 10,000. Consumer (B2C) invoices and certain transactions and entities specified by Polish law are outside the mandatory scope.

Under the law in force, financial penalties for specified KSeF violations are due to apply from 1 January 2027. A government bill described in the Polish Ministry of Finance announcement of 22 October 2026 would defer the application of penalties until 31 December 2027. The Sejm passed the bill on 6 November 2026. As of 7 November 2026, it was not yet in force and awaited further legislative stages.

KSeF information reviewed on 7 November 2026.

KSeF Connector: two operating modes

The Connector sits between KSeF and the systems your company uses. The scope of automation, validation and supported systems is agreed during the pre-implementation analysis.

Data exchange service

No separate user interface. It retrieves data from the source system, maps it, performs the agreed validation, communicates with KSeF and returns statuses to your system.

Repository with a user interface

Extends the service with a view of sent and received invoices, statuses and the data needed to handle exceptions.

The invoice in AMODIT

How KSeF Connector links KSeF, AMODIT and your ERP

AMODIT KSeF Connector sits between the National e-Invoicing System and your company systems and handles both directions of the exchange.

  • Receiving: the Connector retrieves purchase invoices from KSeF and passes them to the AMODIT invoice workflow, where they are verified, described and approved. The approved invoice goes to the ERP for posting.
  • Sending: the Connector retrieves a sales invoice from the ERP or workflow, maps it to the KSeF structure, validates it and sends it to KSeF.
  • Statuses, KSeF number and UPO: once the document is accepted, the Connector returns the submission status, the KSeF number and the UPO receipt to the ERP or workflow. The exchange history remains available.

Notifications report errors and new documents, and a monitoring module checks the availability of the systems involved in the exchange.

How KSeF Connector sends and receives invoices

  1. Retrieving data from the source system

    The Connector retrieves sales invoice data from the ERP or workflow through an agreed channel, such as REST API, SOAP, a database view or a file.

  2. Mapping and validation

    Data is mapped from the source format to the KSeF structure. Before sending, the Connector performs technical validation and the agreed business validation.

  3. Sending to KSeF

    The document goes to the Ministry of Finance system. The exchange can be triggered manually or automatically.

  4. Status, KSeF number and UPO

    The Connector returns the submission status, acceptance date, KSeF number and UPO receipt to the ERP or workflow. The exchange history remains available.

  5. Receiving purchase invoices

    The Connector retrieves purchase invoices from KSeF, assigns them to people based on document parameters and passes them to the ERP and workflow for further checks and approval.

  6. Notifications and exceptions

    Notifications report errors and new documents. A monitoring module checks the availability of the systems involved in the exchange.

What KSeF Connector gives you

Multiple ERP systems and companies

The Connector can serve multiple companies and several ERP systems in an agreed configuration, with one point of exchange with KSeF.

Attachment handling

Rules for invoice attachments are agreed in the pre-implementation analysis, together with invoice types and system roles.

System availability monitoring

A monitoring module checks the availability of the systems involved in the exchange, and notifications report errors.

Additional validation before sending

Technical validation and the agreed business validation run before the document is sent to KSeF.

AI in the workflow

AI for invoices from KSeF and from outside KSeF

Examples of capabilities you can configure in an AMODIT process.

Example AI scenarios

  • AI can read data from invoices that reach the company outside KSeF, for example as a scan or PDF, and enter it into the same process.
  • AI can point out discrepancies between an invoice retrieved from KSeF and the purchase order or contract.
  • AI can prepare a summary of an invoice stopped on an exception for the person resolving it.

Oversight of decisions

For decisions about people and personal data, and wherever regulations require it, AI recommends and a person approves. In other processes, you can define automated decisions, rules, thresholds and exception handling.

Deployment

How the KSeF integration works

Cloud service or on-premises application

KSeF Connector can run as a cloud service or as an application installed in your environment. The Connector retrieves data from the source system, maps it to the KSeF structure, submits the document to the Ministry of Finance system and returns the status to the ERP or workflow.

Purchase invoices in your workflow

For purchase invoices, it retrieves documents from KSeF and passes them on for internal checks and approval, for example in the AMODIT invoice workflow.

See how this works in practice in the PCBC case study.

KSeF invoices in the AMODIT workflow

KSeF does not replace cost coding, purchase order matching, cost approval, accounting descriptions or the transfer of data to the ERP. Retrieved invoices can go to a workflow in AMODIT or another workflow system, where they move through the stages defined by your organization’s rules.

KSeF Connector features

Exchange with KSeF

Integration with an ERP or workflow system, sending sales invoices and receiving purchase invoices.

Show more
  • multi-company support in the agreed configuration;
  • mapping data from the source format to the KSeF structure;
  • technical validation before the document is sent;
  • exchange history, statuses, KSeF numbers and UPO receipts;
  • notifications about errors and new documents;
  • availability monitoring for the systems involved in the exchange.

Repository and exception handling

A view of sales and cost invoices and the agreed business validation.

Show more
  • manual or automatic exchange;
  • forwarding retrieved invoices to the ERP and workflow;
  • handling responses returned by KSeF;
  • assigning invoices to people based on document parameters;
  • invoice access management;
  • reports and summaries for process handling.

For IT and procurement

Implementation, security, integrations and cost scope

The key information needed to assess the solution before an implementation discussion.

Implementation and your team’s role

The implementation scope and stages are agreed with you: invoice types, companies, system roles, validation, exceptions and where internal document approval takes place. We test the integration in a test environment before production launch.

Hosting and security

AMODIT can run in the Astrafox cloud or on your own infrastructure. The Astrafox information security management system complies with ISO/IEC 27001.

Explore AMODIT security

Integrations

Integrations are designed around your architecture. AMODIT can exchange data with ERP systems and other services used in the process.

Explore integration options

What drives the cost

The quote depends on factors such as the number and complexity of processes, users and legal entities, integrations, data migration, deployment model, training and the agreed support level.

See maintenance and SLA terms

Communication channels and data formats

The technical scope is selected for your environment.

  • Exchange channels

    SOAP, REST API, a database view, files on an agreed shared resource and file import.

  • Data formats

    XML, JSON, Excel files and text files with an agreed structure.

  • ERP and workflow

    Any ERP or workflow system as the source of sales invoices and the recipient of purchase invoices and statuses.

Explore AMODIT integrations

How KSeF Connector is implemented

The pre-implementation analysis ends with an agreed document: requirements, exchange channels and mapping rules.

Business and technical requirements

Invoice types, companies, system roles, attachment handling, validation, exceptions and where internal document approval takes place.

Integration and data mapping

Choosing exchange channels and formats; deciding where the status, acceptance date, KSeF number and UPO are returned; comparing data from the finance and accounting system with the KSeF structure and defining mapping rules.

Architecture, installation and configuration

Documenting the production and test environments and the required resources; deploying the agreed Connector mode and communication with other systems.

Testing

Verifying mapping, validation, statuses, error handling and unavailability scenarios before production launch.

Production launch

Switching communication to the production KSeF environment after test acceptance.

Documentation, training and maintenance

Final documentation, team training in the agreed scope and integration updates under the selected maintenance model.

Questions and answers

Frequently asked questions about Poland’s National e-Invoicing System (KSeF)

When did KSeF become mandatory?

Mandatory KSeF invoice issuance started on 1 February 2026 for taxpayers whose gross sales exceeded PLN 200 million in 2024, and on 1 April 2026 for other entities covered by the mandate. Receiving invoices through KSeF has been mandatory since 1 February 2026. Information reviewed on 7 November 2026.

Do the smallest taxpayers have to issue invoices through KSeF in 2026?

Until 31 December 2026, a taxpayer may issue invoices outside KSeF if the gross monthly sales documented by those invoices do not exceed PLN 10,000. If the threshold is exceeded, the mandate applies from the invoice that causes it to be exceeded. This transitional rule ends on 1 January 2027.

When will penalties for KSeF violations apply?

Under the law in force, financial penalties for specified KSeF violations are due to apply from 1 January 2027. A government bill described by the Polish Ministry of Finance on 22 October 2026 would defer the application of penalties until 31 December 2027. The Sejm passed the bill on 6 November 2026. As of 7 November 2026, it was not yet in force and awaited further legislative stages.

Must consumer (B2C) invoices be issued through KSeF?

No. Mandatory KSeF does not cover invoices issued to consumers who do not conduct business activity. A business may issue such an invoice in KSeF voluntarily and then provide it to the consumer in an agreed way.

Does KSeF replace internal invoice approval and workflow?

No. KSeF is used to issue and receive structured invoices. It does not replace cost coding, purchase order matching, cost approval, accounting descriptions or the transfer of data to the ERP. KSeF Connector connects the KSeF exchange with your company systems, while the internal workflow can run in AMODIT or another workflow system.

How should an ERP-to-KSeF integration be prepared?

Define the data sources, companies and invoice types, authentication, mapping to the KSeF structure, validation, attachment handling, statuses, errors and unavailability scenarios. Test the integration in a test environment before production launch.

Does KSeF Connector both receive and send invoices?

Yes. The Connector sends sales invoices to KSeF and receives purchase invoices, and it passes statuses, KSeF numbers and UPO receipts to the ERP or workflow.

Does KSeF Connector run in the cloud or on premises?

There are two deployment models: a cloud service or an application installed in your environment. The model is chosen during the pre-implementation analysis.

Book a free AMODIT demo

Tell us which ERP or workflow you send invoices from, how many companies the exchange covers and where you approve purchase invoices today. We will discuss the KSeF integration and exception handling.

  1. We call you back within 8 business hours and ask about the process you want to improve.
  2. We agree what to show: roles, documents and the systems involved.
  3. You see AMODIT in an online demo based on a scenario like yours.

Prefer to talk now? Call us: +48 22 355 21 64

What to include in your message: which ERP or workflow system KSeF should connect to, how many companies the exchange covers and whether you need an interface for handling exceptions

Book a free demo

0 / 2000 characters
Up to 5 files, no more than 10 MB each and 25 MB in total: PDF, DOCX, XLSX, CSV, TXT, PNG, JPG/JPEG or ZIP.
    Where did you first hear about us? (optional)

    Choose one answer.

    The controller of personal data submitted through this contact form is Astrafox Sp. z o.o., based in Warsaw. The data will be processed to respond to your message. You have the right to access, correct, restrict or erase your data, to object to its processing and to lodge a complaint with the supervisory authority. Details are available in the Privacy Policy.

    This site is protected by Cloudflare Turnstile and the Cloudflare Privacy Policy applies.

    No obligation. We use your details only to respond to this request.

    Select the image to switch between fit-to-screen and full-size view.

    Book a demo