Attribute '@schemeID' is required in this context.
The schemeID attribute is missing from the ram:ID element within ram:SpecifiedTaxRegistration.
The schemeID attribute identifies the scheme of the tax registration identifier. Without this attribute, the identifier scheme is not specified.
No schemeID attribute is provided on the tax registration’s ram:ID. You can add this attribute to the identifier.
- Locate
ram:IDwithinram:SpecifiedTaxRegistrationofram:InvoicerTradeParty. - Add the
schemeIDattribute to thatram:ID. - Generate the invoice again and validate it once more.
<ram:SpecifiedTaxRegistration> <ram:ID>123</ram:ID> </ram:SpecifiedTaxRegistration>
<ram:SpecifiedTaxRegistration> <ram:ID schemeID="value">123</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The test condition directly checks whether the schemeID attribute is present on the context node.
The rule applies to the schemeID attribute of ram:ID within ram:SpecifiedTaxRegistration of ram:InvoicerTradeParty.
rule/@context)assert/@test)