get correct prefix for invoices

One must use the shop id when getting invoices prefix