Deposits From Special account

Hi,

How do I apply deposits from the special account to purchase invoice automatically.

Thank You

You do not. One of the main reasons for using special accounts is to avoid automatic credit allocations. See https://www.manager.io/guides/10342.