Element 'ram:AppliedTradeTax' must occur at least 1 times.
ram:SpecifiedLogisticsServiceCharge does not contain an ram:AppliedTradeTax element.
ram:AppliedTradeTax provides tax information for the logistics service. Without this element, the tax information for the service is missing.
No tax information is included for the specified logistics service. Add the missing information so that the service has tax details.
- Find the relevant
ram:SpecifiedLogisticsServiceCharge. - Add at least one
ram:AppliedTradeTaxinside it. - Generate the invoice again and validate it again.
<ram:SpecifiedLogisticsServiceCharge/>
<ram:SpecifiedLogisticsServiceCharge> <ram:AppliedTradeTax/> </ram:SpecifiedLogisticsServiceCharge>
Technical details
The test uses count(ram:AppliedTradeTax)>=1 to check that at least one ram:AppliedTradeTax element is present.
The rule applies to ram:SpecifiedLogisticsServiceCharge in the document-level settlement information.
rule/@context)assert/@test)