When you pay in, the cash account is increased (banknotes are put in the cash drawer) and the clearing account is used to balance the accounting.
When you pay out, it reduces the cash account and increases the clearing account.
If you want to get rid of paying in/out activity from the accounting records, make sure that the cash account and the clearing account are the same in the accounting data.
Other explanation
When you pay in to the cash register, it puts the amount in plus on the cash account and minus on the clearing account.
If you want to get rid of paying in/out activity from the accounting records, make sure that the cash account and the clearing account are the same, often 1910 is used in the case of cash. Plus and minus on the same account will be zero, and the only thing left is pure cash sales.