CosmoLex has provided the reports needed to get the raw tax data for this calculation.   Go to Reports > Tax Collection/Payments.  You will find Billed/Collected GST/QST Taxes Report and Paid Taxes Report.  Select the date range and Tax Payment Account (from dropdown menu) as applicable.