The offset account of an invoice is the Accounts Payable summary account. This account is located in Configuration under Default Accounts. If this is the wrong account, it can be changed in this location.

For more information on how entries work in Accounts Payable please see: What entries are created in Accounts Payable