BR-DE-17 KoSIT XRechnung 3.0.2 DE AVERTISMENT SCHEMATRON
BR-DE-17 — Coduri de tip factură recomandate în XRechnung (BT-3)
Ce înseamnă această regulă și de ce blochează factura
Regula BR-DE-17 verifică încadrarea codului BT-3 în lista XRechnung: 326 (factură parțială), 380 (factură comercială), 384 (factură corectată), 389 (autofacturare), 381 (factură storno) sau 875, 876, 877 (construcții).
De ce apare de obicei în programele de facturare / ERP
Programele ERP transmit coduri precum 383 sau 386 către parteneri germani, declanșând avertismentul Schematron BR-DE-17.
Cum corectați eroarea
Folosiți codul 380 pentru facturi comerciale standard, 326 pentru facturi parțiale / de avans, 384 pentru corecții și 381 pentru facturi storno.
Exemplu XML: Greșit (respins) vs. Corect (valid)
UN/CEFACT CII D16B (Factur-X / ZUGFeRD)
RESPINS
<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> CORECT
<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 (RO e-Factura / Peppol / XRechnung)
RESPINS
<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> CORECT
<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>