In invoice posting setup, you can set account code against your desired payment type.
Setting Account Code in Invoice Posting Setup.
To set “Account Code” in “Invoice Posting Setup”, click on the “Financial Accounting”, then “Setup”, then click “Invoice Posting Setup”. Invoice posting setup page will be displayed.
Click in “Payment type” list box then payment list will be drop down. Select your desired payment type. Click on “Update” button on the top of invoice posting setup.
If you want to set account code against your desired variable then click in column “Account code” list box then account code list will be drop down. Select your desired account then selected account name will be appeared in column “Account Name” input box.
Click “Save” button to save the information.