api.tax_codes

/api/tax_codes/

GET /api/tax_codes/

Description:

Return the existing tax codes
can_lock requires_lock has_etag requires_etag
False False False False

Request:

<!-- No XML Request. -->

Response:

<tax_codes>
    <tax_code uri="/tax_codes/X/" id="X">
        <!-- See GET /tax_codes/X/ response for details -->
    </tax_code>
    [...]
</tax_codes>

/api/tax_codes/(d+)/

GET /api/tax_codes/(d+)/

Description:

Modify an existing tax code
can_lock requires_lock has_etag requires_etag
False False False False

Request:

<!-- No XML Request. -->

Response:

<tax_code uri="/tax_codes/X/" id="X">
    <name>[str]</name>
    <account_code>[str]</account_code>
    <list_order>[int]</list_order>
    <rates>
        <tax id="1" name="[str]">[decimal]</tax>
        <tax id="2" name="[str]>[decimal]</tax>
        <tax id="3" name="[str]">[decimal]</tax>
        <tax id="4" name="[str]">[decimal]</tax>
        <tax id="5" name="[str]">[decimal]</tax>
     </rates>
</tax_code>