add functionality for invoice merchant relationship