POST api/individualStatements/AiImport/PreviewFromAI?sheetIndex={sheetIndex}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sheetIndex

integer

Required

Body Parameters

None.

Response Information

Resource Description

ResponseDataOfListOfAccTaxIndividualSalaryItem
NameDescriptionTypeAdditional information
State

ResponseState

None.

SubState

ResponseSubStateCode

None.

Data

Collection of AccTaxIndividualSalaryItem

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": [
    {
      "rowNum": 1,
      "name": "sample string 2",
      "idTypeName": "港澳居民来往内地通行证",
      "etype": 3,
      "idNumber": "sample string 4",
      "eCode": "sample string 5",
      "needCurrentTaxExemptIncome": true,
      "needCommercialHealthInsurance": true,
      "needAllowableDonation": true,
      "needReductionTaxAmount": true,
      "declareId": "ddd5ec56-0853-46e1-a1b0-83582b0a1ad0",
      "asId": 11,
      "employeeSn": 12,
      "periodId": 13,
      "currentIncome": 1.0,
      "currentTaxExemptIncome": 1.0,
      "deductionStandard": 1.0,
      "pensionInsurance": 1.0,
      "medicalInsurance": 1.0,
      "unemploymentInsurance": 1.0,
      "housingFund": 1.0,
      "enterpriseAnnuity": 1.0,
      "commercialHealthInsurance": 1.0,
      "taxDeferredPension": 1.0,
      "otherDeductions": 1.0,
      "accumulatedIncome": 1.0,
      "accumulatedDeduction": 1.0,
      "accumulatedSpecialDeduction": 1.0,
      "accumulatedChildEducation": 1.0,
      "accumulatedContinuingEducation": 1.0,
      "accumulatedHousingLoan": 1.0,
      "accumulatedHousingRent": 1.0,
      "accumulatedSupportElderly": 1.0,
      "accumulatedInfantCare": 1.0,
      "accumulatedPersonalPension": 1.0,
      "accumulatedOtherDeductions": 1.0,
      "allowableDonation": 1.0,
      "accumulatedAllowableDonation": 1.0,
      "remark": "sample string 14",
      "calculateFailureReason": "sample string 15",
      "reductionTaxAmount": 1.0,
      "accumulatedReductionTaxAmount": 1.0,
      "agreementReductionAmount": 1.0,
      "accumulatedAgreementReductionAmount": 1.0,
      "accumulatedTaxableIncome": 1.0,
      "taxRate": 1.0,
      "quickDeduction": 1.0,
      "accumulatedTaxAmount": 1.0,
      "paidTaxAmount": 1.0,
      "taxRefundOrPay": 1.0
    },
    {
      "rowNum": 1,
      "name": "sample string 2",
      "idTypeName": "港澳居民来往内地通行证",
      "etype": 3,
      "idNumber": "sample string 4",
      "eCode": "sample string 5",
      "needCurrentTaxExemptIncome": true,
      "needCommercialHealthInsurance": true,
      "needAllowableDonation": true,
      "needReductionTaxAmount": true,
      "declareId": "ddd5ec56-0853-46e1-a1b0-83582b0a1ad0",
      "asId": 11,
      "employeeSn": 12,
      "periodId": 13,
      "currentIncome": 1.0,
      "currentTaxExemptIncome": 1.0,
      "deductionStandard": 1.0,
      "pensionInsurance": 1.0,
      "medicalInsurance": 1.0,
      "unemploymentInsurance": 1.0,
      "housingFund": 1.0,
      "enterpriseAnnuity": 1.0,
      "commercialHealthInsurance": 1.0,
      "taxDeferredPension": 1.0,
      "otherDeductions": 1.0,
      "accumulatedIncome": 1.0,
      "accumulatedDeduction": 1.0,
      "accumulatedSpecialDeduction": 1.0,
      "accumulatedChildEducation": 1.0,
      "accumulatedContinuingEducation": 1.0,
      "accumulatedHousingLoan": 1.0,
      "accumulatedHousingRent": 1.0,
      "accumulatedSupportElderly": 1.0,
      "accumulatedInfantCare": 1.0,
      "accumulatedPersonalPension": 1.0,
      "accumulatedOtherDeductions": 1.0,
      "allowableDonation": 1.0,
      "accumulatedAllowableDonation": 1.0,
      "remark": "sample string 14",
      "calculateFailureReason": "sample string 15",
      "reductionTaxAmount": 1.0,
      "accumulatedReductionTaxAmount": 1.0,
      "agreementReductionAmount": 1.0,
      "accumulatedAgreementReductionAmount": 1.0,
      "accumulatedTaxableIncome": 1.0,
      "taxRate": 1.0,
      "quickDeduction": 1.0,
      "accumulatedTaxAmount": 1.0,
      "paidTaxAmount": 1.0,
      "taxRefundOrPay": 1.0
    }
  ],
  "msg": "sample string 1",
  "taskType": 3,
  "taskStyle": 2,
  "deniedPermission": "sample string 3"
}

