PEPPOL-EN16931-R130: Unit code of price base quantity MUST be same as invoiced quantity.
Severity: fatal · Syntax: CII, UBL
Official message
Unit code of price base quantity MUST be same as invoiced quantity.
What this means
The official message is: Unit code of price base quantity MUST be same as invoiced quantity. 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
—
Related rules
Context and assertion
UBL cac:Price/cbc:BaseQuantity[@unitCode]
CII ram:NetPriceProductTradePrice/ram:BasisQuantity[@unitCode] | ram:GrossPriceProductTradePrice/ram:BasisQuantity[@unitCode]
UBL
not($hasQuantity) or @unitCode = $quantity/@unitCodeCII
@unitCode = ../../../ram:SpecifiedLineTradeDelivery/ram:BilledQuantity/@unitCode
Check a file now, free of charge
curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate