Tax code reference logic for subcontract invoice items