added invoice: invoice items, customer, and merchant relationships
added transaction invoice query