POST api/IndividualDeclaration/Declare

Request Information

URI Parameters

None.

Body Parameters

IndividualDeclareRequest
NameDescriptionTypeAdditional information
DimissionEmployees

Collection of TaxPersonDimissionEmployeeDto

None.

Request Formats

application/json, text/json

Sample:
{
  "dimissionEmployees": [
    {
      "e_SN": 1,
      "e_NAME": "sample string 2",
      "e_TYPE_NAME": "sample string 3",
      "e_ID": "sample string 4",
      "country": "sample string 5",
      "starT_DATE": "2026-08-24 03:57:14",
      "enD_DATE": "2026-08-24 03:57:14",
      "reportSnapshotJson": "sample string 7"
    },
    {
      "e_SN": 1,
      "e_NAME": "sample string 2",
      "e_TYPE_NAME": "sample string 3",
      "e_ID": "sample string 4",
      "country": "sample string 5",
      "starT_DATE": "2026-08-24 03:57:14",
      "enD_DATE": "2026-08-24 03:57:14",
      "reportSnapshotJson": "sample string 7"
    }
  ]
}

application/xml, text/xml

Sample:
<IndividualDeclareRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAccTax.Declaration.Shared.Dtos.TaxIndividualDeclaration">
  <DimissionEmployees>
    <TaxPersonDimissionEmployeeDto>
      <COUNTRY>sample string 5</COUNTRY>
      <END_DATE>2026-08-24T03:57:14.9496615+08:00</END_DATE>
      <E_ID>sample string 4</E_ID>
      <E_NAME>sample string 2</E_NAME>
      <E_SN>1</E_SN>
      <E_TYPE_NAME>sample string 3</E_TYPE_NAME>
      <ReportSnapshotJson>sample string 7</ReportSnapshotJson>
      <START_DATE>2026-08-24T03:57:14.9496615+08:00</START_DATE>
    </TaxPersonDimissionEmployeeDto>
    <TaxPersonDimissionEmployeeDto>
      <COUNTRY>sample string 5</COUNTRY>
      <END_DATE>2026-08-24T03:57:14.9496615+08:00</END_DATE>
      <E_ID>sample string 4</E_ID>
      <E_NAME>sample string 2</E_NAME>
      <E_SN>1</E_SN>
      <E_TYPE_NAME>sample string 3</E_TYPE_NAME>
      <ReportSnapshotJson>sample string 7</ReportSnapshotJson>
      <START_DATE>2026-08-24T03:57:14.9496615+08:00</START_DATE>
    </TaxPersonDimissionEmployeeDto>
  </DimissionEmployees>
</IndividualDeclareRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseDataOfDeclareVerifyResultDto
NameDescriptionTypeAdditional information
State

ResponseState

None.

SubState

ResponseSubStateCode

None.

Data

DeclareVerifyResultDto

None.

Msg

string

None.

TaskType

TaxTaskType

None.

TaskStyle

integer

None.

DeniedPermission

string

None.

Response Formats

application/json, text/json

Sample:
{
  "state": 1000,
  "subState": 0,
  "data": {
    "taskID": 1,
    "verifyResult": {
      "isPass": true,
      "data": [
        {
          "title": 1,
          "subTitle": "sample string 2",
          "reason": "sample string 3",
          "type": 4,
          "details": [
            {
              "tableName": "sample string 1",
              "tableDesc": "sample string 2",
              "tableAmount": 1.0,
              "sjDesc": "sample string 3",
              "sjAmount": 1.0,
              "desc3": "sample string 4",
              "remark": "sample string 5"
            },
            {
              "tableName": "sample string 1",
              "tableDesc": "sample string 2",
              "tableAmount": 1.0,
              "sjDesc": "sample string 3",
              "sjAmount": 1.0,
              "desc3": "sample string 4",
              "remark": "sample string 5"
            }
          ]
        },
        {
          "title": 1,
          "subTitle": "sample string 2",
          "reason": "sample string 3",
          "type": 4,
          "details": [
            {
              "tableName": "sample string 1",
              "tableDesc": "sample string 2",
              "tableAmount": 1.0,
              "sjDesc": "sample string 3",
              "sjAmount": 1.0,
              "desc3": "sample string 4",
              "remark": "sample string 5"
            },
            {
              "tableName": "sample string 1",
              "tableDesc": "sample string 2",
              "tableAmount": 1.0,
              "sjDesc": "sample string 3",
              "sjAmount": 1.0,
              "desc3": "sample string 4",
              "remark": "sample string 5"
            }
          ]
        }
      ],
      "needRiskPrompt": true
    },
    "needRiskPrompt": true
  },
  "msg": "sample string 1",
  "taskType": 3,
  "taskStyle": 2,
  "deniedPermission": "sample string 3"
}

application/xml, text/xml

Sample:
<ResponseDataOfDeclareVerifyResultDtojLoGNTOQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAcc.TaxDeclaration.Service.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonAccTax.Declaration.Shared.Dtos.StatementDeclare">
    <d2p1:NeedRiskPrompt>true</d2p1:NeedRiskPrompt>
    <d2p1:TaskID>1</d2p1:TaskID>
    <d2p1:VerifyResult>
      <d2p1:Data>
        <d2p1:VerifyResultItemDto>
          <d2p1:Details>
            <d2p1:VerifyResultItemDetailDto>
              <d2p1:Desc3>sample string 4</d2p1:Desc3>
              <d2p1:Remark>sample string 5</d2p1:Remark>
              <d2p1:SjAmount>1</d2p1:SjAmount>
              <d2p1:SjDesc>sample string 3</d2p1:SjDesc>
              <d2p1:TableAmount>1</d2p1:TableAmount>
              <d2p1:TableDesc>sample string 2</d2p1:TableDesc>
              <d2p1:TableName>sample string 1</d2p1:TableName>
            </d2p1:VerifyResultItemDetailDto>
            <d2p1:VerifyResultItemDetailDto>
              <d2p1:Desc3>sample string 4</d2p1:Desc3>
              <d2p1:Remark>sample string 5</d2p1:Remark>
              <d2p1:SjAmount>1</d2p1:SjAmount>
              <d2p1:SjDesc>sample string 3</d2p1:SjDesc>
              <d2p1:TableAmount>1</d2p1:TableAmount>
              <d2p1:TableDesc>sample string 2</d2p1:TableDesc>
              <d2p1:TableName>sample string 1</d2p1:TableName>
            </d2p1:VerifyResultItemDetailDto>
          </d2p1:Details>
          <d2p1:Reason>sample string 3</d2p1:Reason>
          <d2p1:SubTitle>sample string 2</d2p1:SubTitle>
          <d2p1:Title>1</d2p1:Title>
          <d2p1:Type>4</d2p1:Type>
        </d2p1:VerifyResultItemDto>
        <d2p1:VerifyResultItemDto>
          <d2p1:Details>
            <d2p1:VerifyResultItemDetailDto>
              <d2p1:Desc3>sample string 4</d2p1:Desc3>
              <d2p1:Remark>sample string 5</d2p1:Remark>
              <d2p1:SjAmount>1</d2p1:SjAmount>
              <d2p1:SjDesc>sample string 3</d2p1:SjDesc>
              <d2p1:TableAmount>1</d2p1:TableAmount>
              <d2p1:TableDesc>sample string 2</d2p1:TableDesc>
              <d2p1:TableName>sample string 1</d2p1:TableName>
            </d2p1:VerifyResultItemDetailDto>
            <d2p1:VerifyResultItemDetailDto>
              <d2p1:Desc3>sample string 4</d2p1:Desc3>
              <d2p1:Remark>sample string 5</d2p1:Remark>
              <d2p1:SjAmount>1</d2p1:SjAmount>
              <d2p1:SjDesc>sample string 3</d2p1:SjDesc>
              <d2p1:TableAmount>1</d2p1:TableAmount>
              <d2p1:TableDesc>sample string 2</d2p1:TableDesc>
              <d2p1:TableName>sample string 1</d2p1:TableName>
            </d2p1:VerifyResultItemDetailDto>
          </d2p1:Details>
          <d2p1:Reason>sample string 3</d2p1:Reason>
          <d2p1:SubTitle>sample string 2</d2p1:SubTitle>
          <d2p1:Title>1</d2p1:Title>
          <d2p1:Type>4</d2p1:Type>
        </d2p1:VerifyResultItemDto>
      </d2p1:Data>
      <d2p1:IsPass>true</d2p1:IsPass>
      <d2p1:NeedRiskPrompt>true</d2p1:NeedRiskPrompt>
    </d2p1:VerifyResult>
  </Data>
  <DeniedPermission>sample string 3</DeniedPermission>
  <Msg>sample string 1</Msg>
  <State>OK</State>
  <SubState>OK</SubState>
  <TaskStyle>2</TaskStyle>
  <TaskType>已认证抵扣发票</TaskType>
</ResponseDataOfDeclareVerifyResultDtojLoGNTOQ>