The contract terminates when the parties have completed all obligations; as well as receive its full benefits. When the contract has changes that cannot be performed; The subject has the right to request a competent court to declare the contract invalid or to cancel the contract. There are also cases where the parties have other agreements; agree to terminate the contract.