EN 16931 core rules (BR)Error
BR-23 Invoiced quantity unit of measure missing
What BR-23 means
Every invoice line must contain the field “Invoiced quantity unit of measure” (BT-130). In your file it is missing or empty, so the invoice does not meet the standard.
Error: the invoice is not valid until this is fixed.
Common causes
- The field was left empty in the invoicing software.
- The software stores the information but does not write it into the XML export.
- The value only appears in the PDF or in a free text, not in the structured field.
How to fix BR-23
- Fill in “Invoiced quantity unit of measure” in your invoicing software, on the invoice or in the master data it comes from.
- If the field is filled in but still reported, ask your software provider to export it as BT-130.
- Create the invoice again and check the new file.
Where the fields are in the XML
BT-130Invoiced quantity unit of measure- UBL
cac:InvoiceLine/cbc:InvoicedQuantity/@unitCode- CII
ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeDelivery/ram:BilledQuantity/@unitCode
UBL paths start below the Invoice element. CII paths start below rsm:SupplyChainTradeTransaction unless they begin with rsm:.