Element 'ram:BasisAmount' must occur exactly 1 times.
ram:BasisAmount is missing from ram:ApplicableTradeTax or occurs more than once. It must occur exactly once.
ram:BasisAmount contains the amount used as the basis for the corresponding VAT breakdown entry.
ram:BasisAmount does not occur exactly once in the VAT breakdown entry. You can resolve this by including the element once in the entry.
- Find the relevant
ram:ApplicableTradeTax. - Check that
ram:BasisAmountoccurs exactly once in it. - Regenerate the invoice and check it again.
<ram:ApplicableTradeTax/>
<ram:ApplicableTradeTax> <ram:BasisAmount>0</ram:BasisAmount> </ram:ApplicableTradeTax>
Technical details
The test counts the direct ram:BasisAmount elements within ram:ApplicableTradeTax and requires a count of 1.
The rule applies to each ram:ApplicableTradeTax element in the document-level VAT breakdown.
rule/@context)assert/@test)