einvoice / EN 16931 / XRechnung rule reference

BR-DE-26

Type code 384 (Corrected invoice) should carry a PRECEDING INVOICE REFERENCE (BG-3).

Wenn im Element "Invoice type code" (BT-3) der Code 384 (Corrected invoice) übergeben wird, soll PRECEDING INVOICE REFERENCE BG-3 mind. einmal vorhanden sein.

Deutsche Fassung: Amtlicher KoSIT-Text (official KoSIT assert text).

Requires
type code 384 (Corrected invoice) should carry a PRECEDING INVOICE REFERENCE (BG-3).
Business terms
BG-3 BT-3
Syntax
Binds the UBL-2.1 Invoice / CreditNote syntax and the UN/CEFACT-CII syntax
Location (UBL-2.1 path)
cbc:InvoiceTypeCode
Fix
Correct `cbc:InvoiceTypeCode` so that type code 384 (Corrected invoice) should carry a PRECEDING INVOICE REFERENCE (BG-3).
Fix (Deutsch)
Korrigieren Sie `cbc:InvoiceTypeCode`, sodass gilt: Wenn im Element "Invoice type code" (BT-3) der Code 384 (Corrected invoice) übergeben wird, soll PRECEDING INVOICE REFERENCE BG-3 mind. einmal vorhanden sein.
Severity
warning
Provenance source
xrechnung-ubl
Provenance assert

Wenn im Element "Invoice type code" (BT-3) der Code 384 (Corrected invoice) übergeben wird, soll PRECEDING INVOICE REFERENCE BG-3 mind. einmal vorhanden sein.

The Location above is a UBL-2.1 path, and no UN/CEFACT-CII path for this rule is published here; Fix and Fix (Deutsch), verbatim from remediation_catalog.json and not reworded here; the UN/CEFACT-CII binding of this rule is differentially proven against the official KoSIT XRechnung 2.5.0 (XRechnung 3.0.2) Schematron.

Everything here is free and open source — pick up whatever helps, at your own pace: