get_all_invoices: add support for CSV
get_all_invoices: correct QIF format including 'imbalanced' splits