Peppol-EN-16931-R130 [CII]
link
n.a.
description of test requirements (if necessary)
"Unit code of price base quantity MUST be same as invoiced quantity."
BT-150 maps to /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:BasisQuantity/@unitCode
in reference to BT-149 /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:BasisQuantity
BT-149 also maps to /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:NetPriceProductTradePrice/ram:BasisQuantity/@unitCode
.
The syntax mapping lists
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:NetPriceProductTradePrice/ram:BasisQuantity/@unitCode
in relation to the latter BT-149 path, but does not list a second BT-150 ID.
Peppol CII rule R130 validates both @unitCode
attributes, though, and both should be considered here as well.
tasks
-
test in xrechnung-schematron created (@assignee) -
QS test (@reviewer), e.g.: - test is applied to correct element(s)
- rule called by mutator is correct
- file name refers to correct rule
-
QS rule (@reviewer), e.g.: - correct context