Skip to content

Tax Rates

Retrieve tax rates from Moneybird.

Working with Tax Rates

This section covers how to interact with Moneybird’s Tax Rates API. You can retrieve tax rates from your Moneybird administration.

Basic Operations

List Tax Rates

Get a paginated list of tax rates.

$taxRates = $client->taxRates()->paginate();
// Iterate through the pages
foreach ($taxRates as $taxRate) {
echo $taxRate->name . ': ' . $taxRate->percentage . '%';
}

Filtering Tax Rates

You can filter tax rates by adding query parameters to the request. For example, to filter by percentage:

$request = new GetTaxRatesPageRequest;
$request->query()->add('filter', 'percentage:21');
$taxRates = $client->paginate($request);

Common filters include:

  • percentage:{value} - Filter by tax percentage
  • tax_rate_type:{type} - Filter by tax rate type
  • active:{true|false} - Filter by active status

Tax Rate Properties

When working with tax rates, you’ll have access to the following properties:

PropertyTypeDescription
idstringUnique identifier
administration_idstringID of the administration the tax rate belongs to
namestringName of the tax rate (e.g., “21% btw”)
percentagestringTax percentage value (e.g., “21.0”)
tax_rate_typestringType of tax rate (e.g., “sales_invoice”)
show_taxbooleanWhether to show tax on invoices
activebooleanWhether the tax rate is active
countrystringCountry code the tax rate applies to (if applicable)
created_atstringISO 8601 timestamp of when the tax rate was created
updated_atstringISO 8601 timestamp of when the tax rate was last updated

Note: See the official API reference for the complete list of available properties.

Further reading