Description
Deterministic parser for Italian electronic invoices (FatturaPA FPR12/FPA12) from XML to typed JSON: supplier and customer (name, VAT, tax code), document type, number, date, total, ALL line items with prices and VAT rates, per-rate VAT summaries and payment due dates. Namespace-agnostic XPath on the libxml2 engine, optional validation against the official v1.2.2 schema (offline). Unlike an LLM re-reading the XML, extracted amounts are EXACT and repeatable — feed the clean JSON to AI, databases or your ERP.
