conditionRules top-level constant Validation
The rules of the BR-CO family, which say what has to follow from what.
These are the rules that catch an invoice that does not add up, and they are the ones a receiver rejects most often. What each compares is stated here against the semantic model.
Implementation
const Map<String, RuleCheck> conditionRules = {
'BR-CO-03': _brCo03,
'BR-CO-09': _brCo09,
'BR-CO-10': _brCo10,
'BR-CO-11': _brCo11,
'BR-CO-12': _brCo12,
'BR-CO-13': _brCo13,
'BR-CO-14': _brCo14,
'BR-CO-15': _brCo15,
'BR-CO-16': _brCo16,
'BR-CO-17': _brCo17,
'BR-CO-18': _brCo18,
'BR-CO-19': _brCo19,
'BR-CO-20': _brCo20,
'BR-CO-21': _brCo21,
'BR-CO-22': _brCo22,
'BR-CO-23': _brCo23,
'BR-CO-24': _brCo24,
'BR-CO-26': _brCo26,
};