The assignment of the debt cannot be prohibited according to Civil Code, and if you have this clause in the contract, it is null:
- Article 1.570. Inalienability clause
- Article 1.573. Form of assignment
- Article 1.578. Communication and acceptance of the assignment