Rules / TC-003
TC-003 warning
Total VAT is stated
PintLint check on JSON: the invoice should state its VAT total.
If it's missing, nobody has checked it.
Fails
{ "totals": { "tax_exclusive": 7500, "payable": 7875 } }
Fix
Add totals.tax. PintLint's fix fills it from the lines.
Passes
{ "totals": { "tax_exclusive": 7500, "tax": 375, "payable": 7875 } }