KSeF REST API
dedicated interface for
National e-Invoice System

KSeF API logo

We would like to inform you that we have provided a REST API containing operations allowing for quick and effective integration with National e-Invoice System (KSeF). The implemented operations enable the implementation of the main functionalities related to the handling of structured invoices in KSeF, i.e.:

  • Generating e-Invoices in XML format in accordance with the applicable XSD schema (v2)
  • Sending and receiving e-Invoices and UPO from the KSeF system
  • Generating a preview (visualization) of e-Invoices (PDF or HTML) with a QR code
  • Bulk search and download of e-Invoices (sales and cost)
  • Downloading individual e-Invoices (sales and cost)
  • Support for bulk sending of e-Invoices (coming soon)
  • Notifications on receipt of a new cost e-invoice (coming soon)

Along with the interface, we also provide a detailed one Technical Documentation together with a description of the business processes within which the use of individual operations is described. We encourage you to read the prepared description and diagrams.

    We will also make this option available soon setting up accounts in our system.

    We are working all the time to soon provide you with a set of libraries for the remaining most popular programming languages, i.e. PHP, Java and .NET, which will implement REST API functionalities.

    We also plan to prepare a container in Docker technology containing a fully functional KSeF REST API component enabling on-premise implementation (locally at the client's) of all functionalities offered by our REST KSeF API.

    For less advanced users, we want to provide, among others: a mobile application that will make it possible to generate and send e-Invoices to KSeF by people working remotely (e.g. in the field) or outside the office network where the KSeF central invoice issuing system is running.

    We will keep you updated on all progress in providing further functionalities and tools.

    The ksefapi.pl team