Skip to content

Instantly share code, notes, and snippets.

@waltzaround
Last active May 20, 2023 22:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save waltzaround/5c469a4fe012a3b884af4826410cd5fa to your computer and use it in GitHub Desktop.
Save waltzaround/5c469a4fe012a3b884af4826410cd5fa to your computer and use it in GitHub Desktop.
Taxreceipt.co.nz Methodology

Taxreceipt.co.nz Methodology

All calculations on this website are based off the 2023 Budget Economic and Fiscal Update published by treasury.govt.nz and is verifiable on this GitHub repository

Data was pulled from the PDF, then aggregated and stored at https://github.com/waltzaround/tax-receipts/blob/master/src/values.json

Figures are taken from Core Crown Expense Tables using 2022 Actual Spend Figures and calculations work as follows

This website doesn't account for borrowing, appropriations, and spending for the current year as the only data available for current year spending are forecasts, and subject to change.


Total tax contribution

Calculated from income tax + GST contribution + any other tax obligations

Income tax calculation verifiable at https://github.com/waltzaround/tax-receipts/blob/4d45a1ec3adcf3c4831a4e02b9c3dca9381b9d32/src/App.tsx#L87

GST is total spend mulitplied by 0.15


Classification total spend:

Classification amount ie: Health divided by Total 2022 Core Crown Expenses multiplied by total tax contribution

Verifiable at https://github.com/waltzaround/tax-receipts/blob/4d45a1ec3adcf3c4831a4e02b9c3dca9381b9d32/src/App.tsx#LL202C26-L202C26 and https://github.com/waltzaround/tax-receipts/blob/4d45a1ec3adcf3c4831a4e02b9c3dca9381b9d32/src/App.tsx#LL222C29-L222C29


Line item spend:

Line Item amount ie: Primary Schools, Secondary Schools divided by Total 2022 Core Crown Expenses multiplied by total tax contribution

Verifiable at https://github.com/waltzaround/tax-receipts/blob/4d45a1ec3adcf3c4831a4e02b9c3dca9381b9d32/src/App.tsx#L222

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment