In order to record the journal entries, one must know the rules of debit and credit. First of all we…