application/xml, text/xml

Sample:
<ResponseDataOfArrayOfAccTaxIndividualSalaryOutput.AccTaxIndividualSalaryItemMFUJOveK 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.TaxIndividualDeclaration">
    <d2p1:AccTaxIndividualSalaryOutput.AccTaxIndividualSalaryItem>
      <d2p1:AccumulatedAgreementReductionAmount>1</d2p1:AccumulatedAgreementReductionAmount>
      <d2p1:AccumulatedAllowableDonation>1</d2p1:AccumulatedAllowableDonation>
      <d2p1:AccumulatedChildEducation>1</d2p1:AccumulatedChildEducation>
      <d2p1:AccumulatedContinuingEducation>1</d2p1:AccumulatedContinuingEducation>
      <d2p1:AccumulatedDeduction>1</d2p1:AccumulatedDeduction>
      <d2p1:AccumulatedHousingLoan>1</d2p1:AccumulatedHousingLoan>
      <d2p1:AccumulatedHousingRent>1</d2p1:AccumulatedHousingRent>
      <d2p1:AccumulatedIncome>1</d2p1:AccumulatedIncome>
      <d2p1:AccumulatedInfantCare>1</d2p1:AccumulatedInfantCare>
      <d2p1:AccumulatedOtherDeductions>1</d2p1:AccumulatedOtherDeductions>
      <d2p1:AccumulatedPersonalPension>1</d2p1:AccumulatedPersonalPension>
      <d2p1:AccumulatedReductionTaxAmount>1</d2p1:AccumulatedReductionTaxAmount>
      <d2p1:AccumulatedSpecialDeduction>1</d2p1:AccumulatedSpecialDeduction>
      <d2p1:AccumulatedSupportElderly>1</d2p1:AccumulatedSupportElderly>
      <d2p1:AccumulatedTaxAmount>1</d2p1:AccumulatedTaxAmount>
      <d2p1:AccumulatedTaxableIncome>1</d2p1:AccumulatedTaxableIncome>
      <d2p1:AgreementReductionAmount>1</d2p1:AgreementReductionAmount>
      <d2p1:AllowableDonation>1</d2p1:AllowableDonation>
      <d2p1:AsId>11</d2p1:AsId>
      <d2p1:CalculateFailureReason>sample string 15</d2p1:CalculateFailureReason>
      <d2p1:CommercialHealthInsurance>1</d2p1:CommercialHealthInsurance>
      <d2p1:CurrentIncome>1</d2p1:CurrentIncome>
      <d2p1:CurrentTaxExemptIncome>1</d2p1:CurrentTaxExemptIncome>
      <d2p1:DeclareId>ddd5ec56-0853-46e1-a1b0-83582b0a1ad0</d2p1:DeclareId>
      <d2p1:DeductionStandard>1</d2p1:DeductionStandard>
      <d2p1:EmployeeSn>12</d2p1:EmployeeSn>
      <d2p1:EnterpriseAnnuity>1</d2p1:EnterpriseAnnuity>
      <d2p1:HousingFund>1</d2p1:HousingFund>
      <d2p1:MedicalInsurance>1</d2p1:MedicalInsurance>
      <d2p1:OtherDeductions>1</d2p1:OtherDeductions>
      <d2p1:PaidTaxAmount>1</d2p1:PaidTaxAmount>
      <d2p1:PensionInsurance>1</d2p1:PensionInsurance>
      <d2p1:PeriodId>13</d2p1:PeriodId>
      <d2p1:QuickDeduction>1</d2p1:QuickDeduction>
      <d2p1:ReductionTaxAmount>1</d2p1:ReductionTaxAmount>
      <d2p1:Remark>sample string 14</d2p1:Remark>
      <d2p1:TaxDeferredPension>1</d2p1:TaxDeferredPension>
      <d2p1:TaxRate>1</d2p1:TaxRate>
      <d2p1:TaxRefundOrPay>1</d2p1:TaxRefundOrPay>
      <d2p1:UnemploymentInsurance>1</d2p1:UnemploymentInsurance>
      <d2p1:ECode>sample string 5</d2p1:ECode>
      <d2p1:Etype>3</d2p1:Etype>
      <d2p1:IdNumber>sample string 4</d2p1:IdNumber>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:NeedAllowableDonation>true</d2p1:NeedAllowableDonation>
      <d2p1:NeedCommercialHealthInsurance>true</d2p1:NeedCommercialHealthInsurance>
      <d2p1:NeedCurrentTaxExemptIncome>true</d2p1:NeedCurrentTaxExemptIncome>
      <d2p1:NeedReductionTaxAmount>true</d2p1:NeedReductionTaxAmount>
      <d2p1:RowNum>1</d2p1:RowNum>
    </d2p1:AccTaxIndividualSalaryOutput.AccTaxIndividualSalaryItem>
    <d2p1:AccTaxIndividualSalaryOutput.AccTaxIndividualSalaryItem>
      <d2p1:AccumulatedAgreementReductionAmount>1</d2p1:AccumulatedAgreementReductionAmount>
      <d2p1:AccumulatedAllowableDonation>1</d2p1:AccumulatedAllowableDonation>
      <d2p1:AccumulatedChildEducation>1</d2p1:AccumulatedChildEducation>
      <d2p1:AccumulatedContinuingEducation>1</d2p1:AccumulatedContinuingEducation>
      <d2p1:AccumulatedDeduction>1</d2p1:AccumulatedDeduction>
      <d2p1:AccumulatedHousingLoan>1</d2p1:AccumulatedHousingLoan>
      <d2p1:AccumulatedHousingRent>1</d2p1:AccumulatedHousingRent>
      <d2p1:AccumulatedIncome>1</d2p1:AccumulatedIncome>
      <d2p1:AccumulatedInfantCare>1</d2p1:AccumulatedInfantCare>
      <d2p1:AccumulatedOtherDeductions>1</d2p1:AccumulatedOtherDeductions>
      <d2p1:AccumulatedPersonalPension>1</d2p1:AccumulatedPersonalPension>
      <d2p1:AccumulatedReductionTaxAmount>1</d2p1:AccumulatedReductionTaxAmount>
      <d2p1:AccumulatedSpecialDeduction>1</d2p1:AccumulatedSpecialDeduction>
      <d2p1:AccumulatedSupportElderly>1</d2p1:AccumulatedSupportElderly>
      <d2p1:AccumulatedTaxAmount>1</d2p1:AccumulatedTaxAmount>
      <d2p1:AccumulatedTaxableIncome>1</d2p1:AccumulatedTaxableIncome>
      <d2p1:AgreementReductionAmount>1</d2p1:AgreementReductionAmount>
      <d2p1:AllowableDonation>1</d2p1:AllowableDonation>
      <d2p1:AsId>11</d2p1:AsId>
      <d2p1:CalculateFailureReason>sample string 15</d2p1:CalculateFailureReason>
      <d2p1:CommercialHealthInsurance>1</d2p1:CommercialHealthInsurance>
      <d2p1:CurrentIncome>1</d2p1:CurrentIncome>
      <d2p1:CurrentTaxExemptIncome>1</d2p1:CurrentTaxExemptIncome>
      <d2p1:DeclareId>ddd5ec56-0853-46e1-a1b0-83582b0a1ad0</d2p1:DeclareId>
      <d2p1:DeductionStandard>1</d2p1:DeductionStandard>
      <d2p1:EmployeeSn>12</d2p1:EmployeeSn>
      <d2p1:EnterpriseAnnuity>1</d2p1:EnterpriseAnnuity>
      <d2p1:HousingFund>1</d2p1:HousingFund>
      <d2p1:MedicalInsurance>1</d2p1:MedicalInsurance>
      <d2p1:OtherDeductions>1</d2p1:OtherDeductions>
      <d2p1:PaidTaxAmount>1</d2p1:PaidTaxAmount>
      <d2p1:PensionInsurance>1</d2p1:PensionInsurance>
      <d2p1:PeriodId>13</d2p1:PeriodId>
      <d2p1:QuickDeduction>1</d2p1:QuickDeduction>
      <d2p1:ReductionTaxAmount>1</d2p1:ReductionTaxAmount>
      <d2p1:Remark>sample string 14</d2p1:Remark>
      <d2p1:TaxDeferredPension>1</d2p1:TaxDeferredPension>
      <d2p1:TaxRate>1</d2p1:TaxRate>
      <d2p1:TaxRefundOrPay>1</d2p1:TaxRefundOrPay>
      <d2p1:UnemploymentInsurance>1</d2p1:UnemploymentInsurance>
      <d2p1:ECode>sample string 5</d2p1:ECode>
      <d2p1:Etype>3</d2p1:Etype>
      <d2p1:IdNumber>sample string 4</d2p1:IdNumber>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:NeedAllowableDonation>true</d2p1:NeedAllowableDonation>
      <d2p1:NeedCommercialHealthInsurance>true</d2p1:NeedCommercialHealthInsurance>
      <d2p1:NeedCurrentTaxExemptIncome>true</d2p1:NeedCurrentTaxExemptIncome>
      <d2p1:NeedReductionTaxAmount>true</d2p1:NeedReductionTaxAmount>
      <d2p1:RowNum>1</d2p1:RowNum>
    </d2p1:AccTaxIndividualSalaryOutput.AccTaxIndividualSalaryItem>
  </Data>
  <DeniedPermission>sample string 3</DeniedPermission>
  <Msg>sample string 1</Msg>
  <State>OK</State>
  <SubState>OK</SubState>
  <TaskStyle>2</TaskStyle>
  <TaskType>已认证抵扣发票</TaskType>
</ResponseDataOfArrayOfAccTaxIndividualSalaryOutput.AccTaxIndividualSalaryItemMFUJOveK>