Create corresponding transaction when creating an invoice