Accrual Journal Entries from Payroll Entries are revered

When creating a Payroll Entry, I select my main account as the Payment Account, I save it and select “Create Salary Slip”, then submit the salary slip. The accrual journal entry that’s automatically created has my main account has the debtor and the payroll\withheld tax accounts as the creditor. So instead of decreasing the balance from my main account it increases with each payroll entry.

The bank entry that can be created from the the payroll entry does have the correct creditor\debtor, but it doesn’t include any deductions made and it can only be made after the automatic accrual journal entry. I also can’t delete any cancelled journal entries because they’re tied to GL Entries which don’t seem like they can be deleted or cancelled.

Is this expected behavior? I’m also confused why you’d be given the option to create a bank entry when the accrual journal entry has already been created, wouldn’t this be essentially a duplicate entry?

Any help would be much appreciated!

I’m not quite following what you are describing here. Can you post an image or table of the accounting entries you are getting?

Edited to add:

The two journal entries serve different purposes.

The first is an accrual entry, which debits your salary expense account and credits your liability accounts. This is typically posted as an aggregated amount (not broken down by party) for privacy reasons, but there’s also a setting that allows party-wise breakdown.

The second is a payment entry, which would typically credit your bank account and debit the salary payable.

To delete journal entries with ledger commits, there’s a setting you have to activate in Account Settings. By default, the general ledger is write-only.

Thanks for your reply. I found that setting you mentioned in the accounts settings, thank you! Apologies if I’m not wording things correctly.

My Issue was I was using my bank account as the account for the employee’s salary expense instead of using my salary account. The resulted in debiting my bank account with accrual journal entries when that wasn’t the desired behavior. This is solved now, thank you!!