An <name/> "Item classification identifier" (BT-158) with the Scheme identifier 'CVD' shall contain a value from the list of permitted vehicle categories.
When ram:ClassCode specifies the CVD scheme, its value is not an allowed vehicle category. The check applies only when @listID has the normalized value CVD.
With this scheme, the classification code identifies a vehicle category. A value outside the allowed list therefore cannot be recognized as a valid category.
The vehicle classification using the CVD scheme contains a value that is not in the list of allowed vehicle categories. You can correct the classification value using the permitted list.
- Check the value of
ram:ClassCodein the product classification. - If
@listIDhas the valueCVD, compare the code with the list of allowed vehicle categories. - Check the mapping through
DesignatedProductClassificationClassCodes. - Regenerate the invoice and validate it again.
DesignatedProductClassificationClassCodes(Business term: BT-158-1)TradeLineItem.DesignatedProductClassifications(BT-158)
Technical details
The test accepts any value when @listID is not CVD; otherwise, the normalized text content of ram:ClassCode must be included in $CVD-VEHICLE-CATEGORY.
The rule applies to the ram:ClassCode of a product classification on an invoice line.
rule/@context)assert/@test)