Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 579 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 579 Bytes

IncTax

WIP: NBR income tax calculation library 2020-21

Usage

Add it in your root build.gradle at the end of repositories:

allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

Add the dependency

dependencies {
	        implementation 'com.github.WSAyan:IncTax:alpha-1.0.0'
	}

Calculate tax (female taxpayer, monthly gross salary = 55000, yearly extra benifits = 60000, allowable investment = 0)

int tax = IncTaxCore().calculateTaxByDefaultGross(
            IncTaxCore.GENDER_FEMALE,55000,60000,0)