Element 'ram:TaxBasisTotalAmount' must occur exactly 1 times.
ram:TaxBasisTotalAmount is missing from ram:SpecifiedTradeSettlementHeaderMonetarySummation or occurs more than once. The rule requires exactly one such element.
ram:TaxBasisTotalAmount gives the invoice’s total VAT taxable amount. A single value ensures that this total is unambiguous.
The total taxable amount is missing or entered more than once. You can resolve this by having exactly one ram:TaxBasisTotalAmount.
- Find
ram:SpecifiedTradeSettlementHeaderMonetarySummationin the invoice. - Check that it contains exactly one
ram:TaxBasisTotalAmount. - Regenerate the invoice and validate it again.
<ram:SpecifiedTradeSettlementHeaderMonetarySummation/>
<ram:SpecifiedTradeSettlementHeaderMonetarySummation> <ram:TaxBasisTotalAmount>100.00</ram:TaxBasisTotalAmount> </ram:SpecifiedTradeSettlementHeaderMonetarySummation>
Technical details
The rule counts the ram:TaxBasisTotalAmount elements directly under ram:SpecifiedTradeSettlementHeaderMonetarySummation and requires the count to equal one.
The rule applies to the monetary settlement totals in ram:SpecifiedTradeSettlementHeaderMonetarySummation.
rule/@context)assert/@test)