BR-DE-17 KoSIT XRechnung 3.0.2 DE AVERTISSEMENT SCHEMATRON
BR-DE-17 — Sous-ensemble recommandé de codes type de facture (BT-3) en XRechnung
Définition de la règle & impact conformité
La règle BR-DE-17 vérifie que le code type de facture (BT-3) appartient aux codes XRechnung allemands : 326 (facture partielle), 380 (facture commerciale), 384 (rectificative), 389 (autofacturation), 381 (avoir) ou 875, 876, 877 (travaux).
Causes fréquentes dans les logiciels de facturation
Les systèmes français exportent vers l'Allemagne le code d'acompte 386 ou de note de débit 383 alors que XRechnung privilégie le code 326.
Comment corriger cette anomalie
Utilisez 380 (facture standard), 326 (acompte/facture partielle), 384 (rectificative), 381 (avoir) ou 875–877 pour les décomptes de chantier allemands.
Comparaison XML : Non conforme vs Conforme
UN/CEFACT CII D16B (Factur-X / ZUGFeRD)
REJETÉ
<rsm:ExchangedDocument>
<ram:ID>XR-2026-088</ram:ID>
<!-- TypeCode 383 (Debit note) triggers KoSIT BR-DE-17 warning -->
<ram:TypeCode>383</ram:TypeCode>
</rsm:ExchangedDocument> CONFORME
<rsm:ExchangedDocument>
<ram:ID>XR-2026-088</ram:ID>
<!-- XRechnung core type codes: 326, 380, 384, 389, 381, 875, 876, 877 -->
<ram:TypeCode>380</ram:TypeCode>
</rsm:ExchangedDocument>OASIS UBL 2.1 (Peppol / XRechnung / RO e-Factura)
REJETÉ
<Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<cbc:ID>XR-2026-088</cbc:ID>
<cbc:InvoiceTypeCode>383</cbc:InvoiceTypeCode>
</Invoice> CONFORME
<Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<cbc:ID>XR-2026-088</cbc:ID>
<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
</Invoice>