Browse Documentation
GET Get tax

List All Taxes

Get a list of all sales tax rates

GET /taxes

Request

    
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer token" \
-XGET \
https://dev.accounteer.com/api/v0.1/taxes/
     

Response

[{
    "id": "fd62ee6c1d65e4729da41f85cdd328dfc816d161",
    "organization_id": "daa71f0644647c0d82dd2d03d0b29779644b1a48",
    "name": "VAT 21%",
    "percentage": 21
}, {
    "id": "3fa8a6ce4b8b59ae34eb0728481ec6c62fbcccb8",
    "organization_id": "daa71f0644647c0d82dd2d03d0b29779644b1a48",
    "name": "VAT 6%",
    "percentage": 6
}, {
    "id": "34cd11fb6a5c8540288187410f8994558daa91f5",
    "organization_id": "daa71f0644647c0d82dd2d03d0b29779644b1a48",
    "name": "VAT 0%",
    "percentage": 0
}, {
    "id": "7139e1d04b25916bd18558f17a3c264f3020f224",
    "organization_id": "daa71f0644647c0d82dd2d03d0b29779644b1a48",
    "name": "Tax Exempt",
    "percentage": 0
}]


Get Tax

Get the details of one specific sales tax rate

GET /taxes/:id

Request

    
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer token" \
-XGET \
https://dev.accounteer.com/api/v0.1/taxes/fd62ee6c1d65e4729da41f85cdd328dfc816d161
     

Response

{
    "id": "fd62ee6c1d65e4729da41f85cdd328dfc816d161",
    "organization_id": "daa71f0644647c0d82dd2d03d0b29779644b1a48",
    "name": "VAT 21%",
    "percentage": 21
}