Validateur EN 16931 — facture électronique UBL
Sur cette page
Le validateur EN 16931 couvre le cœur de la norme européenne
d'e-invoicing (EN 16931-1:2017) — celle qui sous-tend PEPPOL BIS Billing 3.0,
XRechnung et Factur-X. Il accepte les factures et avoirs UBL, détecte automatiquement
le CIUS via le CustomizationID, et exécute 30 règles avec leurs
identifiants, sévérités et libellés officiels : 28 règles métier de la version
CEN 1.3.16, BR-CO-25 dans sa version reprise par Peppol et la règle XRechnung BR-DE-15.
Résultats de validation
Collez une facture UBL pour la valider contre les règles EN 16931.
Comment ça marche
Le validateur parse la facture UBL (Invoice ou CreditNote), extrait les Business Terms (BT-1 à BT-131) puis exécute deux familles de règles :
- Présence (BR-01 → BR-16, BR-CO-26) — éléments obligatoires : identifiants, dates, parties, noms légaux (BT-27, BT-44), adresses, totaux, lignes.
- Calcul (BR-CO-10 → BR-CO-19) — cohérence des totaux : somme des lignes, remises et frais, total HT, TVA, TTC, montant à payer.
Les montants sont comparés comme dans la Schematron officielle : arrondis à deux décimales, puis égalité exacte — un écart d'un centime est une erreur.
EN 16931 vs PEPPOL BIS 3.0
EN 16931 est la norme ; PEPPOL BIS Billing 3.0 est un CIUS (Core Invoice Usage Specification) qui s'appuie dessus et ajoute ses propres règles (EAS code list, PEPPOL-EN16931-R-*, UBL-CR-*). Si vous visez précisément PEPPOL, le Validateur PEPPOL couvre l'ensemble. Le validateur EN 16931 reste pertinent pour XRechnung, Factur-X et tout CIUS qui dérive directement de la norme sans s'aligner sur PEPPOL.
CIUS supportés
- EN 16931 core — la norme sans surcouche
- PEPPOL BIS Billing 3.0 — détecté, mais redirige vers l'outil dédié
- XRechnung 3.0 — détecté par son CustomizationID officiel ; ajoute la règle KoSIT BR-DE-15 (référence acheteur / Leitweg-ID obligatoire)
- Factur-X EN 16931 (syntaxe UBL) — reconnu ; règles EN 16931 core appliquées
Règles implémentées (30)
La liste ci-dessous est générée depuis le catalogue de règles du validateur : ce qui est affiché ici est exactement ce que l'outil contrôle.
Présence des éléments obligatoires(18)
| Règle | Sévérité | Libellé |
|---|---|---|
BR-01 | erreur | An Invoice shall have a Specification identifier (BT-24). |
BR-02 | erreur | An Invoice shall have an Invoice number (BT-1). |
BR-03 | erreur | An Invoice shall have an Invoice issue date (BT-2). |
BR-04 | erreur | An Invoice shall have an Invoice type code (BT-3). |
BR-05 | erreur | An Invoice shall have an Invoice currency code (BT-5). |
BR-06 | erreur | An Invoice shall contain the Seller name (BT-27). |
BR-07 | erreur | An Invoice shall contain the Buyer name (BT-44). |
BR-08 | erreur | An Invoice shall contain the Seller postal address. |
BR-09 | erreur | The Seller postal address (BG-5) shall contain a Seller country code (BT-40). |
BR-10 | erreur | An Invoice shall contain the Buyer postal address (BG-8). |
BR-11 | erreur | The Buyer postal address shall contain a Buyer country code (BT-55). |
BR-12 | erreur | An Invoice shall have the Sum of Invoice line net amount (BT-106). |
BR-13 | erreur | An Invoice shall have the Invoice total amount without VAT (BT-109). |
BR-14 | erreur | An Invoice shall have the Invoice total amount with VAT (BT-112). |
BR-15 | erreur | An Invoice shall have the Amount due for payment (BT-115). |
BR-16 | erreur | An Invoice shall have at least one Invoice line (BG-25) |
BR-CO-26 | erreur | In order for the buyer to automatically identify a supplier, the Seller identifier (BT-29), the Seller legal registration identifier (BT-30) and/or the Seller VAT identifier (BT-31) shall be present. |
BR-DE-15 | erreur | Das Element "Buyer reference" (BT-10) muss übermittelt werden. (The Buyer reference (BT-10) — Leitweg-ID for German public buyers — must be transmitted.) |
Cohérence des calculs(11)
| Règle | Sévérité | Libellé |
|---|---|---|
BR-CO-10 | erreur | Sum of Invoice line net amount (BT-106) = Σ Invoice line net amount (BT-131). |
BR-CO-11 | erreur | Sum of allowances on document level (BT-107) = Σ Document level allowance amount (BT-92). |
BR-CO-12 | erreur | Sum of charges on document level (BT-108) = Σ Document level charge amount (BT-99). |
BR-CO-13 | erreur | Invoice total amount without VAT (BT-109) = Σ Invoice line net amount (BT-131) - Sum of allowances on document level (BT-107) + Sum of charges on document level (BT-108). |
BR-CO-14 | erreur | Invoice total VAT amount (BT-110) = Σ VAT category tax amount (BT-117). |
BR-CO-15 | erreur | Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110). |
BR-CO-16 | erreur | Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) -Paid amount (BT-113) +Rounding amount (BT-114). |
BR-CO-18 | erreur | An Invoice shall at least have one VAT breakdown group (BG-23). |
BR-CO-19 | erreur | If Invoicing period (BG-14) is used, the Invoicing period start date (BT-73) or the Invoicing period end date (BT-74) shall be filled, or both. |
BR-29 | erreur | If both Invoicing period start date (BT-73) and Invoicing period end date (BT-74) are given then the Invoicing period end date (BT-74) shall be later or equal to the Invoicing period start date (BT-73). |
BR-CO-25 | erreur | In case the Amount due for payment (BT-115) is positive, either the Payment due date (BT-9) or the Payment terms (BT-20) shall be present. |
Catégories de TVA(1)
| Règle | Sévérité | Libellé |
|---|---|---|
BR-E-10 | erreur | A VAT breakdown (BG-23) with VAT Category code (BT-118) "Exempt from VAT" shall have a VAT exemption reason code (BT-121) or a VAT exemption reason text (BT-120). |
Confidentialité
Cet outil tourne dans votre navigateur : ce que vous collez ou chargez est traité localement et n'est jamais envoyé à un serveur.