Skip to content

TaxRates

Reindert Vetter edited this page Oct 18, 2022 · 4 revisions

Introduction

For how to handle the exceptions correctly, see Exceptions.

Index Tax Rates

The TaxRateService->get() method can extract all TaxRate models.

use PlugAndPay\Sdk\Enum\TaxRateIncludes;
use PlugAndPay\Sdk\Filters\TaxRateFilter;
use PlugAndPay\Sdk\Service\Client;
use PlugAndPay\Sdk\Service\TaxRateService;

$client  = new Client($token);
$service = new TaxRateService($client);

$filter   = (new TaxRateFilter())->country(CountryCode::NL);
$taxRates = $service->include()->get($filter);

Introduction

References

If you find something missing, please open an issue or reach out to us on our Discord channel.

Clone this wiki locally