Attribute '@schemeID' is required in this context.
The @schemeID attribute is missing from the ram:ID element.
@schemeID identifies the scheme to which the tax ID belongs and is required in this context.
The payer’s tax ID is missing its scheme identifier. You can add the required attribute to the XML entry.
- Locate
ram:IDinram:SpecifiedTaxRegistrationunderram:PayerTradeParty. - Add the
@schemeIDattribute toram:ID. - Generate the invoice again and validate it again.
<ram:ID/>
<ram:ID schemeID=""/>
Technical details
The test checks only whether the @schemeID attribute is present on ram:ID.
The rule applies to the @schemeID attribute of ram:ID in the payer’s ram:SpecifiedTaxRegistration.
rule/@context)assert/@test)