BR-FREXT-CL-20-TAX
Coded charge reasons MUST belong to the UNCL 5153 except "VAT" code list
Official rule text
[BR-FREXT-CL-20-TAX]-Coded charge reasons MUST belong to the UNCL 5153 except "VAT" code list
Where the rule applies
| Rule set | Document type | Severity |
|---|---|---|
| French rules BR-FR, EXTENDED-CTC-FR (1.4.0.04) FNFE-MPE | EXTENDED-CTC-FR (CII), EXTENDED-CTC-FR (UBL Invoice), EXTENDED-CTC-FR (UBL CreditNote) | fatal |
Fatal and error findings make the invoice invalid (valid: false); warnings and information do not.
Technical check
- Syntax
- CII · French rules BR-FR, EXTENDED-CTC-FR (1.4.0.04)
- Context
ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator = true()]/ram:ReasonCode[@listID='5153']- Test (must be true)
((not(contains(normalize-space(.), ' ')) and contains(' AAA AAB AAC AAD AAE AAF AAG AAH AAI AAJ AAK AAL AAM AAO AAP ADD BOL CAP CAR COC CST CUD CVD ENV EXC EXP FET FRE GCN GST ILL IMP IND LAC LCN LDP LOC LST MCA MCD OTH PDB PDC PRF SCN SSS STT SUP SUR SWT TAC TOT TOX TTA VAD ',concat(' ',normalize-space(.),' '))))
- Syntax
- UBL · French rules BR-FR, EXTENDED-CTC-FR (1.4.0.04)
- Context
cac:AllowanceCharge[cbc:ChargeIndicator = true()]/cbc:AllowanceChargeReasonCode[@listID='5153']- Test (must be true)
((not(contains(normalize-space(.), ' ')) and contains(' AAA AAB AAC AAD AAE AAF AAG AAH AAI AAJ AAK AAL AAM AAO AAP ADD BOL CAP CAR COC CST CUD CVD ENV EXC EXP FET FRE GCN GST ILL IMP IND LAC LCN LDP LOC LST MCA MCD OTH PDB PDC PRF SCN SSS STT SUP SUR SWT TAC TOT TOX TTA VAD ',concat(' ',normalize-space(.),' '))))
How the API reports this rule
Every finding of POST /v1/validate carries the rule id, severity, message, location (XPath) and rule set, and links this page (docUrl):
{
"severity": "fatal",
"ruleId": "BR-FREXT-CL-20-TAX",
"message": "[BR-FREXT-CL-20-TAX]-Coded charge reasons MUST belong to the UNCL 5153 except \"VAT\" code list",
"xpath": "/…",
"source": "schematron:france-rfe@1.4.0.04",
"docUrl": "https://einvoice-api.eu/rules/br-frext-cl-20-tax.html"
}Check an invoice against this rule and every other rule of the rule set – in the browser, without sign-up.
Rule text and severity are taken unchanged from the official rule set; this page is generated from the API's configuration. Not legal advice.