Attribute '@schemeID' is required in this context.
The ram:ID element does not contain a schemeID attribute. The attribute is required in this context.
The schemeID attribute identifies the scheme used for the tax registration and thus indicates the type of identifier.
The ram:ID for the ultimate ship-to party’s tax registration is missing the schemeID identifier. You can resolve this by adding the attribute to this element.
- Locate the tax registration under
ram:UltimateShipToTradeParty. - Add the
schemeIDattribute to theram:IDelement it contains. - Regenerate the invoice and validate it again.
<ram:ID>...</ram:ID>
<ram:ID schemeID="...">...</ram:ID>
Technical details
The test checks whether the schemeID attribute is present on the current ram:ID element.
The rule applies to ram:ID within the tax registration of the ultimate ship-to party (ram:UltimateShipToTradeParty).
rule/@context)assert/@test)