Sales credit note

Issuing a sales credit note to a customer. There is the option to refund the customer, in this case the refund amount will be credited from the bank account or if offset against future invoices then the accounts receivables account.
DR Revenue (P&L);
DR Sales tax account;
CR Cash / Accounts receivables