Skip to content

todanni/paye-estimator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

paye-estimator

Download Scala.js

A basic PAYE tax estimation calculator JavaScript library

Description

The ScalaJS library is used to generate the JavaScript, code enhancements must be made to the Scala implementation of the tax-calculator

How to use

To use this code you need to generate the Javascript from the Scala to do this run the following command in the SBT console

fullOptJS

API

The following function is exposed by the JavaScript library and can be used to generate a JSON that can be consumed by a service. See example JSONs.

Supported Methods Description
uk.gov.hmrc.payeestimator.services.LiveTaxCalculatorService().calculateTax(isStatePensionAge: String, date: Int, taxCode: String, grossPayPence: Int, payPeriod: String, hoursIn: Int) Calculates income tax and national insurance contributions More...

License

This code is open source software licensed under the Apache 2.0 License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 98.5%
  • HTML 1.4%
  • Other 0.1%