GET api/v7/TaxClassTaxRules?taxCode={taxCode}
Retrieve the tax class and tax rule information for the given tax code.
Request Information
URI Parameters
Name | Description | Type | Required? | Additional information |
---|---|---|---|---|
taxCode * |
the tax code |
string |
Yes |
None. |
Body Parameters
None.
Response Information
Resource Description
tax class and tax rule information
Collection of TaxClassTaxRuleDtoName | Description | Type |
---|---|---|
taxClassCode |
Tax Class Code |
string |
className |
Tax Class Name |
string |
subClass |
Tax Sub Class |
string |
taxCode |
Tax Code |
string |
taxRuleCode |
tax Rule code |
string |
startDate |
start date |
date |
endDate |
end date |
date |
isTaxHoliday |
indicate if it is tax holiday |
boolean |
thresholdMethod |
threasholdmethod |
integer |
thresholdAmount |
thresholdAmount |
decimal number |
returnTaxDays |
return tax days. |
integer |
customerAuditDate |
Audit information |
date |
Response Formats
application/json, text/json
Sample:
[ { "taxClassCode": "sample string 1", "className": "sample string 2", "subClass": "sample string 3", "taxCode": "sample string 4", "taxRuleCode": "sample string 5", "startDate": "2018-01-01T00:00:00", "endDate": "2018-01-01T00:00:00", "isTaxHoliday": true, "thresholdMethod": 1, "thresholdAmount": 1.0, "returnTaxDays": 1, "customerAuditDate": "2018-01-01T00:00:00" }, { "taxClassCode": "sample string 1", "className": "sample string 2", "subClass": "sample string 3", "taxCode": "sample string 4", "taxRuleCode": "sample string 5", "startDate": "2018-01-01T00:00:00", "endDate": "2018-01-01T00:00:00", "isTaxHoliday": true, "thresholdMethod": 1, "thresholdAmount": 1.0, "returnTaxDays": 1, "customerAuditDate": "2018-01-01T00:00:00" } ]
application/xml, text/xml
Sample:
<ArrayOfTaxClassTaxRuleDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <TaxClassTaxRuleDto> <taxRuleCode>sample string 5</taxRuleCode> <startDate>2018-01-01T00:00:00</startDate> <endDate>2018-01-01T00:00:00</endDate> <isTaxHoliday>true</isTaxHoliday> <thresholdMethod>1</thresholdMethod> <thresholdAmount>1</thresholdAmount> <returnTaxDays>1</returnTaxDays> <customerAuditDate>2018-01-01T00:00:00</customerAuditDate> <taxClassCode>sample string 1</taxClassCode> <className>sample string 2</className> <subClass>sample string 3</subClass> <taxCode>sample string 4</taxCode> </TaxClassTaxRuleDto> <TaxClassTaxRuleDto> <taxRuleCode>sample string 5</taxRuleCode> <startDate>2018-01-01T00:00:00</startDate> <endDate>2018-01-01T00:00:00</endDate> <isTaxHoliday>true</isTaxHoliday> <thresholdMethod>1</thresholdMethod> <thresholdAmount>1</thresholdAmount> <returnTaxDays>1</returnTaxDays> <customerAuditDate>2018-01-01T00:00:00</customerAuditDate> <taxClassCode>sample string 1</taxClassCode> <className>sample string 2</className> <subClass>sample string 3</subClass> <taxCode>sample string 4</taxCode> </TaxClassTaxRuleDto> </ArrayOfTaxClassTaxRuleDto>