Menu

Open-Sourcing a Zero-Dependency Peppol BIS 3.0, UBL 2.1 & FatturaPA XML E-Invoice Parser for Node.js
📰

Open-Sourcing a Zero-Dependency Peppol BIS 3.0, UBL 2.1 & FatturaPA XML E-Invoice Parser for Node.js

DEV Community: node·Trần Hoàng Tú·7 days ago
#GQx0Rdob
#devtonodejs#devto#dev#invoice#peppol
Long article (503 words) — no AI summary yet.
Reading 0:00
15s threshold

Handling electronic invoices across regions shouldn't require pulling 40 transitive XML dependencies or uploading sensitive financial records to a third-party SaaS API. Today I am open-sourcing peppol-ubl-einvoice-parser under the MIT license — a pure ES Module XML electronic invoice parser and arithmetic auditor with 0 npm dependencies .

Why Another XML E-Invoice Parser?

Most generic XML-to-JSON libraries strip namespace context, struggle with regional e-invoicing dialects, and treat invoice amounts as opaque strings. Whether you are reconciling B2B procurement feeds in Europe or automating VAT compliance in Southeast Asia, you typically need to handle four incompatible schemas:

OASIS UBL 2.1 & Peppol BIS 3.0 ( Invoice / CreditNote )

German XRechnung / UN/CEFACT CII ( CrossIndustryInvoice )

Italian FatturaPA ( FatturaElettronica )

Vietnam GDT Circular 78 ( HDon / DLHDon )

Equally important, well-formed XML does not guarantee mathematically valid totals.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.