Specifying the customer or supplier will allocate the receipt or payment to accounts payable or accounts receivable. In this case the receipt or payment is merely allocated to the account balance that is made up of invoices that include the VAT code. You need to allocate receipts or payments directly to income or expense accounts to appear in your tax summary but that would be incorrect if you have already created sales or purchase invoices for the transactions.