Section 229 in The Indian Contract Act, 1872
Title: Consequences of notice given to agent.
Any notice given to or information obtained by the agent, provided it be given or obtained in the course of the business transacted by him for the principal, shall, as between the principal and third parties, have the same legal consequences as if it had been given to or obtained by the principal.
(a) A is employed by B to buy from C certain goods, of which C is the apparent owner, and buys them accordingly. In the course of the treaty for the sale, A learns that the goods really belonged to D, but B is ignorant of that fact. B is not entitled to set-off a debt owing to him from C against the price of the goods.
(b) A is employed by B to buy from C goods of which C is the apparent owner. A was, before he was so employed, a servant of C, and then learnt that the goods really belonged to D, but B is ignorant of that fact. In spite of the knowledge of his agent, B may set-off against the price of the goods a debt owing to him from C
Title: Agent cannot personally enforce, nor be bound by, contracts on behalf of principal
In the absence of any contract to that effect, an agent cannot personally enforce contracts entered into by him on behalf of his principal, nor is he personally bound by them.
Presumption of contract to contrary—Such a contract shall be presumed to exist in the following cases:—
(1) where the contract is made by an agent for the sale or purchase of goods for a merchant resident abroad;
(2) where the agent does not disclose the name of his principal;
(3) where the principal, though disclosed, cannot be sued.
Title: Rights of parties to a contract made by agent not disclosed.
If an agent makes a contract with a person who neither knows, nor has reason to suspect, that he is an agent, his principal may require the performance of the contract; but the other contracting party has, as against the principal, the same rights as he would have had as against the agent if the agent had been principal.
If the principal discloses himself before the contract is completed, the other contracting party may refuse to fulfil the contract, if he can show that, if he had known who was the principal in the contract, or if he had known that the agent was not a principal, he would not have entered into the contract.
Title: Performance of contract with agent supposed to be principal.
Where one man makes a contract with another, neither knowing nor having reasonable ground to suspect that the other is an agent, the principal, if he requires the performance of the contract, can only obtain such performance subject to the rights and obligations subsisting between the agent and the other party to the contract.
A, who owes 500 rupees to B, sells 1,000 rupees worth of rice to B. A is acting as agent for C in the transaction, but B has no knowledge nor reasonable ground of suspicion that such is the case. C cannot compel B to take the rice without allowing him to set-off A's debt.
Title: Right of person dealing with agent personally liable.
In cases where the agent is personally liable, a person dealing with him may hold either him or his principal, or both of them, liable.
A enters into a contract with B to sell him 100 bales of cotton, and afterwards discovers that B was acting as agent for C. A may sue either B or C, or both, for the price of the cotton.