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.
pageSize
Specifies the page size for pagination. Default page size is 200 taxes.
Note: Requesting large numbers of taxes can be susceptible to poor network performance. Please reduce the page size if you experience delayed requests.
Filters are used by adding the filter and value to the URI:
/Taxes?pageSize=10&canApplyToRevenue=true
Available Fields for GET Taxes
Property
Type
Length
Notes
CanApplyToExpenses
Boolean
true,false
CanApplyToRevenue
Boolean
true,false
Description
String
50
Guid
Guid
Unique identifier. Can only be set when adding a record.
LastModifiedOn
Nullable DateTime
Obsolete
Boolean
true,false
TaxCode
String
25
TaxRate
Nullable Decimal
Examples for Response 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"><Pagination><NumberOfItems>4</NumberOfItems><PageSize>200</PageSize><PageNumber>1</PageNumber><NumberOfPages>1</NumberOfPages></Pagination><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
{"Pagination":{"NumberOfItems":4,"PageSize":200,"PageNumber":1,"NumberOfPages":1},"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.