Attribute '@schemeID' is required in this context.
The schemeID attribute is missing from the ram:ID element of the dispatch location tax registration.
schemeID identifies the scheme of the tax registration identifier in this XML context. Without the attribute, the identifier is not fully qualified.
The schemeID attribute is not provided for the dispatch location tax identifier. Adding this attribute fully qualifies the information.
- Find
ram:IDinram:SpecifiedTaxRegistrationunderram:ShipFromTradeParty. - Add the
schemeIDattribute to theram:IDelement. - Regenerate the invoice and validate it again.
<ram:ID>IDENTIFIER</ram:ID>
<ram:ID schemeID="SCHEME">IDENTIFIER</ram:ID>
Technical details
The test checks only whether the schemeID attribute is present on the context element ram:ID.
The rule applies to the schemeID attribute on ram:ID within ram:SpecifiedTaxRegistration under ram:ShipFromTradeParty.
rule/@context)assert/@test)