Peppol-EN-16931-R120 [CII]
link
n.a.
description of test requirements (if necessary)
problem: BT-149 maps to both /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:BasisQuantity
and /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:NetPriceProductTradePrice/ram:BasisQuantity
,
but Peppol validation takes only ram:SpecifiedLineTradeAgreement/ram:NetPriceProductTradePrice/ram:BasisQuantity
into account:
<let name="baseQuantity" value="
if (ram:SpecifiedLineTradeAgreement/ram:NetPriceProductTradePrice/ram:BasisQuantity and xs:decimal(ram:SpecifiedLineTradeAgreement/ram:NetPriceProductTradePrice/ram:BasisQuantity) != 0) then
xs:decimal(ram:SpecifiedLineTradeAgreement/ram:NetPriceProductTradePrice/ram:BasisQuantity)
else
1"/>
An invoice with BT-149 ram:GrossPriceProductTradePrice/ram:BasisQuantity
will set BT-149 to 1 per default.
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
Edited by Barbara Dewein