An invoice note has a subject code outside the list · BR-CL-08
- Severity · Error
- Applies to · UBL / CII
- Editorial review pending
The check concerns the subject code of an invoice note (BT-21). UBL reads the three-character code between the first two hash marks of the note. CII has a separate ram:SubjectCode field.
As of
Who can correct it?
The sender can correct the invoice.
How to fix it
- Choose the code for the actual value from the subset of UNTDID 4451 used in the check. Check that your invoicing software uses the list for the selected format.
- XML fields in the affected group · UBL cbc:Note am Dokumentkopf · CII ram:SubjectCode
Rule text and source
Paraphrase · The code for the subject code of an invoice note (BT-21) must come from the subset of UNTDID 4451 used in the check.
Message to the sender
Subject: Invoice {invoiceNumber} – An invoice note has a subject code outside the list
Hello,
could you clarify a detail on your invoice {invoiceNumber} dated {issueDate} (BR-CL-08)? The check concerns the subject code of an invoice note (BT-21). Please check the code against the list for the invoice format and send us the corrected invoice.
Thank you and kind regardsExample
A general note can use AAI. ZQX is outside the list. In UBL the code goes before the text as #AAI#.
UBL
cbc:Note am Dokumentkopf
Fails the rule
<cbc:Note>#ZQX#Reference on request</cbc:Note>
Corrected
<cbc:Note>#AAI#Reference on request</cbc:Note>
CII
ram:SubjectCode
Fails the rule
<ram:SubjectCode>ZQX</ram:SubjectCode>
Corrected
<ram:SubjectCode>AAI</ram:SubjectCode>Rule versions
CEN · EN 16931 (KoSIT) 1.3.16
CEN · EN 16931 1.3.17