Rules / IBR-001-AE
IBR-001-AE error
Credit note reason code value should be from the Reasons for credit note code list
Credit note reason code [BTAE-03] value should be from the Reasons for credit note code list.
Fails when this is false
( ( not(contains(normalize-space(.),' ')) and contains( ' DL8.61.1.A DL8.61.1.B DL8.61.1.C DL8.61.1.D DL8.61.1.E VD ',concat(' ',normalize-space(.),' ') ) ) )The schematron test, verbatim. Context: cac:DiscrepancyResponse/cbc:ResponseCode
Fix
Change the data so the statement above is true. Paste the invoice into the validator to see the exact element that fails.