BR-23: An Invoice line (BG-25) shall have an Invoiced quantity unit of measure code (BT
Severity: fatal ยท Syntax: CII, UBL
Official message
An Invoice line (BG-25) shall have an Invoiced quantity unit of measure code (BT-130).
What this means
The official message is: An Invoice line (BG-25) shall have an Invoiced quantity unit of measure code (BT-130). This page does not add a further obligation.
Typical cause
The assertion in the context above failed for this file.
How to fix it
Adjust the file so the assertion succeeds, then validate it again. This page helps you read the rule.
Business term
BG-25, BT-130
Related rules
Context and assertion
UBL cac:InvoiceLine | cac:CreditNoteLine
CII //ram:IncludedSupplyChainTradeLineItem
UBL
exists(cbc:InvoicedQuantity/@unitCode) or exists(cbc:CreditedQuantity/@unitCode)CII
(ram:SpecifiedLineTradeDelivery/ram:BilledQuantity/@unitCode)
Check a file now, free of charge
curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate