KSeF Module for Dolibarr

KSeF Integration Module for Dolibarr

We did some researching of how to make InPoint Automation compliant with the Polish electronic invoicing system, KSeF, and noticed something interesting... there are quite a few websites selling tokens to use their API to call the KSeF API. But the official KSeF API itself is completely free... What they're really selling is either a wrapper around free government infrastructure or a whole ERP system (with this functionality built-in) that you won't really be sure fits your business until you've invested quite a lot of money.

For us in the small startup here at InPoint Automation, reducing our overhead is critical. All the solutions that searching returned us seemed more like headache and extra costs we didn't need.

So we decided to create a Free and Open-Source Software (FOSS) module for Dolibarr to make it easy for us to issue these invoices and become compliant without paying a middleman. Dolibarr is also FOSS and doesn't have features locked behind a paywall, and combined with this KSeF module we have all our backend needs solved without extra licensing or even worse - SaaS systems.

We built it for ourselves, but it costs us nothing to share this module with others and help improve other businesses as well. And if you find that Dolibarr isn't for your business - well it didn't cost anything.

Link do polskiej wersji

What it does

The module connects the Free and Open Source ERP system Dolibarr directly to the KSeF (Krajowy System e-Faktur) system, Poland's national e-invoicing system. No third party services, subscription fees, per-invoice fees. Your Dolibarr installation talks to KSeF, and that's it.

Send Invoices
Generate FA(3) XML from your Dolibarr invoices, sign and submit them directly to KSeF. Standard invoices, correction invoices, foreign currency invoices with NBP exchange rates, advanced payment invoices, and offline invoices when KSeF or your internet connection are unavailable.

Receive Invoices
Sync incoming invoices from KSeF, view the details, and import them into Dolibarr as supplier invoices with automatic matching of suppliers by NIP and products by reference, supplier code, or barcode.

Stay Compliant
QR codes on both native Dolibarr PDFs and KSeF-style PDFs, UPO downloads, offline invoicing, support for both token and certificate authentication.

Automation
Scheduled (cron) jobs for checking submission status, syncing incoming invoices, and other day-to-day things. There's also REST API endpoints specific to this module so you can trigger things from any specific software or automations that you run in addition to Dolibarr.

Community

Here's a video walkthrough from Wasz Informatyk covering their experience with Dolibarr installation and the KSeF module setup from their perspective. If you've put a written or video guide together and want it here, please let us know!

Documentation

In addition to the in-module How to Use guide, we've got detailed guides put together below.
Getting Started - Prerequisites, installation and configuration of the module
Sending Invoices - submitting invoices to KSeF and handling variations
Receiving & Importing Invoices - syncing incoming invoices, individual and batch import
Automation & Extra Features - scheduled jobs, status, REST API
Troubleshooting - common issues, error diagnosis, and where to get help

You can also find Dolibarr Here