Not able to determine the Type of Payment (Transaction-Related Exceptions - Duty Payment entries)

Cause

If TDS payment voucher is passed without using stat payment this exception will appear.

Solution

Press Enter on the exception and select the transactions using space bar and clear the exception.