Skip to content

Commit

Permalink
Update with january 2024 tax rates
Browse files Browse the repository at this point in the history
  • Loading branch information
Kessir committed Feb 1, 2024
1 parent 1123202 commit c9a7972
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 17 deletions.
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
# modern-taxcalculator
# Tax Calculator 🇬🇭
Ghana has a progressive income tax which is not easy to calculate. This tool makes it easier for people to compute their take-home income.

This template should help get you started developing with Vue 3 in Vite.
Built with [VueJS](https://vuejs.org) and `TailwindCss`

## Recommended IDE Setup

[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).

## Customize configuration

See [Vite Configuration Reference](https://vitejs.dev/config/).
Available at http://kessir.github.io/taxcalculatorgh

## Project Setup

Expand Down
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const taxResult = computed(() => {
<div class="mt-4">* Allowances are also taxed</div>
</div>
</section>
<div class="text-center" style="margin: 2rem 0">Last updated: October 28, 2023</div>
<div class="text-center" style="margin: 2rem 0">Last updated: February 1st, 2024</div>
<hr />
<footer id="footer" class="text-gray-600">
<div class="text-center mt-4">
Expand Down
2 changes: 1 addition & 1 deletion src/components/TopBanner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="bg-[#6684ea] text-white text-center my-4 rounded-sm py-2 px-2">
Updated with
<a target="_blank" href="https://gra.gov.gh/domestic-tax/tax-types/paye/">
<span class="font-medium underline underline-offset-2 text-white">April 2023</span></a
<span class="font-medium underline underline-offset-2 text-white">Jan. 2024</span></a
>
tax rates !
</div>
Expand Down
27 changes: 21 additions & 6 deletions src/lib/rates.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,34 @@
export const SSNIT_RATE = 5.5

// Effective from 01/01/2022
// Effective from 01/01/2024
export const monthlyTaxRates = {
effectiveFrom: '02/04/2023',
effectiveFrom: '01/01/2024',
rates: [
[0, 402],
[0, 490],
[5, 110],
[10, 130],
[17.5, 3000],
[25, 16395],
[30, 29963],
[17.5, 3166.67],
[25, 16000],
[30, 30520],
[35, Number.POSITIVE_INFINITY] // anything above GHC 50,000
]
}

// Effective until 01/01/2024
// export const monthlyTaxRates = {
// effectiveFrom: '02/04/2023',
// rates: [
// [0, 402],
// [5, 110],
// [10, 130],
// [17.5, 3000],
// [25, 16395],
// [30, 29963],
// [35, Number.POSITIVE_INFINITY] // anything above GHC 50,000
// ]
// }


// Effective until 02/04/2023
// export const monthlyTaxRates = [
// [0, 365],
Expand Down

0 comments on commit c9a7972

Please sign in to comment.