{"id":853,"date":"2024-05-21T19:28:54","date_gmt":"2024-05-21T17:28:54","guid":{"rendered":"https:\/\/ksefapi.pl\/?p=853"},"modified":"2024-05-22T09:30:19","modified_gmt":"2024-05-22T07:30:19","slug":"rest-api-dla-ksef","status":"publish","type":"post","link":"https:\/\/ksefapi.pl\/en\/rest-api-dla-ksef\/","title":{"rendered":"REST API for KSeF"},"content":{"rendered":"<h1 style=\"text-align: center;\">KSeF REST API<br \/>\ndedicated interface for<br \/>\nNational e-Invoice System<\/h1>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ksefapi.pl\/wp-content\/uploads\/2024\/01\/logo-no-background_mini.png\" alt=\"KSeF API logo\" width=\"130\" height=\"132\" class=\"alignleft wp-image-328\" srcset=\"https:\/\/ksefapi.pl\/wp-content\/uploads\/2024\/01\/logo-no-background_mini.png 150w, https:\/\/ksefapi.pl\/wp-content\/uploads\/2024\/01\/logo-no-background_mini-12x12.png 12w\" sizes=\"(max-width: 130px) 100vw, 130px\" \/><\/p>\n<p>We would like to inform you that we have provided a REST API containing operations allowing for quick and effective integration with <a href=\"https:\/\/ksef-test.mf.gov.pl\/\">National e-Invoice System<\/a> (KSeF). The implemented operations enable the implementation of the main functionalities related to the handling of structured invoices in KSeF, i.e.:<\/p>\n<ul>\n<li>Generating e-Invoices in XML format in accordance with the applicable XSD schema (v2)<\/li>\n<li>Sending and receiving e-Invoices and UPO from the KSeF system<\/li>\n<li>Generating a preview (visualization) of e-Invoices (PDF or HTML) with a QR code<\/li>\n<li>Bulk search and download of e-Invoices (sales and cost)<\/li>\n<li>Downloading individual e-Invoices (sales and cost)<\/li>\n<li>Support for bulk sending of e-Invoices (coming soon)<\/li>\n<li>Notifications on receipt of a new cost e-invoice (coming soon)<\/li>\n<\/ul>\n<p>Along with the interface, we also provide a detailed one <a href=\"https:\/\/nip24.pl\/ksef-rest-api-dokumentacja\/\"><strong>Technical Documentation<\/strong><\/a> 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.<\/p>\n<ul><\/ul>\n<p>We will also make this option available soon <a href=\"\/portal\/\">setting up accounts<\/a> in our system.<\/p>\n<p>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.<\/p>\n<p>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&#039;s) of all functionalities offered by our REST KSeF API.<\/p>\n<p>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.<\/p>\n<p>We will keep you updated on all progress in providing further functionalities and tools.<\/p>\n<p><em>The ksefapi.pl team<\/em><\/p>","protected":false},"excerpt":{"rendered":"<p>KSeF REST API dedicated interface for the National e-Invoice System We would like to inform you that we have made available a REST API interface containing operations enabling fast and effective integration with the National e-Invoice System (KSeF). The implemented operations allow for the execution of the main functionalities related to the handling of structured invoices in KSeF, i.e.: Generating e-Invoices in XML format in accordance with [\u2026]<\/p>","protected":false},"author":2,"featured_media":817,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,10,6],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ksefapi.pl\/en\/wp-json\/wp\/v2\/posts\/853"}],"collection":[{"href":"https:\/\/ksefapi.pl\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ksefapi.pl\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ksefapi.pl\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ksefapi.pl\/en\/wp-json\/wp\/v2\/comments?post=853"}],"version-history":[{"count":5,"href":"https:\/\/ksefapi.pl\/en\/wp-json\/wp\/v2\/posts\/853\/revisions"}],"predecessor-version":[{"id":858,"href":"https:\/\/ksefapi.pl\/en\/wp-json\/wp\/v2\/posts\/853\/revisions\/858"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ksefapi.pl\/en\/wp-json\/wp\/v2\/media\/817"}],"wp:attachment":[{"href":"https:\/\/ksefapi.pl\/en\/wp-json\/wp\/v2\/media?parent=853"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ksefapi.pl\/en\/wp-json\/wp\/v2\/categories?post=853"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ksefapi.pl\/en\/wp-json\/wp\/v2\/tags?post=853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}