EN 16931, XRechnung 3.0, France 2026 & Peppol Rule Reference
Every deterministic business rule evaluated by FacturKite's integer-cent validation engine—with exact BT/BG element mappings, failing vs. passing XML snippets, and direct workbench repair links.
EN 16931 Core
Every EN 16931 invoice must declare a non-empty specification identifier (CustomizationID / GuidelineSpecifiedDocumentContextParameter).
An invoice must contain a unique, non-blank invoice identifier in BT-1.
An invoice must contain a valid calendar issue date formatted as YYYY-MM-DD (or CII format 102 YYYYMMDD).
An invoice must declare a valid UNTDID 1001 numeric document type code (e.g., 380 for commercial invoice, 381 for credit note).
Every invoice must carry a valid 3-letter ISO 4217 currency code in BT-5.
An invoice must contain the full legal name of the seller in BT-27.
An invoice must contain the full legal name of the buyer in BT-44.
An invoice must include a Seller postal address group (BG-5).
The Seller postal address must specify a valid ISO 3166-1 alpha-2 country code in BT-40.
An invoice must include a Buyer postal address group (BG-8).
The Buyer postal address must specify a valid ISO 3166-1 alpha-2 country code in BT-55.
Document totals must state BT-106 (LineExtensionAmount / LineTotalAmount).
Document totals must declare BT-109 (TaxExclusiveAmount / TaxBasisTotalAmount).
Document totals must declare BT-112 (TaxInclusiveAmount / GrandTotalAmount).
Document totals must state BT-115 (PayableAmount / DuePayableAmount).
Every EN 16931 invoice must contain at least one InvoiceLine / IncludedSupplyChainTradeLineItem (BG-25).
An invoice containing VAT-subject lines (category other than O) must provide a Seller VAT identifier (BT-31) or Seller tax registration identifier (BT-32).
Each invoice line must have a non-empty identifier in BT-126.
Each invoice line must declare a numeric invoiced quantity in BT-129.
Each invoice line must specify a 1-3 character UNECE Recommendation 20/21 unit code in BT-130.
Each invoice line must contain a line net amount (LineExtensionAmount) in BT-131.
Each invoice line must contain a non-empty item name in BT-153.
Each invoice line must declare an item net price in BT-146.
The item net price (BT-146) must never be negative (>= 0).
The line VAT rate (BT-152) must match the selected VAT category (BT-151): >0 for S, 0 for Z/E/AE/K/G, omitted for O, and within 0-100%.
Integer-Cent Arithmetic
Every invoice line must declare a valid UNCL5305 VAT category code: S, Z, E, AE, K, G, O, L, or M.
BT-106 must equal the exact sum of all invoice line net amounts (BT-131) in integer cents.
BT-107 (AllowanceTotalAmount) must equal the exact sum of all document-level allowance amounts (BG-20).
BT-108 (ChargeTotalAmount) must equal the exact sum of all document-level charge amounts (BG-21).
BT-109 must equal BT-106 (line sum) minus BT-107 (allowances) plus BT-108 (charges).
BT-110 must equal the exact sum of VAT category tax amounts (BT-117), and each VAT breakdown taxable base (BT-116) must match the sum of lines and adjustments in that tax band.
BT-112 (TaxInclusiveAmount) must equal BT-109 (TaxExclusiveAmount) plus BT-110 (Invoice total VAT amount).
BT-115 (PayableAmount) must equal BT-112 (TaxInclusiveAmount) minus BT-113 (PaidAmount) plus BT-114 (PayableRoundingAmount).
Each VAT breakdown band's tax amount (BT-117) must equal its taxable amount (BT-116) multiplied by its VAT rate (BT-119) divided by 100.
An invoice must contain at least one VAT breakdown band (BG-23) covering every distinct (VAT category, VAT rate) present on lines or adjustments.
When the amount due for payment (BT-115) is positive (> 0), the invoice must include either a payment due date (BT-9) or payment terms (BT-20).
German XRechnung 3.0
Every XRechnung invoice (except credit notes type 381) must include a BG-16 Payment Instructions block with a valid PaymentMeansCode.
XRechnung 3.0 mandates all three Seller Contact fields inside BG-6: contact name (BT-41), telephone number (BT-42), and email address (BT-43).
Every XRechnung must carry BT-10 (BuyerReference). When a German public-sector Leitweg-ID is supplied, its trailing two-digit Mod-97 check digits must be valid.
XRechnung 3.0 restricts BT-3 to the German subset of UNTDID 1001 codes: 326, 380, 381, 384, 389, 875, 876, or 877.
XRechnung 3.0 documents must declare the exact URN urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0 in BT-24.
When PaymentMeansCode is 30 (Credit transfer) or 58 (SEPA credit transfer), XRechnung requires a PayeeFinancialAccount IBAN or account ID in BG-17.
France 2026 & Peppol / Checksums
Domestic French B2B invoices (FR seller to FR buyer) must include a 9-digit Buyer SIREN (scheme 0002) passing the Luhn checksum.
Domestic French B2B invoices must explicitly declare the operation category: Goods (Livraison de biens), Services (Prestation de services), or Mixed.
Domestic French B2B invoices must declare whether VAT is accounted for on debits (Debits) or under standard rules (Standard).
Whenever delivery takes place at an address different from the buyer's billing address, French B2B invoices must provide full street, postcode, city, and ISO country code in BG-15.
Declared Seller (BT-31) or Buyer (BT-48) EU VAT IDs must match their member state's official format (e.g., DE + 9 digits, FR + 2 chars + 9 digits, NL + 9 digits + B + 2 digits).
Any declared IBAN in BT-84 must match its country's exact character length (e.g., DE=22, FR=27, NL=18) and satisfy the ISO 13616 Mod-97 checksum == 1.
Peppol BIS Billing 3.0 invoices must set BT-23 (ProfileID) to urn:fdc:peppol.eu:2017:poacc:billing:01:1.0, and XRechnung requires a non-empty BT-23.
Every Peppol BIS Billing 3.0 invoice must carry at least one of BuyerReference (BT-10) or OrderReference/ID (BT-13).
Peppol BIS Billing 3.0 documents must declare urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0 in BT-24.
Both Peppol BIS 3.0 and XRechnung 3.0 require a Buyer EndpointID (BT-49) paired with a 4-digit EAS schemeID attribute.
Both Peppol BIS 3.0 and XRechnung 3.0 require a Seller EndpointID (BT-34) paired with a 4-digit EAS schemeID attribute.
Each line's BT-131 net amount must equal round((BT-129 quantity * BT-146 net price / BT-149 base quantity) + line charges - line allowances) in exact integer cents.
Run all 54 deterministic checks free in your browser or CLI.
Zero signup required for XML & Hybrid PDF validation, safe arithmetic repair, and Verification Certificate PDF export.