rokde/vat-calculator-php

This package is abandoned and no longer maintained. No replacement package was suggested.

Tax calculator for new reverse-charge processing within the european union.

0.1.1 2015-02-17 15:02 UTC

This package is auto-updated.

Last update: 2020-08-22 21:11:20 UTC


README

Latest Stable Version Latest Unstable Version License Total Downloads

Tax calculator for new reverse-charge processing within the european union.

See the sister project in javascript.

Installation

Add to your composer.json following lines

"require": {
	"rokde/vat-calculator-php": "~0.1"
}

Usage

$calculator = \Rokde\VatCalculator\Examples\MossReverseCharge2015Europe::getCalculator('DE');

$country = "AT";
$company = false;

/* @var \Rokde\VatCalculator\Price price */
$price = $calculator->calculate($country, $company);