Editing Automated Journals with sales invoice

Editing Automated Journals with sales invoice

So when I am importing bills, the accounts which the journal is hitting are not the ones which I want. How can I edit the accounts that are being associated in the journal?