Element 'ram:AppliedTradeTax' must occur at least 1 times.
A ram:SpecifiedLogisticsServiceCharge contains no ram:AppliedTradeTax. This element must occur at least once for each logistics service charge.
ram:AppliedTradeTax associates the applied tax information with the logistics service charge. Without it, the tax treatment of the charge is not fully described.
The tax information associated with a logistics service charge is missing. You can resolve this by including that information in the XML.
- Add at least one
ram:AppliedTradeTaxinsideram:SpecifiedLogisticsServiceCharge. - Regenerate the invoice and validate it again.
<ram:SpecifiedLogisticsServiceCharge/>
<ram:SpecifiedLogisticsServiceCharge> <ram:AppliedTradeTax/> </ram:SpecifiedLogisticsServiceCharge>
Technical details
The Schematron test counts the direct ram:AppliedTradeTax elements in the current ram:SpecifiedLogisticsServiceCharge and requires at least one.
The rule applies to ram:SpecifiedLogisticsServiceCharge at document level within the settlement and checks its tax information.
rule/@context)assert/@test)