Reference
Markdown exportBR-CL-08 Invoice note subject code must come from UNCL4451
When an invoice note (BT-22) carries a subject code (BT-21), that code must belong to the UNCL4451 list used by EN 16931.
Problem Description
ERROR
EN 16931 code-list rule (BR-CL)
Interactive pipeline
Where BR-CL-08 is checked
Click a stage to see what it checks, or type a rule ID to light up the stage that reports it.
BR-CL-08 EN 16931 code list rule
Reported in stage 2: EN 16931 rules.
Level error: the report recommends rejecting the invoice.
Stage 2 · What it checks
EN 16931 rules
- The core business terms are present (BR-01 to BR-65).
- Totals add up and related fields agree (BR-CO); codes and decimals are valid (BR-CL, BR-DEC).
- Each VAT category is consistent: S, Z, E, AE, K, G, O, L, M (BR-S, BR-Z, BR-AE, BR-IC …).
Example codes
Typical fix
Recalculate totals and VAT from the line data, and correct the VAT category in the source data.
Solution
In UBL, put the code in capital letters between two hash signs at the start of cbc:Note, e.g. "#AAI#General information" or "#REG#...". In CII, put the code in ram:IncludedNote/ram:SubjectCode. A note without a subject code is also valid.
Quick actions
Context and Significance
In UBL, the validator reads the text between the first two hash signs of a note as a subject code, but only when it is exactly three characters long. A lowercase code ("#aai#") or a three-character code outside the list ("#XYZ#") therefore fails, while a single hash sign in free text, such as "Delivery note #4711", does not. In CII, every ram:SubjectCode is checked. Example: "#AAI#Please quote the order number" passes.
Valid Examples
- Note = "#AAI#General information"
- Note = "Delivery note #4711" — a single hash sign is not read as a code
Invalid Examples
- Note = "#XYZ#..." — XYZ is not a UNCL4451 code
- Note = "#aai#..." — lowercase; codes are case-sensitive
Code Examples
<cbc:Note>#AAI#General information for the buyer</cbc:Note><cbc:Note>#XYZ#General information for the buyer</cbc:Note>