taxes.get
Returns a specific tax.
You call this method by submitting a HTTP GET request to the following URL :
https://screen-name.invoicexpress.net/taxes/:tax-id.xml
Parameters
Parameters are the data you will pass with the call.
api_key
Your secret identifier. You find your API Key under Account Overview in the Account section.
Rules: Required
tax-id
Id of the tax you want to get.
Rules: Required.
Return Values
This is the result that will be passed back to you. Code and region are only for Portuguese accounts.
Success
<?xml version="1.0" encoding="UTF-8"?> <tax> <id>1</id> <name>IVA20</name> <value>20</value> <region>PT</region> <default_tax>1</default_tax> <!-- default tax --> </tax>
Error
HTTP: 401 Access denied
The API Key parameter is missing incorrect.
The API Key parameter is missing incorrect.
HTTP: 404 Not Found
No tax matches the supplied :tax-id.
