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'.