Implement invoice_total(lines) against the frozen task contract. Return integer kobo. Do not change tests or unrelated files.
