POST api/SetupSaiTaxCode/SyncQBDesktop

Request Information

URI Parameters

None.

Body Parameters

AccntPkgSyncQBDesktop
NameDescriptionTypeAdditional information
AccountId

integer

None.

CompanyId

string

None.

CreatedBy

string

None.

CreatedOn

date

None.

taxCodes

Collection of TaxCode

None.

Request Formats

application/json, text/json

Sample:
{
  "taxCodes": [
    {
      "Name": "sample string 1",
      "Description": "sample string 2",
      "TaxRates": [
        {
          "ReportAuthorityCode": "sample string 1",
          "TaxingAuthorityCode": "sample string 2",
          "TaxingAuthorityName": "sample string 3",
          "QBTaxingAuthorityId": "sample string 4",
          "QBTaxRateId": "sample string 5",
          "StaxRate": 6.0,
          "RateChangedOn": "2025-12-16T16:34:27.4201625+00:00",
          "PreviousStaxRate": 1.0,
          "IsActive": true,
          "Selected": true,
          "AccountId": 8,
          "CompanyId": "sample string 9",
          "CreatedBy": "sample string 10",
          "CreatedOn": "2025-12-16T16:34:27.4201625+00:00"
        },
        {
          "ReportAuthorityCode": "sample string 1",
          "TaxingAuthorityCode": "sample string 2",
          "TaxingAuthorityName": "sample string 3",
          "QBTaxingAuthorityId": "sample string 4",
          "QBTaxRateId": "sample string 5",
          "StaxRate": 6.0,
          "RateChangedOn": "2025-12-16T16:34:27.4201625+00:00",
          "PreviousStaxRate": 1.0,
          "IsActive": true,
          "Selected": true,
          "AccountId": 8,
          "CompanyId": "sample string 9",
          "CreatedBy": "sample string 10",
          "CreatedOn": "2025-12-16T16:34:27.4201625+00:00"
        }
      ],
      "Id": "sample string 3",
      "QBId": "sample string 4",
      "QBSyncToken": "sample string 5",
      "IsActive": true,
      "AccountId": 7,
      "CompanyId": "sample string 8",
      "CreatedBy": "sample string 9",
      "CreatedOn": "2025-12-16T16:34:27.4201625+00:00"
    },
    {
      "Name": "sample string 1",
      "Description": "sample string 2",
      "TaxRates": [
        {
          "ReportAuthorityCode": "sample string 1",
          "TaxingAuthorityCode": "sample string 2",
          "TaxingAuthorityName": "sample string 3",
          "QBTaxingAuthorityId": "sample string 4",
          "QBTaxRateId": "sample string 5",
          "StaxRate": 6.0,
          "RateChangedOn": "2025-12-16T16:34:27.4201625+00:00",
          "PreviousStaxRate": 1.0,
          "IsActive": true,
          "Selected": true,
          "AccountId": 8,
          "CompanyId": "sample string 9",
          "CreatedBy": "sample string 10",
          "CreatedOn": "2025-12-16T16:34:27.4201625+00:00"
        },
        {
          "ReportAuthorityCode": "sample string 1",
          "TaxingAuthorityCode": "sample string 2",
          "TaxingAuthorityName": "sample string 3",
          "QBTaxingAuthorityId": "sample string 4",
          "QBTaxRateId": "sample string 5",
          "StaxRate": 6.0,
          "RateChangedOn": "2025-12-16T16:34:27.4201625+00:00",
          "PreviousStaxRate": 1.0,
          "IsActive": true,
          "Selected": true,
          "AccountId": 8,
          "CompanyId": "sample string 9",
          "CreatedBy": "sample string 10",
          "CreatedOn": "2025-12-16T16:34:27.4201625+00:00"
        }
      ],
      "Id": "sample string 3",
      "QBId": "sample string 4",
      "QBSyncToken": "sample string 5",
      "IsActive": true,
      "AccountId": 7,
      "CompanyId": "sample string 8",
      "CreatedBy": "sample string 9",
      "CreatedOn": "2025-12-16T16:34:27.4201625+00:00"
    }
  ],
  "AccountId": 1,
  "CompanyId": "sample string 2",
  "CreatedBy": "sample string 3",
  "CreatedOn": "2025-12-16T16:34:27.4201625+00:00"
}

application/xml, text/xml

