{"id":1068,"date":"2026-02-08T23:02:59","date_gmt":"2026-02-08T22:02:59","guid":{"rendered":"https:\/\/ksefapi.pl\/?p=1068"},"modified":"2026-03-03T14:13:25","modified_gmt":"2026-03-03T13:13:25","slug":"rest-api-ksef-2-0-biblioteki-dla-php-i-java","status":"publish","type":"post","link":"https:\/\/ksefapi.pl\/en\/rest-api-ksef-2-0-biblioteki-dla-php-i-java\/","title":{"rendered":"REST API KSeF 2.0 \u2013 integration libraries for PHP and JAVA"},"content":{"rendered":"<h1>National e-Invoice System (<a href=\"https:\/\/ksef.podatki.gov.pl\/\">KSeF 2.0<\/a>) \u2013 new client libraries for PHP and JAVA<\/h1>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ksefapi.pl\/wp-content\/uploads\/2026\/02\/KSeF2_php_java_biblioteki_korekta_mini-300x211.png\" alt=\"KSeF 2.0 PHP JAVA biblioteka kliencka\" width=\"213\" height=\"150\" class=\"alignleft wp-image-1069\" srcset=\"https:\/\/ksefapi.pl\/wp-content\/uploads\/2026\/02\/KSeF2_php_java_biblioteki_korekta_mini-300x211.png 300w, https:\/\/ksefapi.pl\/wp-content\/uploads\/2026\/02\/KSeF2_php_java_biblioteki_korekta_mini-18x12.png 18w, https:\/\/ksefapi.pl\/wp-content\/uploads\/2026\/02\/KSeF2_php_java_biblioteki_korekta_mini.png 621w\" sizes=\"(max-width: 213px) 100vw, 213px\" \/><\/p>\n<p>We are pleased to announce that we have made two updated client libraries for the following languages available on our website and in public repositories:<span>\u00a0<\/span><a href=\"\/en\/download\/ksef-java-biblioteka-integracyjna\/\"><strong>JAVA<\/strong><\/a><span>\u00a0<\/span>and<strong><a href=\"\/en\/download\/ksef-biblioteka-php\/\"> PHP<\/a><\/strong>which facilitate and accelerate the integration of systems with <a href=\"https:\/\/ksef.podatki.gov.pl\/\">National e-Invoice System 2.0<\/a>These are just the next tools after the interface.<span>\u00a0<\/span><strong><a href=\"https:\/\/ksefapi.pl\/en\/public\/rest\/\">KSeF 2.0 REST API<\/a><\/strong><strong><\/strong>, which we make available to our customers. At the same time, we would like to assure our other customers that the .NET library will be published as announced, in mid-February 2026.<\/p>\n<p>In order to carry out a smooth integration, we have also prepared a detailed<span>\u00a0<\/span><a href=\"https:\/\/ksefapi.pl\/en\/rest-ksef-api-dokumentacja\/\"><strong>Technical Documentation<\/strong><\/a><span>\u00a0<\/span>along with a description of the business processes within which the use of individual operations is described. We encourage you to familiarize yourself with the updated description and diagrams for KSeF 2.0.<\/p>\n<h2>PHP version 2.0.2<\/h2>\n<p>Source codes: <a rel=\"noopener noreferrer\" target=\"_blank\" href=\"https:\/\/github.com\/ksefapi\/ksefapi-php-client\">https:\/\/github.com\/ksefapi\/ksefapi-php-client<\/a><\/p>\n<p>Release package: <a rel=\"noopener noreferrer\" target=\"_blank\" href=\"https:\/\/github.com\/ksefapi\/ksefapi-php-client\/releases\/download\/2.0.2\/ksefapi-php-client-2.0.2.zip\">https:\/\/github.com\/ksefapi\/ksefapi-php-client\/releases\/download\/2.0.2\/ksefapi-php-client-2.0.2.zip<\/a><\/p>\n<p>Packagist repository for composer: <a rel=\"noopener noreferrer\" target=\"_blank\" href=\"https:\/\/packagist.org\/packages\/ksefapi\/client\">https:\/\/packagist.org\/packages\/ksefapi\/client<\/a><\/p>\n<h2>Java version 2.0.1<\/h2>\n<p>Source codes: <a rel=\"noopener noreferrer\" target=\"_blank\" href=\"https:\/\/github.com\/ksefapi\/ksefapi-java-client\">https:\/\/github.com\/ksefapi\/ksefapi-java-client<\/a><\/p>\n<p>Release package: <a rel=\"noopener noreferrer\" target=\"_blank\" href=\"https:\/\/github.com\/ksefapi\/ksefapi-java-client\/releases\/download\/2.0.1\/ksefapi-java-client-2.0.1.zip\">https:\/\/github.com\/ksefapi\/ksefapi-java-client\/releases\/download\/2.0.1\/ksefapi-java-client-2.0.1.zip<\/a><\/p>\n<p>Maven repository: <a rel=\"noopener noreferrer\" target=\"_blank\" href=\"https:\/\/ksefapi.pl\/en\/maven\/#\/releases\/pl\/ksefapi\/ksefapi-client\/2.0.1\">https:\/\/ksefapi.pl\/maven\/#\/releases\/pl\/ksefapi\/ksefapi-client\/2.0.1<\/a><\/p>\n<p><code>&lt;repository&gt;<\/code><br \/>\n<code>\u00a0 ksefapi<\/code><br \/>\n<code>\u00a0 &lt;url&gt;<a rel=\"noopener noreferrer\" target=\"_blank\" href=\"https:\/\/ksefapi.pl\/en\/maven\/releases\/\">https:\/\/ksefapi.pl\/maven\/releases<\/a>&lt;\/url&gt;<\/code><br \/>\n<code>&lt;\/repository&gt;<\/code><\/p>\n<p><code>&lt;dependency&gt;<\/code><br \/>\n<code>\u00a0 pl.ksefapi<\/code><br \/>\n<code>\u00a0 ksefapi-client<\/code><br \/>\n<code>\u00a0 2.0.1<\/code><br \/>\n<code>&lt;\/dependency&gt;<\/code><\/p>","protected":false},"excerpt":{"rendered":"<p>National e-Invoice System (KSeF 2.0) \u2013 new client libraries for PHP and JAVA We are pleased to announce that we have made two updated client libraries for JAVA and PHP available on our website and in public repositories, which facilitate and accelerate system integration with the National e-Invoice System 2.0. These are further tools following the KSeF interface [\u2026]<\/p>","protected":false},"author":2,"featured_media":1069,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,10,41,36,6,31],"tags":[42,46,43,45],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ksefapi.pl\/en\/wp-json\/wp\/v2\/posts\/1068"}],"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=1068"}],"version-history":[{"count":7,"href":"https:\/\/ksefapi.pl\/en\/wp-json\/wp\/v2\/posts\/1068\/revisions"}],"predecessor-version":[{"id":1090,"href":"https:\/\/ksefapi.pl\/en\/wp-json\/wp\/v2\/posts\/1068\/revisions\/1090"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ksefapi.pl\/en\/wp-json\/wp\/v2\/media\/1069"}],"wp:attachment":[{"href":"https:\/\/ksefapi.pl\/en\/wp-json\/wp\/v2\/media?parent=1068"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ksefapi.pl\/en\/wp-json\/wp\/v2\/categories?post=1068"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ksefapi.pl\/en\/wp-json\/wp\/v2\/tags?post=1068"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}