Rounding order affects total

Code reviewHard20 minIntuit and Stripe style

Your task

Review this Python that rounds each line's tax to cents and totals an invoice that must reconcile against an external ledger using standard 'round half up'.