You can do this through “Journal Entry”.
To create a “Journal Entry” you have to navigate to wp-admin → accounting → journal entry. Then click on “New Entry”.
Select the “Account” and add as many lines as necessary.
You can also add description and summary for referencing.
Make sure to balance the debit and credit amount.
You can also check out this doc: https://wperp.com/docs/accounting/journal-entry/creating-a-journal-entry/