The Government Revenue and Expenditure data present detailed statistics on revenue and expenditure of federal and provincial/territorial governments from 1965/66 to the most recent year. You can read the User Guide here (PDF format). You can download the full dataset here (CSV format).