Attribute '@schemeID' is required in this context.
The ram:ID element is missing the schemeID attribute. This attribute is required in this context.
The scheme identifier associates the tax-registration identifier with an identification scheme.
The ram:ID element in the buyer agent’s tax registration is missing the schemeID attribute. You can add the identifier to this element.
- Find
ram:IDinram:SpecifiedTaxRegistrationunderram:BuyerAgentTradeParty. - Add the required
schemeIDattribute toram:ID. - Generate the invoice again and validate it.
<ram:SpecifiedTaxRegistration> <ram:ID>12345</ram:ID> </ram:SpecifiedTaxRegistration>
<ram:SpecifiedTaxRegistration> <ram:ID schemeID="…">12345</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The test checks for the presence of the @schemeID attribute on ram:ID.
Applies to the schemeID attribute of ram:ID in the buyer agent’s ram:SpecifiedTaxRegistration.
rule/@context)assert/@test)