Coder Social home page Coder Social logo

savingtool / hmrc-income-tax Goto Github PK

View Code? Open in Web Editor NEW
13.0 1.0 0.0 231 KB

TypeScript implementation of common HMRC Income Tax use cases

Home Page: https://SavingTool.co.uk

TypeScript 99.54% JavaScript 0.46%
finance hmrc student-loans taxes typescript personal-finance united-kingdom

hmrc-income-tax's People

Contributors

sgb-io avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

hmrc-income-tax's Issues

Student loans are calculated before tax

In SavingTool, src/selectors/taxes.ts L50 it seems like we are passing "gross" income to the student loan calculations. I am not sure this is correct?

Either it's a bug in SavingTool or this project.

Clarify documentation on national insurance function

calculateEmployeeNationalInsurance is documented as requiring taxableAnnualIncome, which isn't quite right. I'm not quite sure what to call it, and HMRC seem to careful avoid giving it a name, but it's more like the gross, cash, employment income?

I understand why SavingTool makes the salary sacrifice assumption to simplify things!

Thank you so much for this library; I've been using it for a personal finance tool that's slightly more tailored to me and it's really helpful :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.