Reference
Markdown exportBR-CL-08 Invoice note subject code must come from UNCL4451
When an invoice note (BT-21) carries a subject code, that code must belong to the UNCL4451 code list.
Problem Description
When an invoice note (BT-21) carries a subject code, that code must belong to the UNCL4451 code list.
ERROR
XRechnung 3.0
Context and Significance
This EN16931 core code-list rule only constrains the subject qualifier; the free-text note itself remains unrestricted.
Solution
In UBL, prefix the note with a UNCL4451 code between hashes, e.g. "#AAI#General information" or "#REG#..."; a free-text note without a code is also accepted.
Quick actions
Valid Examples
Use these points as the practical checks for this section.
- Note = "#AAI#General information"
- Note = "Delivery next week" — no code, allowed
Invalid Examples
Use these points as the practical checks for this section.
- Note = "#XYZ#..." — XYZ is not a UNCL4451 code
- Note = "#AA#..." — code is not three characters
Code Examples
Valid XML
<cbc:Note>#AAI#General information for the buyer</cbc:Note>Invalid XML
<cbc:Note>#XYZ#General information for the buyer</cbc:Note>