Manager use to have such an account setup called - Customer Credits and Supplier Credits.
But that was eliminated over a year ago as the accounting in the background was not intuitive
([16.7.73] Categorization against customer and supplier accounts more intuitive)
There is nothing to say that you can’t have Special Accounts for either - advance payments & deposits.