GET api/SetupSaiTaxCode/{accountId}/{companyId}/{showActiveOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountId

integer

Required

companyId

string

Required

showActiveOnly

boolean

Default value is True

Body Parameters

None.

Response Information

Resource Description

Collection of SetupSaiTaxCode
NameDescriptionTypeAdditional information
KendoID

string

None.

ReportAuthorityCode

string

None.

TaxCode

string

None.

TaxCodeDescription

string

None.

TaxRate

decimal number

None.

RateChangedOn

date

None.

PreviousStaxRate

decimal number

None.

IsActive

boolean

None.

TaxingAuthoritySelecteditems

Collection of SetupSaiTaxingAuthority

None.

AccountId

integer

None.

CompanyId

string

None.

CreatedBy

string

None.

CreatedOn

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "KendoID": "sample string 1",
    "ReportAuthorityCode": "sample string 2",
    "TaxCode": "sample string 3",
    "TaxCodeDescription": "sample string 4",
    "TaxRate": 5.0,
    "RateChangedOn": "2025-12-16T20:34:36.8555419+00:00",
    "PreviousStaxRate": 1.0,
    "IsActive": true,
    "TaxingAuthoritySelecteditems": [
      {
        "KendoID": "6|sample string 7|sample string 1|sample string 2",
        "ReportAuthorityCode": "sample string 1",
        "TaxingAuthorityCode": "sample string 2",
        "TaxingAuthorityName": "sample string 3",
        "StaxRate": 4.0,
        "RateChangedOn": "2025-12-16T20:34:36.8555419+00:00",
        "PreviousStaxRate": 1.0,
        "IsActive": true,
        "Selected": true,
        "AccountId": 6,
        "CompanyId": "sample string 7",
        "CreatedOn": "2025-12-16T20:34:36.8555419+00:00",
        "CreatedBy": "sample string 9",
        "UpdatedOn": "2025-12-16T20:34:36.8555419+00:00",
        "UpdatedBy": "sample string 10",
        "IsLockedForEditing": true,
        "LockedBy": "sample string 12"
      },
      {
        "KendoID": "6|sample string 7|sample string 1|sample string 2",
        "ReportAuthorityCode": "sample string 1",
        "TaxingAuthorityCode": "sample string 2",
        "TaxingAuthorityName": "sample string 3",
        "StaxRate": 4.0,
        "RateChangedOn": "2025-12-16T20:34:36.8555419+00:00",
        "PreviousStaxRate": 1.0,
        "IsActive": true,
        "Selected": true,
        "AccountId": 6,
        "CompanyId": "sample string 7",
        "CreatedOn": "2025-12-16T20:34:36.8555419+00:00",
        "CreatedBy": "sample string 9",
        "UpdatedOn": "2025-12-16T20:34:36.8555419+00:00",
        "UpdatedBy": "sample string 10",
        "IsLockedForEditing": true,
        "LockedBy": "sample string 12"
      }
    ],
    "AccountId": 6,
    "CompanyId": "sample string 7",
    "CreatedBy": "sample string 8",
    "CreatedOn": "2025-12-16T20:34:36.8555419+00:00"
  },
  {
    "KendoID": "sample string 1",
    "ReportAuthorityCode": "sample string 2",
    "TaxCode": "sample string 3",
    "TaxCodeDescription": "sample string 4",
    "TaxRate": 5.0,
    "RateChangedOn": "2025-12-16T20:34:36.8555419+00:00",
    "PreviousStaxRate": 1.0,
    "IsActive": true,
    "TaxingAuthoritySelecteditems": [
      {
        "KendoID": "6|sample string 7|sample string 1|sample string 2",
        "ReportAuthorityCode": "sample string 1",
        "TaxingAuthorityCode": "sample string 2",
        "TaxingAuthorityName": "sample string 3",
        "StaxRate": 4.0,
        "RateChangedOn": "2025-12-16T20:34:36.8555419+00:00",
        "PreviousStaxRate": 1.0,
        "IsActive": true,
        "Selected": true,
        "AccountId": 6,
        "CompanyId": "sample string 7",
        "CreatedOn": "2025-12-16T20:34:36.8555419+00:00",
        "CreatedBy": "sample string 9",
        "UpdatedOn": "2025-12-16T20:34:36.8555419+00:00",
        "UpdatedBy": "sample string 10",
        "IsLockedForEditing": true,
        "LockedBy": "sample string 12"
      },
      {
        "KendoID": "6|sample string 7|sample string 1|sample string 2",
        "ReportAuthorityCode": "sample string 1",
        "TaxingAuthorityCode": "sample string 2",
        "TaxingAuthorityName": "sample string 3",
        "StaxRate": 4.0,
        "RateChangedOn": "2025-12-16T20:34:36.8555419+00:00",
        "PreviousStaxRate": 1.0,
        "IsActive": true,
        "Selected": true,
        "AccountId": 6,
        "CompanyId": "sample string 7",
        "CreatedOn": "2025-12-16T20:34:36.8555419+00:00",
        "CreatedBy": "sample string 9",
        "UpdatedOn": "2025-12-16T20:34:36.8555419+00:00",
        "UpdatedBy": "sample string 10",
        "IsLockedForEditing": true,
        "LockedBy": "sample string 12"
      }
    ],
    "AccountId": 6,
    "CompanyId": "sample string 7",
    "CreatedBy": "sample string 8",
    "CreatedOn": "2025-12-16T20:34:36.8555419+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSetupSaiTaxCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Setup">
  <SetupSaiTaxCode>
    <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">6</AccountId>
    <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 7</CompanyId>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 8</CreatedBy>
    <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T20:34:36.8555419+00:00</CreatedOn>
    <IsActive>true</IsActive>
    <KendoID>sample string 1</KendoID>
    <PreviousStaxRate>1</PreviousStaxRate>
    <RateChangedOn>2025-12-16T20:34:36.8555419+00:00</RateChangedOn>
    <ReportAuthorityCode>sample string 2</ReportAuthorityCode>
    <TaxCode>sample string 3</TaxCode>
    <TaxCodeDescription>sample string 4</TaxCodeDescription>
    <TaxRate>5</TaxRate>
    <TaxingAuthoritySelecteditems>
      <SetupSaiTaxingAuthority>
        <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">6</AccountId>
        <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 7</CompanyId>
        <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 9</CreatedBy>
        <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T20:34:36.8555419+00:00</CreatedOn>
        <IsLockedForEditing xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">true</IsLockedForEditing>
        <LockedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 12</LockedBy>
        <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 10</UpdatedBy>
        <UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T20:34:36.8555419+00:00</UpdatedOn>
        <IsActive>true</IsActive>
        <PreviousStaxRate>1</PreviousStaxRate>
        <RateChangedOn>2025-12-16T20:34:36.8555419+00:00</RateChangedOn>
        <ReportAuthorityCode>sample string 1</ReportAuthorityCode>
        <Selected>true</Selected>
        <StaxRate>4</StaxRate>
        <TaxingAuthorityCode>sample string 2</TaxingAuthorityCode>
        <TaxingAuthorityName>sample string 3</TaxingAuthorityName>
      </SetupSaiTaxingAuthority>
      <SetupSaiTaxingAuthority>
        <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">6</AccountId>
        <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 7</CompanyId>
        <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 9</CreatedBy>
        <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T20:34:36.8555419+00:00</CreatedOn>
        <IsLockedForEditing xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">true</IsLockedForEditing>
        <LockedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 12</LockedBy>
        <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 10</UpdatedBy>
        <UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T20:34:36.8555419+00:00</UpdatedOn>
        <IsActive>true</IsActive>
        <PreviousStaxRate>1</PreviousStaxRate>
        <RateChangedOn>2025-12-16T20:34:36.8555419+00:00</RateChangedOn>
        <ReportAuthorityCode>sample string 1</ReportAuthorityCode>
        <Selected>true</Selected>
        <StaxRate>4</StaxRate>
        <TaxingAuthorityCode>sample string 2</TaxingAuthorityCode>
        <TaxingAuthorityName>sample string 3</TaxingAuthorityName>
      </SetupSaiTaxingAuthority>
    </TaxingAuthoritySelecteditems>
  </SetupSaiTaxCode>
  <SetupSaiTaxCode>
    <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">6</AccountId>
    <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 7</CompanyId>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 8</CreatedBy>
    <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T20:34:36.8555419+00:00</CreatedOn>
    <IsActive>true</IsActive>
    <KendoID>sample string 1</KendoID>
    <PreviousStaxRate>1</PreviousStaxRate>
    <RateChangedOn>2025-12-16T20:34:36.8555419+00:00</RateChangedOn>
    <ReportAuthorityCode>sample string 2</ReportAuthorityCode>
    <TaxCode>sample string 3</TaxCode>
    <TaxCodeDescription>sample string 4</TaxCodeDescription>
    <TaxRate>5</TaxRate>
    <TaxingAuthoritySelecteditems>
      <SetupSaiTaxingAuthority>
        <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">6</AccountId>
        <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 7</CompanyId>
        <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 9</CreatedBy>
        <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T20:34:36.8555419+00:00</CreatedOn>
        <IsLockedForEditing xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">true</IsLockedForEditing>
        <LockedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 12</LockedBy>
        <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 10</UpdatedBy>
        <UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T20:34:36.8555419+00:00</UpdatedOn>
        <IsActive>true</IsActive>
        <PreviousStaxRate>1</PreviousStaxRate>
        <RateChangedOn>2025-12-16T20:34:36.8555419+00:00</RateChangedOn>
        <ReportAuthorityCode>sample string 1</ReportAuthorityCode>
        <Selected>true</Selected>
        <StaxRate>4</StaxRate>
        <TaxingAuthorityCode>sample string 2</TaxingAuthorityCode>
        <TaxingAuthorityName>sample string 3</TaxingAuthorityName>
      </SetupSaiTaxingAuthority>
      <SetupSaiTaxingAuthority>
        <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">6</AccountId>
        <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 7</CompanyId>
        <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 9</CreatedBy>
        <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T20:34:36.8555419+00:00</CreatedOn>
        <IsLockedForEditing xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">true</IsLockedForEditing>
        <LockedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 12</LockedBy>
        <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 10</UpdatedBy>
        <UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T20:34:36.8555419+00:00</UpdatedOn>
        <IsActive>true</IsActive>
        <PreviousStaxRate>1</PreviousStaxRate>
        <RateChangedOn>2025-12-16T20:34:36.8555419+00:00</RateChangedOn>
        <ReportAuthorityCode>sample string 1</ReportAuthorityCode>
        <Selected>true</Selected>
        <StaxRate>4</StaxRate>
        <TaxingAuthorityCode>sample string 2</TaxingAuthorityCode>
        <TaxingAuthorityName>sample string 3</TaxingAuthorityName>
      </SetupSaiTaxingAuthority>
    </TaxingAuthoritySelecteditems>
  </SetupSaiTaxCode>
</ArrayOfSetupSaiTaxCode>