List all tax rates

GET /api/taxes
<?xml version="1.0" encoding="UTF-8"?>
<taxes type="array">
    <tax>
        ...
    </tax>
    <tax>
        ...
    </tax>
</taxes>

Get single tax rate

GET /api/taxes/{id}
<?xml version="1.0" encoding="UTF-8"?>
<tax>
    <id type="integer">7</id>
    <account_id type="integer">1</account_id>
    <name>VAT</name>
    <rate type="float">19</rate>
    <is_default type="integer">1</is_default>
</tax>

Create tax rate

POST /api/taxes
XML elementDescriptionTypeDefault valueMandatory
nameName of the tax rateALNUMyes
rateTax rate in percentFLOATyes
is_defaultSpecifies whether this is the standard tax rate (1=yes, 0=no)BOOL0yes
<tax>
    <name>VAT</name>
    <rate>19</rate>
    <is_default>1</is_default>
</tax>
<?xml version="1.0" encoding="UTF-8"?>
<tax>
    <id type="integer">11</id>
    <account_id type="integer">1</account_id>
    <name>VAT</name>
    <rate type"float">19</rate>
    <is_default type="integer">1</is_default>
</tax>

Edit tax rate

PUT /api/taxes/{id}
<tax>
    <name>VAT</name>
    <rate>19</rate>
    <is_default>1</is_default>
</tax>

Delete tax rate

DELETE /api/taxes/{id}