GET api/v7/TaxClassTaxRules/{taxClassCode}?taxRuleCode={taxRuleCode}
Retrieve the tax class and tax rule information for the given tax class and tax rule code.
Request Information
URI Parameters
Name | Description | Type | Required? | Additional information |
---|---|---|---|---|
taxClassCode * |
the tax class code |
string |
Yes |
None. |
taxRuleCode * |
the tax rule 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": "001001", "className": "001", "subClass": "001", "taxCode": "1", "taxRuleCode": "1", "startDate": "2010-01-01T12:00:00", "isTaxHoliday": true, "thresholdMethod": 1, "thresholdAmount": 1000.0, "returnTaxDays": 30, "customerAuditDate": "2018-01-01T00:00:00" }
application/xml, text/xml
Sample:
<TaxClassTaxRule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <taxRuleCode>1</taxRuleCode> <startDate>2010-01-01T12:00:00</startDate> <endDate xsi:nil="true" /> <isTaxHoliday>true</isTaxHoliday> <thresholdMethod>1</thresholdMethod> <thresholdAmount>1000.0</thresholdAmount> <returnTaxDays>30</returnTaxDays> <customerAuditDate>2018-01-01T00:00:00</customerAuditDate> <taxClassCode>001001</taxClassCode> <className>001</className> <subClass>001</subClass> <taxCode>1</taxCode> </TaxClassTaxRule>