GET api/v7/TaxRules

Retrieve the list of tax rule for a given tenant.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

the list of taxRules

Collection of TaxRuleDto
NameDescriptionType
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": "sample string 1",
    "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"
  },
  {
    "taxRuleCode": "sample string 1",
    "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:
<ArrayOfTaxRuleDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <TaxRuleDto>
    <taxRuleCode>sample string 1</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>
  </TaxRuleDto>
  <TaxRuleDto>
    <taxRuleCode>sample string 1</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>
  </TaxRuleDto>
</ArrayOfTaxRuleDto>