ODOO 19 · POLISH B2B E-INVOICING MANDATE
Poland KSeF B2B E-Invoicing & FA(2) Validator
Mandatory Polish structured e-invoicing under the National e-Invoicing System (KSeF): FA(2) XML schema generation, NIP Modulo 11 validation, and 36-character reference tracking.
The Polish Ministry of Finance mandates structured electronic invoicing via KSeF for domestic B2B transactions. This module generates official FA(2) XML files compliant with Ministry schemas, validates 10-digit Polish NIP tax numbers with official mathematical check digits, tracks official 36-character KSeF identifiers, and embeds compliance QR boxes onto invoice PDFs.
FA(2) Schema
Official Ministry of Finance XML
NIP Modulo 11
Strict 10-digit tax ID validation
36-Char ID
Official KSeF reference number
QR Box
Embedded invoice PDF box
Real Odoo 19 Interface in Action
Seamless accounting workflow with NIP verification, FA(2) export buttons, and KSeF acceptance status tracking.
Three steps to Polish e-invoicing compliance
01 · VALIDATE NIP
Automated Checksum
Upon customer entry or invoice posting, Odoo calculates the official Modulo 11 weighted checksum (6, 5, 7, 2, 3, 4, 5, 6, 7) on 10-digit NIP numbers to eliminate rejected submissions.
02 · GENERATE XML
FA(2) Architecture
Generate structured FA(2) XML files directly from customer invoices, covering header nodes, seller and buyer identification, tax totals, and itemized VAT rates.
03 · RECORD 36-CHAR ID
Official Fiscal Stamp
Store the 36-character confirmation identifier issued by KSeF. Customer invoice PDFs automatically render the certified KSeF verification box and QR code.
Technical Specifications
| Mandate | Krajowy System e-Faktur (KSeF) · Polish Ministry of Finance B2B E-Invoicing Law. |
| XML Schema | Schema FA(2) — structured Faktura VAT containing Podmiot1, Podmiot2, and Fa elements. |
| NIP Algorithm | Official 10-digit Modulo 11 mathematical checksum validation with PL prefix stripping. |
| Status Tracking | Draft · XML Generated · KSeF Sent · Accepted (36-char ID recorded) · Rejected. |
| Compatibility | Odoo 19.0 Community & Enterprise. Multi-company supported. Zero external libraries. |
Frequently Asked Questions
Does it work for domestic and foreign transactions?
The module enforces KSeF compliance for domestic Polish B2B invoices while gracefully accommodating intra-EU and export transactions according to Polish VAT rules.
Can I customize the generated XML fields?
Yes. The XML generation logic is built cleanly in an isolated service architecture, making it easy to extend for industry-specific tax exemptions or special fiscal procedures.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module