
In simple English
This tool helps you figure out how much sales tax to charge your customers. It runs right on your own computer without needing an internet connection. It knows the tax rules for many countries, including states in America and provinces in Canada. You need to write Rust (a programming language used to build fast and safe software) code to use it. You should always double-check the results with a real accountant because tax laws change often.
What it is
A software library written in the Rust programming language that calculates sales tax rates globally using local JSON (a simple text format for storing data) files. It handles complex rules like the European Union reverse charge mechanism and regional tax thresholds.
What it is good for
Solo builders who are writing software in Rust and need to calculate sales tax for international customers without paying for a cloud tax service.
- Works completely offline without external web requests.
- Supports tax rules for the European Union, United States, Canada, and Gulf Cooperation Council countries.
- Can generate TypeScript (a programming language that adds rules to JavaScript) types for web frontends.
- Requires writing and compiling Rust code to integrate into a project.
- Tax rates and trade agreements might be out of date, so you must verify them yourself.
- Only 4 stars on GitHub, meaning it is an early project with few users.
Paid cloud tax calculation services or manual tax rate lookups in code
typeshare
- valeriansaliou/node-sales-tax339 stars
Calculates sales tax rates globally for JavaScript applications instead of Rust.
- benbucksch/eu-vat-rates19 stars
Provides a JSON file of European Union value-added tax rates that this library borrows from.
- btcpayserver/btcpayserver7.8k stars
Payment software you run yourself that takes Bitcoin into a wallet whose keys you hold.
- hledgerorg/hledger4.8k stars
Double-entry accounting over plain text files, with command-line, terminal, web and editor interfaces.
- akaunting/akaunting10k stars
Self-hosted invoicing and expense tracking, with the double-entry accounting sold separately as an add-on.
git clone https://github.com/franzos/world-tax-rs cd world-tax-rs cargo build