franciscobmacedo / remotefreelancept

Simulator for freelancers working for foreign companies while living in Portugal. Estimate your net income and taxes to pay
https://freelancept.fmacedo.com
MIT License
235 stars 34 forks source link

Returns data as json #58

Open danilowoz opened 3 months ago

danilowoz commented 3 months ago

Hey, I use your project all the time, congratz!

I'd love to know if you're interested in implementing a new route to return results as JSON to be consumed as an external API (this would be amazing to use inside Google Sheets 😄 ). As far as I can see, today, the project is a static one, and adding such a feature would mean implementing a server (extra costs), but I'd be curious to know if you've considered it.

Thanks

franciscobmacedo commented 1 month ago

Having an API to calculate salaries and taxes to pay would actually be a great idea. I will consider it for sure!

franciscobmacedo commented 3 weeks ago

You gave me a good idea, and so I'm currently developing a new project - saldo.

The idea is to calculate taxes and net income for any type of income one might have.

For now, It works for dependent workers only. I'm now implementing features for independent worker as well.

The idea is to eventually make it accessible through an API so we can abstract the calculation logic from the UI.

danilowoz commented 3 weeks ago

Amazing! Looking forward to it 😄