processOrder stale
What changed since you last read this
RATES.Computes a receipt for an order. Drops any line with a zero quantity, sums what's left into a subtotal, and applies tax on top.
The rate comes from RATES.vat, so a change in tax policy is a config change, not a code change.