Value of 'ram:CategoryCode' is not allowed.
The value in ram:CategoryCode in the VAT information for the charge is neither empty nor included in the code list used by this rule.
If provided, the VAT category for the charge must match an allowed code. The rule concerns a charge because ram:ChargeIndicator has the value true, and it also accepts an empty value.
This rule does not recognize the value in ram:CategoryCode for the charge as allowed. You can use a value from the applicable code list or leave the value empty.
- Check
ram:CategoryCodein the VAT information for the charge. - Use an entry from the applicable code list or leave the value empty.
- Regenerate the invoice and check it again.
Technical details
The test selects ram:SpecifiedTradeAllowanceCharge with ram:ChargeIndicator equal to true and accepts an empty value or an entry from FACTUR-X_BASIC_codedb.xml, code list 8.
The rule applies to ram:CategoryCode in the VAT information for a document-level charge. It applies when ram:ChargeIndicator has the value true.
rule/@context)assert/@test)