Display taxable sales, non-taxable sales, and tax totals for a customer sort code within an invoice-date range.

  1. From the main menu, enter TCL and press Enter.
  2. At the : prompt, enter SHL DISP.TCL.CMD.
  3. At Input TCL Command, enter the command below after replacing its placeholders:
SORT ORDER WITH CUST.SORT.CODE = "XXX" AND WITH INVOICE.DATE >= "DDD" AND WITH INVOICE.DATE <= "DDD" AND WITH TRANS.TYPE = "DI""CI""WI" TOTAL TOT.NON.TAXABLE TOTAL TOT.TAXABLE TOTAL TAX.AMT DET-SUPP

Replace XXX with the customer sort code. Replace the first DDD with the beginning invoice date and the second with the ending invoice date. Both dates are included.

The query includes DI, CI, and WI transaction types and suppresses individual detail lines. Review, print, or download the results, then enter X to return to TCL.

Scope: The query looks up the customer’s current Sort Code and does not require a Date Posted. It can therefore include finalized invoices that have not yet been posted. It excludes recurring sales and adjustments. Match those choices to the report you are comparing; see Report Discrepancy Checks.