PUT api/type/{code}/{period}?isContinue={isContinue}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
Required |
|
| period | TaxPeriod |
Required |
|
| isContinue | boolean |
Required |
Body Parameters
TaxTypeItem| Name | Description | Type | Additional information |
|---|---|---|---|
| ParentCode | string |
None. |
|
| ParentTaxPeriod | TaxPeriod |
None. |
|
| AsId | integer |
None. |
|
| ProjectCode | string |
Required |
|
| ProjectName | string |
None. |
|
| DeclarationType | integer |
Required |
|
| TaxPeriod | TaxPeriod |
Required |
|
| Option | TaxTypeOption |
Required |
|
| ConfirmStartDate | date |
Required |
|
| ConfirmEndDate | date |
Required |
|
| Source | TaxTypeSource |
None. |
|
| Order | integer |
None. |
|
| EntryType | EntryType |
None. |
|
| DeclarationTypeName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"parentCode": "sample string 1",
"parentTaxPeriod": 0,
"asId": 2,
"projectCode": "sample string 3",
"projectName": "sample string 4",
"declarationType": 5,
"taxPeriod": 0,
"option": 0,
"confirmStartDate": "2025-10-27",
"confirmEndDate": "2025-10-27",
"source": 0,
"order": 8,
"entryType": 0,
"declarationTypeName": "sample string 4申报表"
}
application/xml, text/xml
Sample:
<TaxTypeItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAccTax.Declaration.Shared.Models"> <_declarationTypeName i:nil="true" /> <_x003C_AsId_x003E_k__BackingField>2</_x003C_AsId_x003E_k__BackingField> <_x003C_ConfirmEndDate_x003E_k__BackingField>2025-10-27T07:48:25.3717773+08:00</_x003C_ConfirmEndDate_x003E_k__BackingField> <_x003C_ConfirmStartDate_x003E_k__BackingField>2025-10-27T07:48:25.3717773+08:00</_x003C_ConfirmStartDate_x003E_k__BackingField> <_x003C_DeclarationType_x003E_k__BackingField>5</_x003C_DeclarationType_x003E_k__BackingField> <_x003C_EntryType_x003E_k__BackingField>品目</_x003C_EntryType_x003E_k__BackingField> <_x003C_Option_x003E_k__BackingField>申报</_x003C_Option_x003E_k__BackingField> <_x003C_Order_x003E_k__BackingField>8</_x003C_Order_x003E_k__BackingField> <_x003C_ParentCode_x003E_k__BackingField>sample string 1</_x003C_ParentCode_x003E_k__BackingField> <_x003C_ParentTaxPeriod_x003E_k__BackingField>月</_x003C_ParentTaxPeriod_x003E_k__BackingField> <_x003C_ProjectCode_x003E_k__BackingField>sample string 3</_x003C_ProjectCode_x003E_k__BackingField> <_x003C_ProjectName_x003E_k__BackingField>sample string 4</_x003C_ProjectName_x003E_k__BackingField> <_x003C_Source_x003E_k__BackingField>FromTaxBureau</_x003C_Source_x003E_k__BackingField> <_x003C_TaxPeriod_x003E_k__BackingField>月</_x003C_TaxPeriod_x003E_k__BackingField> </TaxTypeItem>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseDataOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| State | ResponseState |
None. |
|
| SubState | ResponseSubStateCode |
None. |
|
| Data | boolean |
None. |
|
| Msg | string |
None. |
|
| TaskType | TaxTaskType |
None. |
Response Formats
application/json, text/json
Sample:
{
"state": 1000,
"subState": 0,
"data": true,
"msg": "sample string 2",
"taskType": 3
}
application/xml, text/xml
Sample:
<ResponseDataOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAcc.TaxDeclaration.Service.Models"> <Data>true</Data> <Msg>sample string 2</Msg> <State>OK</State> <SubState>OK</SubState> <TaskType>已认证抵扣发票</TaskType> </ResponseDataOfboolean>