GET api/v7/TaxRules/{taxRuleCode}
Retrieve the tax rule information for the given tax rule code.
Request Information
URI Parameters
Name | Description | Type | Required? | Additional information |
---|---|---|---|---|
taxRuleCode * |
the tax rule code |
string |
Yes |
None. |
Body Parameters
None.
Response Information
Resource Description
tax rule information
TaxRuleDtoName | Description | Type |
---|---|---|
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:
{ "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:
<TaxRuleDto 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> </TaxRuleDto>