Prompt
How do I calculate tax for digital goods in different countries?
Latest observation
Calculating tax for digital goods across countries usually means figuring out which tax applies, where the customer is located, and whether you need to register/collect/remit. The exact rules vary a lot by country, but the process is generally:
1) Identify the type of tax
Digital goods may be subject to:
- VAT / GST / sales tax / consumption tax
- Sometimes withholding tax or income tax considerations for platform payouts, but that’s separate from the customer tax on the sale
Common examples:
- EU/UK: VAT
- Australia/New Zealand: GST
- Canada: GST/HST/PST depending on province and product type
- US: sales tax in some states
- Japan/Korea/Singapore: consumption tax/GST-style rules
2) Determine the customer’s location
Tax often depends on the buyer’s country and sometimes region/state/province.
You usually need evidence such as:
- Billing address
- IP address
- Bank card country
- SIM/mobile country
- Tax ID, if applicable
Many jurisdictions require collecting 2 non-conflicting pieces of evidence for location.
3) Check whether the product is taxable there
A digital good might be:
- Taxable everywhere
- Taxable only for B2C (business-to-consumer)
- Exempt in some countries
- Treated differently if it’s a digital service vs downloadable software/e-book/music
Examples:
- EU: most digital services to consumers are VAT-taxable in the customer’s country
- US: digital goods taxability varies by state
- Some countries exempt e-books or specific educational content
4) Determine if you must register there
You may need to register for tax if:
- You exceed a sales threshold
- You sell through your own website/directly
- You have local nexus / establishment rules
- The country requires non-resident supplier registration even at low sales levels
Examples:
- EU OSS/IOSS can simplify reporting for cross-border B2C sales
- UK often requires non-UK sellers of digital services to register for VAT
- US state thresholds vary, and tax may depend on economic nexus
5) Apply the correct tax rate
Use the rate for the customer’s location and product type.
Example logic:
- Customer in France buying a taxable digital product → apply France VAT rate
- Customer in Ontario buying a taxable digital service → apply Ontario/HST rules
- Customer in California buying taxable digital software → apply California sales tax if applicable
6) Calculate the tax amount
If your price is tax-exclusive:
tax = price × tax_rate
total = price + tax
Example:
- Net price: $100
- Tax rate: 20%
- Tax: $20
- Total: $120
If your price is tax-inclusive:
tax = total_price × tax_rate / (1 + tax_rate)
net = total_price - tax
Example:
- Gross price: €120
- VAT rate: 20%
- Tax: €20
- Net: €100
7) Keep records and remit correctly
You’ll generally need to:
- Record customer location evidence
- Track tax by country/state
- File returns on schedule
- Remit collected tax to each authority
8) Use tax automation if you sell in multiple countries
For multi-country digital sales, many businesses use tools like:
- Stripe Tax
- Avalara
- TaxJar
- Quaderno
- Paddle / Merchant of Record models
These tools help with:
- Rate lookup
- Customer location validation
- Tax invoices
- Filing support
Simple example workflow
- Customer checks out from Germany
- Product is a taxable digital service
- You verify customer location evidence
- You find Germany VAT rate applies
- You calculate tax based on whether the displayed price is net or gross
- You invoice the customer and record the tax liability
Important caveats
Tax rules depend on:
- Country
- Buyer type (B2B vs B2C)
- Product classification
- Seller location
- Tax registration status
- Whether you sell through a marketplace
If you want, I can help you with one of these next:
- A country-by-country tax cheat sheet for digital goods
- A formula/calculator you can use in code or spreadsheets
- A specific country example (EU, UK, US, Canada, etc.)