Attribute '@schemeID' is required in this context.
The ID element in SpecifiedTaxRegistration is missing the schemeID attribute.
The schemeID attribute identifies the scheme of the tax registration ID.
The ID element for the end user's tax registration is missing schemeID. You can add the missing attribute.
- Find the
IDelement inSpecifiedTaxRegistrationunderProductEndUserTradeParty. - Add the
schemeIDattribute to theIDelement. - Generate the invoice again and validate it again.
<ram:SpecifiedTaxRegistration> <ram:ID>123456789</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The Schematron test checks whether the schemeID attribute is present on the context node.
The rule applies to the schemeID attribute of the ID element in the end user's SpecifiedTaxRegistration.
rule/@context)assert/@test)