[IMP] account: convert account_statement_from_invoice.py to new API