Let me understand your situation. The company received money from a debtor but it was wrongly credited to an expenditure head instead of the party's account. As a result of this error, the expenditure was suppressed, profit was overshown and the receivable was also overshown. Is my understanding right?
Now the company would like to rectify this error. I assume that it was just an error due to oversight but not due to fraud. I also assume that the error is not material with respect to the transactions of the company, though the amount was in lakhs.
If my assumptions are right, the suggested measure is to credit the party's account and debit prior period adjustments account. The net effect of the prior period adjustments will have to be shown in the profit and loss account. See the AS 5 on this issue.
If the amount is material and adversely affects the profits of the company, auditor may also be required to disclose it in his audit report.
If you would like to contact me, you may choose call option in the portal.