# TaxRule

> Rule defined in config to apply to a tax

- Read more: <https://merx2.wagnerwagner.de/guide/configuration/taxes.md>
- Source: `src/TaxRule.php` <https://github.com/wagnerwagner/merx/blob/2.0.0-alpha.11/src/TaxRule.php>

## Pages

- [new TaxRule()](https://merx2.wagnerwagner.de/reference/classes/tax-rule/__construct.md): Creates a new tax rule
- [$taxRule->rate()](https://merx2.wagnerwagner.de/reference/classes/tax-rule/rate.md): Gets the tax rate as decimal value
- [$taxRule->toArray()](https://merx2.wagnerwagner.de/reference/classes/tax-rule/to-array.md): Converts the tax rule to an array
