Double-entry accounting has one fundamental rule: every transaction affects at least two accounts, and the total Debits must always equal the total Credits. That's it.
This rule was invented by Luca Pacioli in 1494 and is still the foundation of every accounting system in the world — from a freelancer's books to the balance sheet of a Fortune 500 company.
This is where people get confused because the words are used differently in accounting vs. everyday language.
Think of it this way: a Debit increases an Asset or Expense. A Credit increases a Liability, Equity, or Income. It's just a convention — neither is "good" or "bad."
You sell ₹10,000 of goods for cash. In double-entry:
Total Debits (₹10,000) = Total Credits (₹10,000). Always balanced.
AccountManager enforces this rule at the engine level. If a voucher's Dr total doesn't equal its Cr total, it throws an error and refuses to post. This prevents accounting errors from silently corrupting your books — a common problem with simpler billing software that doesn't enforce the double-entry rule.