All error codes › BR-CL-20
BR-CL-20 – Value not in the official code list
Erroren16931applies to Romanian e-Factura
What the rule says
Coded charge reasons MUST belong to the UNCL 7161 code list
How to fix it
Use a value from the code list named in the message.
Paste the XML and see every error with the exact fix and the correct amounts.
Where it is checked in the XML
Context: cac:AllowanceCharge[cbc:ChargeIndicator = true()]/cbc:AllowanceChargeReasonCode
Test (XPath):
((not(contains(normalize-space(.), ' ')) and contains(' AA AAA AAC AAD AAE AAF AAH AAI AAS AAT AAV AAY AAZ ABA ABB ABC ABD ABF ABK ABL ABN ABR ABS ABT ABU ACF ACG ACH ACI ACJ ACK ACL ACM ACS ADC ADE ADJ ADK ADL ADM ADN ADO ADP ADQ ADR ADT ADW ADY ADZ AEA AEB AEC AED AEF AEH AEI AEJ AEK AEL AEM AEN AEO AEP AES AET AEU AEV AEW AEX AEY AEZ AJ AU CA CAB CAD CAE CAF CAI CAJ CAK CAL CAM CAN CAO CAP CAQ CAR CAS CAT CAU CAV CAW CAX CAY CAZ CD CG CS CT DAB DAD DAC DAF DAG DAH DAI DAJ DAK DAL DAM DAN DAO DAP DAQ DL EG EP ER FAA FAB FAC FC FH FI GAA HAA HD HH IAA IAB ID IF IR IS KO L1 LA LAA LAB LF MAE MI ML NAA OA PA PAA PC PL PRV RAB RAC RAD RAF RE RF RH RV SA SAA SAD SAE SAI SG SH SM SU TAB TAC TT TV V1 V2 WH XAA YY ZZZ ', concat(' ', normalize-space(.), ' '))))Related rules
BR-CL-01Value not in the official code listBR-CL-03Value not in the official code listBR-CL-04Invalid currency codeBR-CL-05Value not in the official code listBR-CL-06Value not in the official code listBR-CL-07Value not in the official code listBR-CL-08Value not in the official code listBR-CL-10Value not in the official code listBR-CL-11Value not in the official code listBR-CL-13Value not in the official code listBR-CL-14Invalid country codeBR-CL-15Value not in the official code list