An invoice line has no unit · BR-23
- Severity · Error
- Applies to · UBL / CII
- Editorial review pending
This check concerns the unit of measure on the invoice line (BT-130). The unit distinguishes hours, pieces and other measures for the stated quantity.
As of
Who can correct it?
The sender can correct the invoice.
How to fix it
- Add the unit code that describes the quantity on the affected line.
- XML fields in the affected group · UBL cbc:InvoicedQuantity / cbc:CreditedQuantity in a UBL credit note · CII ram:SpecifiedLineTradeDelivery/ram:BilledQuantity
Rule text and source
Paraphrase · The billed or credited quantity must carry a unitCode attribute.
Message to the sender
Subject: Invoice {invoiceNumber} – An invoice line has no unit
Hello,
could you clarify a detail on your invoice {invoiceNumber} dated {issueDate} (BR-23)? This check concerns the unit of measure on the invoice line (BT-130). Add the unit code that describes the quantity on the affected line.
Could you send us the corrected invoice?
Thank you and kind regardsExample
A quantity of two hours has no unit. HUR identifies that quantity as hours.
UBL
cbc:InvoicedQuantity
Fails the rule
<cbc:InvoicedQuantity>2</cbc:InvoicedQuantity>
Corrected
<cbc:InvoicedQuantity unitCode="HUR">2</cbc:InvoicedQuantity>
CII
ram:SpecifiedLineTradeDelivery/ram:BilledQuantity
Fails the rule
<ram:BilledQuantity>2</ram:BilledQuantity>
Corrected
<ram:BilledQuantity unitCode="HUR">2</ram:BilledQuantity>Related rules
Business terms
BG-25
Rule versions
CEN · EN 16931 (KoSIT) 1.3.16
CEN · EN 16931 1.3.17