Added code to make relationship for invoice

added back in method that was commented out in previous pull request that had relationship for invoice

All relationship tests are now passing.