Validation rules

BR-CL-20 — EN 16931 rule

A charge reason code (BT-105 document level, BT-145 line level) is not a UNTDID 7161 code.

Rule
BR-CL-20 — official EN 16931 / XRechnung rule
Severity
error

How to fix it

Use a UNTDID 7161 code (e.g. "FC" freight, "ZZZ" mutually defined) as the charge reason_code, or state the reason as free text in reason instead.

BR-CL-20 auf Deutsch — was bedeutet der Fehler?

Der Begründungscode eines Zuschlags (BT-105 Dokumentebene, BT-145 Positionsebene) stammt nicht aus der UNTDID 7161. Der KoSIT-Validator lehnt das Dokument ab.

So beheben Sie den Fehler

Verwenden Sie einen UNTDID-7161-Code (z. B. "FC" für Fracht oder "ZZZ" für frei vereinbart) im reason_code des Zuschlags — oder geben Sie stattdessen reason als Freitext an.

Related rules

  • BR-CL-19 — An allowance reason code (BT-98 document level, BT-140 line level) is not part of the UNCL 5189 subset EN…
  • BR-CL-21 — The scheme of an item standard identifier (BT-157 schemeID) is not part of the ISO/IEC 6523 ICD list.
  • BR-CL-22 — A VAT exemption reason code (BT-121) is not part of the VATEX code list.
  • BR-CL-18 — A line VAT category code (BT-151) is not one of the UNCL 5305 values EN 16931 permits (AE, L, M, E, S, Z, G,…
  • BR-CL-17 — A VAT category code at document level (BT-95, BT-102 or BT-118) is not one of the UNCL 5305 values EN 16931…
  • BR-CL-23 — A unit code (BT-130 invoiced quantity, BT-150 price base quantity) is not part of UN/ECE Recommendation…

Official sources

Every 422 from the API lists the rule id, the path in your request JSON, a plain-language message and a suggested fix — see the docs overview for the report format.

Or try it live: drop any XRechnung XML on the free validator — same KoSIT-backed report, no account.

Spotted something?

Bug, missing feature, wrong validation result — tell us. The page you're on is attached automatically; email optional.