factory: optimize BusinessInvoicePaymentFactory

Get rid of getInvoice call. Instead, fetch all invoices at
once (via getInvoicesByAccountId).

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>