The persons liable to pay stamp duty will be in accordance to the terms of the document. If the terms are silent on this, the party receiving the excess benefit is liable to pay stamp duty.