Sample:
<AccntPkgSyncQBDesktop xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.Common">
  <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">1</AccountId>
  <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 2</CompanyId>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 3</CreatedBy>
  <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T16:34:27.4201625+00:00</CreatedOn>
  <taxCodes>
    <TaxCode>
      <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">7</AccountId>
      <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 8</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-16T16:34:27.4201625+00:00</CreatedOn>
      <Description>sample string 2</Description>
      <Id>sample string 3</Id>
      <IsActive>true</IsActive>
      <Name>sample string 1</Name>
      <QBId>sample string 4</QBId>
      <QBSyncToken>sample string 5</QBSyncToken>
      <TaxRates>
        <TaxingAuthority>
          <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">8</AccountId>
          <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 9</CompanyId>
          <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 10</CreatedBy>
          <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T16:34:27.4201625+00:00</CreatedOn>
          <IsActive>true</IsActive>
          <PreviousStaxRate>1</PreviousStaxRate>
          <QBTaxRateId>sample string 5</QBTaxRateId>
          <QBTaxingAuthorityId>sample string 4</QBTaxingAuthorityId>
          <RateChangedOn>2025-12-16T16:34:27.4201625+00:00</RateChangedOn>
          <ReportAuthorityCode>sample string 1</ReportAuthorityCode>
          <Selected>true</Selected>
          <StaxRate>6</StaxRate>
          <TaxingAuthorityCode>sample string 2</TaxingAuthorityCode>
          <TaxingAuthorityName>sample string 3</TaxingAuthorityName>
        </TaxingAuthority>
        <TaxingAuthority>
          <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">8</AccountId>
          <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 9</CompanyId>
          <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 10</CreatedBy>
          <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T16:34:27.4201625+00:00</CreatedOn>
          <IsActive>true</IsActive>
          <PreviousStaxRate>1</PreviousStaxRate>
          <QBTaxRateId>sample string 5</QBTaxRateId>
          <QBTaxingAuthorityId>sample string 4</QBTaxingAuthorityId>
          <RateChangedOn>2025-12-16T16:34:27.4201625+00:00</RateChangedOn>
          <ReportAuthorityCode>sample string 1</ReportAuthorityCode>
          <Selected>true</Selected>
          <StaxRate>6</StaxRate>
          <TaxingAuthorityCode>sample string 2</TaxingAuthorityCode>
          <TaxingAuthorityName>sample string 3</TaxingAuthorityName>
        </TaxingAuthority>
      </TaxRates>
    </TaxCode>
    <TaxCode>
      <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">7</AccountId>
      <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 8</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-16T16:34:27.4201625+00:00</CreatedOn>
      <Description>sample string 2</Description>
      <Id>sample string 3</Id>
      <IsActive>true</IsActive>
      <Name>sample string 1</Name>
      <QBId>sample string 4</QBId>
      <QBSyncToken>sample string 5</QBSyncToken>
      <TaxRates>
        <TaxingAuthority>
          <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">8</AccountId>
          <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 9</CompanyId>
          <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 10</CreatedBy>
          <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T16:34:27.4201625+00:00</CreatedOn>
          <IsActive>true</IsActive>
          <PreviousStaxRate>1</PreviousStaxRate>
          <QBTaxRateId>sample string 5</QBTaxRateId>
          <QBTaxingAuthorityId>sample string 4</QBTaxingAuthorityId>
          <RateChangedOn>2025-12-16T16:34:27.4201625+00:00</RateChangedOn>
          <ReportAuthorityCode>sample string 1</ReportAuthorityCode>
          <Selected>true</Selected>
          <StaxRate>6</StaxRate>
          <TaxingAuthorityCode>sample string 2</TaxingAuthorityCode>
          <TaxingAuthorityName>sample string 3</TaxingAuthorityName>
        </TaxingAuthority>
        <TaxingAuthority>
          <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">8</AccountId>
          <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 9</CompanyId>
          <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 10</CreatedBy>
          <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T16:34:27.4201625+00:00</CreatedOn>
          <IsActive>true</IsActive>
          <PreviousStaxRate>1</PreviousStaxRate>
          <QBTaxRateId>sample string 5</QBTaxRateId>
          <QBTaxingAuthorityId>sample string 4</QBTaxingAuthorityId>
          <RateChangedOn>2025-12-16T16:34:27.4201625+00:00</RateChangedOn>
          <ReportAuthorityCode>sample string 1</ReportAuthorityCode>
          <Selected>true</Selected>
          <StaxRate>6</StaxRate>
          <TaxingAuthorityCode>sample string 2</TaxingAuthorityCode>
          <TaxingAuthorityName>sample string 3</TaxingAuthorityName>
        </TaxingAuthority>
      </TaxRates>
    </TaxCode>
  </taxCodes>
</AccntPkgSyncQBDesktop>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />