The correct answer is A. Error of commission.

An error of commission is an error that occurs when a transaction is recorded incorrectly. In this case, the transaction was recorded as a receipt of Rs. 50,000, when the actual amount received was Rs. 5,000. This is an error of commission because the amount recorded is more than the actual amount received.

An error of principle is an error that occurs when a transaction is recorded using the wrong accounting principle. For example, if a company sells goods on credit, it should record the sale as a revenue and the receivable as an asset. However, if the company records the sale as a cash sale, this would be an error of principle.

A compensating error is an error that occurs when two errors offset each other. For example, if a company incorrectly records a purchase of goods for Rs. 10,000 as a purchase of goods for Rs. 1,000, this would be a compensating error. The net effect of the two errors is that the company's financial statements are not affected.

I hope this helps!