Overview
How NomaUBL's UBL Defaults work — a base defaults file (ubl-defaults.xsl) plus optional per-template override layers, resolved field group by field group at generation time.
UBL Header Defaults
UBL Defaults — Header tab. UBL version, customization ID (BT-24), default country (BT-40 / BT-55) and per-template date input format.
Scheme IDs
UBL Defaults — Scheme IDs tab. ISO 6523 / UNTDID 1153 / EAS scheme identifiers attached to SIREN, SIRET, GLN, electronic endpoint and delivery location.
Invoice Type
UBL Defaults — Invoice Type tab. Default UBL invoice type code (BT-3) and rule-based selection driven by source XML conditions.
Business Process Type
UBL Defaults — Business Process Type tab. French Cadre de facturation (BT-23) — invoice nature (goods / services / mixed) and lifecycle stage (deposit / already paid / final / subcontracting / multi-vendor / e-reporting).
Payment Code Mapping
UBL Defaults — Payment tab. Default payment means code (BT-81) and source → UBL code mapping based on UNCL 4461.
Unit of Measure Mapping
UBL Defaults — Units tab. Default unit code (BT-130) and source → UN/ECE Recommendation 20 unit code mapping.
Currency Code Mapping
UBL Defaults — Currency tab. Default currency (BT-5) and source → ISO 4217 currency code mapping.
Document Type (BAR Routing)
UBL Defaults — Document Type tab. BAR routing classification (B2B / B2G / B2BINT / B2C / OUTOFSCOPE / ARCHIVEONLY / DOCUMENT) used to dispatch the document inside the Plateforme Agréée.
VAT Categories
UBL Defaults — VAT tab. Default VAT category, zero rate, source → UBL category mapping (BT-118 / BT-151) and category → VATEX exemption-code mapping (BT-121).
Country & Classification
UBL Defaults — Country & Classification tab. Sets the source-side format for the line country of origin (BT-159) and the fallback classification code, scheme listID and version (BT-158).
Allowances / Charges
NomaUBL UBL Defaults — Allowances / Charges tab: default reason code picked from the UNTDID 5189 (allowances) and 7161 (charges) lists, default reason text, and mapping of source codes to UBL codes, for document and line allowances and charges.
Suppliers / Companies
UBL Defaults — Suppliers tab. Directory of seller (AccountingSupplierParty) records used as defaults when the source XML omits them, keyed by company code.
French Legal Notes
UBL Defaults — Notes tab. Document-level legal notes (BT-22) carrying mandatory French wording — payment delay, recovery fee, general terms — with note-type prefix.