einvoice / EN 16931 / XRechnung rule reference

BR-CL-23

Unit code MUST be coded per UN/ECE Rec 20 with Rec 21 extension.

Der Einheiten-Code MUSS gemäß der UN/ECE-Empfehlung 20 mit der Erweiterung Rec 21 codiert werden.

Deutsche Fassung: Übersetzung der gleichen BT/BG-Semantik (translation — not the official assert).

Requires
Unit code MUST be coded according to the UN/ECE Recommendation 20 with Rec 21 extension
Business terms
— (no single business term)
Syntax
Binds the UBL-2.1 Invoice / CreditNote syntax and the UN/CEFACT-CII syntax
Location (UBL-2.1 path)
cbc:InvoicedQuantity[@unitCode]
Fix
Encode `cbc:InvoicedQuantity[@unitCode]` using a valid value from UN/ECE Recommendation 20 with Rec 21 extension.
Fix (Deutsch)
Codieren Sie `cbc:InvoicedQuantity[@unitCode]` mit einem gültigen Wert aus der geforderten Codeliste: Der Einheiten-Code MUSS gemäß der UN/ECE-Empfehlung 20 mit der Erweiterung Rec 21 codiert werden.
Severity
fatal
Provenance source
en16931-ubl
Provenance assert

Unit code MUST be coded according to the UN/ECE Recommendation 20 with Rec 21 extension

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 CEN EN 16931 1.3.16 Schematron.

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