silvercommerce/tax-admin

Module allowing creation of tax rates and categories in the CMS via SiteConfig

Maintainers

👁 DFT

Package info

github.com/silvercommerce/tax-admin

Type:silverstripe-vendormodule

pkg:composer/silvercommerce/tax-admin

Statistics

Installs: 4 859

Dependents: 6

Suggesters: 0

Stars: 0

Open Issues: 0

1.4.0 2019-09-09 17:04 UTC

Requires (Dev)

Suggests

Provides

None

Conflicts

None

Replaces

None

BSD-3-Clause f81810f565e187118a6e8f6a60f7abfd09281ff9

  • Morven Lewis-Everley <morven.woop@ilateral.co.uk>
  • Mark Anderson <mark.woop@ilateral.co.uk>

ecommercetaxsilverstripecommerce

This package is auto-updated.

Last update: 2026-06-04 18:52:26 UTC


README

👁 Scrutinizer Code Quality
👁 Build Status

Adds ability to create and edit tax rates and categories in the CMS (via siteconfig).

This allows for flexible tax configurations (meaning that you can have tax rates for different countries, zones, etc).

You can then map these categories (or rates) to products, line items (in invoices) etc and use them in your tax calculations.

Dependancies

Assigning Taxes to Zones

By default this module integrates with the GeoZones module. This allows you to assign zones to TaxRate objects. You can then use TaxCategory::getValidRate() to return the most appropriate TaxRate for this category, based either on the provided locale and zone, of the system default. EG:

use SilverCommerce\TaxAdmin\Model\TaxCategory;

// Get the tax category you want
$cateogry = TaxCategory::get()->byID(1);

// Find if we have a valid rate for Gloucestershire in the UK (GB)
$tax_rate = $category->getValidTax("GB", "GLS");