Skip to content

A simple tax calculator for freelancers working as sole traders (PFA) in Romania.

License

Notifications You must be signed in to change notification settings

SysOPSRO/taxepfa.github.io

 
 

Repository files navigation

A simple tax calculator for freelancers working as sole traders (PFA) in Romania.

taxepfa.github.io

Context

In the fall of 2023 the Romanian government adopted a set of new fiscal measures that will affect the income of freelancers working as sole traders (PFA).
Among other things, the changes include a minimum fixed-amount health insurance contribution (CASS) of 6 x 10% of the minimum wage, regardless of the actual income of the freelancer; this means that in some cases the freelancer will end up paying more in taxes than they actually earn, which is undoubtedly immoral and probably illegal.

Tech-stack

Contributing

See CONTRIBUTING.md.

IMPORTANT! 👇
Pushing to the main branch triggers a GitHub workflow, so make sure to target your PRs to the dev branch.

Hire and support the author

I'm a full-stack developer with 20+ years of experience in building web applications, from small MVPs to large enterprise systems. I'm also the author of successful open-source projects such as Mantine DataTable, Mantine ContextMenu, tRPC-SvelteKit and PocketBaseUML.

Sponsoring my work will help me spend more time on open-source projects.

If you need help with your project, don't hesitate to contact me at the email address listed on my GitHub profile.

License

The code in this repository is licensed under the MIT License.

Run with Docker

Production static export served by Nginx on port 8080.

Using Docker Compose:

docker compose build
docker compose up -d
# then open http://localhost:8080

Using plain Docker:

docker build -t taxepfa .
docker run --rm -p 8080:80 taxepfa
# then open http://localhost:8080

Notes:

  • The image is built via a multi-stage build defined in Dockerfile and served by Nginx.
  • Rebuild after code changes: docker compose build --no-cache (or bump the image tag).
  • Build context is slimmed with .dockerignore; node_modules/.next/out aren’t sent to Docker.

About

A simple tax calculator for freelancers working as sole traders (PFA) in Romania.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 92.3%
  • CSS 5.8%
  • Other 1.9%