Step 2 of 4 · ProjectsAPIs

All projectsAPIs

vat-calculator

PHP library that applies EU VAT rates and MOSS rules and validates VAT numbers.

What it does

Takes a net price and a country code and returns the gross price with the EU VAT rate applied under MOSS rules, exposes the rate, net and tax amounts, and validates VAT numbers against VIES. It runs on PHP 7.3 or later, standalone or in Laravel; UK checks need HMRC Developer Hub credentials. The README makes no promise that the taxes it calculates are correct and leaves checking to you; MIT.

Where it fits on the map

In the processes

Similar projects

Of the same kind, for a shared jurisdiction or tax area. Not a ranking.

Maintain this project?

Link to this page from your README, so readers find the facts, the notes and where it fits. The badge is a small SVG served from this site.

Listed on tax-oss.com

[![Listed on tax-oss.com](https://tax-oss.com/badge.svg)](https://tax-oss.com/projects/vat-calculator/)
Next · Step 3 of 4The gapsThe activities with no open project yet, and the partly covered ones, with what to build on.