Attribute '@schemeID' is required in this context.
The ram:ID element in ram:SpecifiedTaxRegistration is missing the @schemeID attribute.
The scheme identifies the system used to interpret the tax identifier. Without this attribute, the required classification of the identifier is missing.
@schemeID is missing from ram:ID in the ship-from party’s tax registration. Add the attribute so the identifier includes the required scheme.
- Locate
ram:IDinram:SpecifiedTaxRegistrationfor the ship-from party. - Add the
@schemeIDattribute toram:ID. - Regenerate the invoice and validate it again.
<ram:SpecifiedTaxRegistration> <ram:ID>12345</ram:ID> </ram:SpecifiedTaxRegistration>
<ram:SpecifiedTaxRegistration> <ram:ID schemeID="...">12345</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The rule checks for the presence of the @schemeID attribute on the current ram:ID element; its value is not checked here.
This rule applies to the @schemeID attribute of ram:ID in ram:SpecifiedTaxRegistration for the ship-from party (ram:ShipFromTradeParty).
rule/@context)assert/@test)