Skip to content
Paniolo
Documentation / Formats & modules

The right module for the job.

XML and the official rules are part of the core. Add PDF, rendering, JSON, the browser viewer, or the command line when you need them.

What Paniolo can do

DocumentFormatsWriteReadValidateEmbed in PDF/A-3
Invoice and credit note (EN 16931, XRechnung)UBL 2.1 Invoice / CreditNote, CII D16ByesyesXSD, EN 16931, XRechnung (KoSIT, packaged)yes (Factur-X)
XRechnung extensionUBL Invoice (sub invoice lines, third party payments)yesyesKoSIT extension scenario–
Factur-X / ZUGFeRD 2.x hybrid invoicePDF/A-3 with CII; MINIMUM, BASIC WL, BASIC, EN 16931, EXTENDED, XRECHNUNGyesyescontainer, PDF/A¹, XML by profile (FeRD, packaged)yes
French invoice EXTENDED-CTC-FR (XP Z12-012)CIIyesyesEXTENDED XSD, EXTENDED-CTC-FR and BR-FR (FNFE-MPE, packaged)–
ZUGFeRD 1.0 invoiceXML or PDFmigrate to ZUGFeRD 2yesZUGFeRD 1.0 XSD and Schematron, outdated warningmigration
Order, order change, order responseOrder-X 1.0 (BASIC, COMFORT, EXTENDED)yesyesOrder-X rules (packaged)yes
Despatch advice (delivery note)UBL 2.1 DespatchAdvice (Peppol BIS 3, 1Lieferschein), CIDAyesyesUBL XSD, Peppol rules² (UBL)yes (CIDA)
Quotation (Angebot)No XML syntax; visual PDF/A-3b and toInvoice()PDF onlynomodel checks–
All of the above modelsJSON (storage format)yesyesmodel checks–

¹ With the optional module paniolo-pdfa (veraPDF). ² The official Peppol Despatch Advice rules have no published license and are not distributed; you download and configure them once. Without them Paniolo validates as far as the packaged rules allow and says so in the result.

Choose your modules

You want to …Add
write, read, and validate XRechnung / EN 16931 XML, Order-X, despatch advicespaniolo
create, read, render, or validate PDFs (Factur-X / ZUGFeRD, Order-X, CIDA), also without a PDF of your ownpaniolo-facturx (includes paniolo)
check the PDF/A conformance of these PDFs as wellpaniolo-facturx and paniolo-pdfa
store the model as JSONpaniolo-json
show documents in the browser, or write them as standalone HTMLpaniolo-visualizer (web component, no dependencies)
validate, read, write, and convert documents from shell scriptsthe executable jar of paniolo-cli (GitHub Packages, not Maven Central)
migrate a Mustang integration step by steppaniolo-mustang (with your Mustang library)
use only a part, e.g. only the UBL writer, without the facadethe classes of paniolo, e.g. UblInvoiceWriter

All artifacts use the group ID io.github.nalukit. The optional PDF modules are found at runtime through ServiceLoader; there is nothing to configure. A PDF method called without the module raises an IllegalStateException that names the missing dependency.

Invoices & credit notes

Read and write UBL 2.1 and CII D16B at document, party, and line level. Validate EN 16931 and XRechnung 3.0.2 with the packaged KoSIT rules; documents stating XRechnung 1.2 to 2.3 are checked against the last release of their version. The XRechnung extension adds sub invoice lines and third party payments.

Hybrid invoices

Write, read, and validate Factur-X / ZUGFeRD PDF/A-3 in all six profiles with the packaged FeRD rules (ZUGFeRD 2.5.2 / Factur-X 1.09.2), with attachments and producer detection. embedXml embeds existing CII byte for byte. ZUGFeRD 1.0 is read, validated, and migrated to ZUGFeRD 2.

Profile EXTENDED & France

EXTENDED adds further parties, structured payment terms, logistics service charges, advance payments, sub-lines, and product details. The French profile EXTENDED-CTC-FR is written, read, and validated with the EXTENDED-CTC-FR Schematron and the BR-FR rules (France_RFE 1.4.0.04).

Orders & delivery notes

Order-X 1.0 orders, order changes, and responses (BASIC, COMFORT, EXTENDED with the COMFORT content) with the packaged official rules. Despatch advices after Peppol BIS 3, as 1Lieferschein, and as CIDA delivery notes in XML and PDF/A-3. Quotations (Angebot) with standard and optional lines are rendered as PDF and turned into the invoice of the accepted offer.

Reading received documents

Strict by default; ReadMode.LENIENT reads documents whose amounts the model does not reproduce and reports each deviation. importInvoice keeps the original XML and stated amounts, and export returns the original or the normalized document.

Validation findings

Findings carry rule ID, severity, XPath, and stage, plus an archivable XML report. Optional: calculation check (PANIOLO-CALC-*), rule statistics for audits, an acceptance policy for blocking warnings, and Mustang-compatible reporting of unknown documents.

Rendering & viewing

paniolo-facturx renders DIN 5008 invoices, orders, delivery notes, and validation reports as PDF/A-3b in German, English, and French, with logo, own fonts, accent color, and footer. paniolo-visualizer shows documents in the browser with <paniolo-viewer>.

Command line & migration

paniolo-cli validates, inventories, reads, converts, renders, and visualizes documents in scripts and CI, with exit codes and JSON output. paniolo-mustang maps Mustang invoices to the model and names every value it cannot carry over.

Know the boundaries

  • Rendered documents can be customized with logo, fonts, colors, and footer; for your own designs you provide the visual PDF/A document and Paniolo embeds the XML. Arbitrary PDFs are not converted to PDF/A.
  • Transmission through Peppol access points, email, or portals such as ZRE or OZG-RE is outside the library, as are recipient-specific requirements beyond the official rules.
  • Official Peppol Despatch Advice rules must be supplied separately.
  • New ZUGFeRD 1.0 documents are not written; XRechnung 1.0 and 1.1 are validated against the current rules.
  • CIDA validation is unavailable because no schema is published. Some Order-X EXTENDED and despatch advice details are outside the model.
  • Java versions below 21 are not supported.

See the detailed scope and profile limitations ↗