A person who, by agreement with the obligee, has assumed another's obligation may not raise against the obligee any defense based on the relationship between the assuming obligor and the original obligor.
The assuming obligor may raise any defense based on the relationship between the original obligor and obligee. He may not invoke compensation based on an obligation owed by the obligee to the original obligor.
La. C.C. § 1824