This question was asked in Summary of Debit Credit

Purchase entry with debit side and credit side

purva kamble's image