VKVasyl Kyryliukinvat-engine.hashnode.dev·6d ago · 12 min readWhat Should a VAT Calculation Record Actually Contain?A VAT calculation can look deceptively simple. You send an amount and a country. The system returns a VAT amount. For example: Net: €100.00 VAT: €19.00 Gross: €119.00 If all you need is the numb00
VKVasyl Kyryliukinvat-engine.hashnode.dev·Oct 2 · 14 min readWhy Money Calculations Should Not Use Floating PointFinancial software often starts with code that looks completely harmless: const price = 19.99; const vatRate = 0.19; const vat = price * vatRate; The formula is not the surprising part. The represen00
VKVasyl Kyryliukinvat-engine.hashnode.dev·Sep 25 · 12 min readVAT-Inclusive vs VAT-Exclusive Pricing: The Math Developers Get WrongVAT calculation often looks like simple percentage arithmetic: Take the price, multiply it by the VAT rate, and you are done. That only works when you know exactly what the input price represents. A00
VKVasyl Kyryliukinvat-engine.hashnode.dev·Sep 18 · 8 min readEU VAT for SaaS & Subscription BillingSelling SaaS subscriptions across the EU turns VAT into more than a simple percentage calculation. The billing flow may need to consider the customer's country, product tax treatment, whether the disp00
VKVasyl Kyryliukinvat-engine.hashnode.dev·Sep 3 · 5 min readWhy a VAT API Needs More Than a Rate LookupWhen developers first add VAT to an ecommerce or SaaS product, the problem can look surprisingly small: Find the customer's country. Look up the VAT rate. Multiply the price by that percentage. Do00