The full range of URIs and HTTP Verbs supported are:
Operation
HTTP Action
List all Taxes
GET /Taxes
GET Taxes
These filters can be used with the GET Taxes endpoint:
Filter
Description
canApplyToRevenue
If set to true, it will return the taxes ticked as revenue.
canApplyToExpenses
If set to true, it will return the taxes ticked as expenses.
Available Fields for Tax:
Property
Type
Length
Required
Notes
CanApplyToExpenses
Boolean
true,false
CanApplyToRevenue
Boolean
true,false
Description
String
50
Guid
Guid
Yes
Unique identifier. Can only be set when adding a record.
LastModifiedOn
Nullable DateTime
Obsolete
Boolean
true,false
TaxCode
String
25
Yes
TaxRate
Nullable Decimal
Yes
Examples for Request GET /Taxes
show xml example
<?xml version="1.0"?><Taxesxmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns="http://api.unleashedsoftware.com/version/1"><Tax><Guid>03a31c08-1ae0-4631-be23-8e0f5ecb436a</Guid><LastModifiedOn>2016-03-29T02:32:23.0773457</LastModifiedOn><TaxCode>NONE</TaxCode><Description>No Tax</Description><TaxRate>0.000000</TaxRate><CanApplyToExpenses>true</CanApplyToExpenses><CanApplyToRevenue>false</CanApplyToRevenue><Obsolete>false</Obsolete></Tax><Tax><Guid>909c71d0-7de6-40f2-a17d-a0b933959fe4</Guid><LastModifiedOn>2016-03-29T02:32:23.0773457</LastModifiedOn><TaxCode>NONE</TaxCode><Description>No Tax</Description><TaxRate>0.000000</TaxRate><CanApplyToExpenses>false</CanApplyToExpenses><CanApplyToRevenue>true</CanApplyToRevenue><Obsolete>false</Obsolete></Tax><Tax><Guid>0d988732-2de9-4910-bbd7-e0da4a4a5ab2</Guid><LastModifiedOn>2016-03-29T02:32:23.0929708</LastModifiedOn><TaxCode>G.S.T.</TaxCode><Description>15% GST On Sales</Description><TaxRate>0.150000</TaxRate><CanApplyToExpenses>false</CanApplyToExpenses><CanApplyToRevenue>true</CanApplyToRevenue><Obsolete>false</Obsolete></Tax><Tax><Guid>96341a0b-4e67-41f2-943b-5be5f22e8d2d</Guid><LastModifiedOn>2016-03-29T02:32:23.0929708</LastModifiedOn><TaxCode>G.S.T.</TaxCode><Description>15% GST On Purchases</Description><TaxRate>0.150000</TaxRate><CanApplyToExpenses>true</CanApplyToExpenses><CanApplyToRevenue>false</CanApplyToRevenue><Obsolete>false</Obsolete></Tax></Taxes>
show json example
{"Items":[{"TaxCode":"NONE","Description":"No Tax","TaxRate":0,"CanApplyToExpenses":true,"CanApplyToRevenue":false,"Obsolete":false,"Guid":"03a31c08-1ae0-4631-be23-8e0f5ecb436a","LastModifiedOn":"/Date(1459218743077)/"},{"TaxCode":"NONE","Description":"No Tax","TaxRate":0,"CanApplyToExpenses":false,"CanApplyToRevenue":true,"Obsolete":false,"Guid":"909c71d0-7de6-40f2-a17d-a0b933959fe4","LastModifiedOn":"/Date(1459218743077)/"},{"TaxCode":"G.S.T.","Description":"15% GST On Sales","TaxRate":0.15,"CanApplyToExpenses":false,"CanApplyToRevenue":true,"Obsolete":false,"Guid":"0d988732-2de9-4910-bbd7-e0da4a4a5ab2","LastModifiedOn":"/Date(1459218743092)/"},{"TaxCode":"G.S.T.","Description":"15% GST On Purchases","TaxRate":0.15,"CanApplyToExpenses":true,"CanApplyToRevenue":false,"Obsolete":false,"Guid":"96341a0b-4e67-41f2-943b-5be5f22e8d2d","LastModifiedOn":"/Date(1459218743092)/"}]}
Use the API Sandbox to see how the object is rendered in JSON or XML.
Note:An Unleashed account is required before you can use the API Sandbox.
Trial accounts are also allowed to connect to the API.
You can register a new account here: Register.