npm

Need private packages and team management tools?Check out npm Orgs. »

japanese-income-tax

1.0.1 • Public • Published

japanese-income-tax v1.0.1 Circle CI codecov.io

A tool for calculating Japanese income tax.

This tool calculates Japanese income tax from the given taxable income.

This tool is based on the rules for 2016.

Install

Via npm:

npm install japanese-income-tax

API

var tax = require('japanese-income-tax')

tax.incomeTax(taxableIncome)

  • @param {number} taxableIncome The taxable income
  • @return {number}

Calculates the income tax.

tax.specialIncomeTax(taxableIncome)

  • @param {number} taxableIncome The taxable income
  • @return {number}

Calculates the Reconstruction special income tax.

tax.totalIncomeTax(taxableIncome)

  • @param {number} taxableIncome The taxable income
  • @return {number}

Returns the total of the income tax and the special income tax.

tax.actualIncomeTax(taxableIncome)

  • @param {number} taxableIncome The taxable income
  • @return {number}

Returns the actual amount you need to pay to the tax office.

tax.residentTax(taxableIncome)

  • @param {number} taxableIncome The taxable income
  • @return {number}

Calculates the resident tax.

Example

> var tax = require('japanese-income-tax')
> tax.incomeTax(8005000)
1205150
> tax.specialIncomeTax(8005000)
25308
> tax.totalIncomeTax(8005000)
1230458
> tax.actualIncomeTax(8005000)
1230400
> tax.residentTax(8005000)
800500

License

MIT

Keywords

install

npm i japanese-income-tax

Downloadsweekly downloads

0

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability