Accounting double entry , which is the foundation of accounting, is based on the principle of debits = IN, and Credit =OUT
The debit or credit is from the business point of view always .
Looking at an example a bank…