The Item standard identifier (BT-157) shall have a Scheme identifier.
When ram:GlobalID is present in the item, it has no non-empty schemeID. This error does not occur when ram:GlobalID is absent.
The item’s standard identifier needs a scheme identifier so that its value can be associated with an identification scheme.
The global item identifier is present, but its scheme identifier is missing or empty. You can resolve this by providing a non-empty schemeID for the identifier.
- Check the item identifier
GlobalID. - Provide a non-empty
schemeIDfor it. - Check the mapping in
TradeLineItem.GlobalID. - Generate the invoice again and validate it.
<ram:SpecifiedTradeProduct> <ram:GlobalID>12345</ram:GlobalID> </ram:SpecifiedTradeProduct>
<ram:SpecifiedTradeProduct> <ram:GlobalID schemeID="X">12345</ram:GlobalID> </ram:SpecifiedTradeProduct>
TradeLineItem.GlobalID(BT-157)
Technical details
The test allows ram:GlobalID to be absent or requires the element to have a non-empty schemeID attribute.
The rule applies to the global item identifier ram:GlobalID within the item in the invoice line ram:IncludedSupplyChainTradeLineItem.
rule/@context)assert/@test)