This s a documentation page for our shiny new REST API - you weren't meant to find it. This API isn't ready for public use yet. We're chopping and changing it a LOT as we grow it. So if you build something that uses it then it's very likely to break in a future update. Don't say you weren't warned!
URL: | https://api.kashflow.com/v2/vatrates |
Method(s): | get |
Response Formats: | JSON, XML |
Description: | This method allows you to get the details of the one or all VAT rates set up for the user. |
Parameters
Name | Type | Description |
---|---|---|
VatId | Numeric | Unique number given to the VAT entry |
VATText | String | The way the VAT record needs to be displayed on UI |
VATRate | Numeric | VAT Rate associated with the VAT record |
GET Operation
GET fetches the list of all VAT rates set up for the authenticated user.
URL : /vatrates
Example response for GET of list of VAT entries
[
{
"VatId": 348,
"VATText": "40%",
"VATRate": 40
},
{
"VatId": 340,
"VATText": "25%",
"VATRate": 25
}
]