get_all_invoices: support for >= year / month and == year / month