Skip to content

valencar/tax_easy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tax Easy

Code Climate Travis

Gem Version

Ruby Gem to calculate Taxes.

Installation

gem 'tax_easy'

Run the bundle command to install it.

Calculators - Brazil

IOF

TaxEasy::Financial::Brazil::IOF.new.calculate(20_000, 48, 1.5) # ==> 356.70671942746617

IOF varies according to type of loan. We need to implement them.

You can override the default base IOF value. Example:

TaxEasy::Financial::Brazil::IOF.new(iof_day: 0.0038, iof_additional: 0.000050)

TODO

There's a lot of taxes to be implemented.

So feel free to contribute! \o/.

Contributing

  1. Fork the repository
  2. Create a branch
  3. Create a spec + code
  4. Open a Pull Request ;)

Packages

No packages published

Languages