PUT api/basic/TaxSettingsWithDeclaration?taxPeriod={taxPeriod}&editProjectCode={editProjectCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| taxPeriod | TaxPeriod |
Required |
|
| editProjectCode | string |
Required |
Body Parameters
DeclarationInfoCreateOrUpdateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| IsClassification | boolean |
None. |
|
| IsTaxClassification | boolean |
None. |
|
| IsCashClassification | boolean |
None. |
|
| CreditLevel | string |
None. |
|
| TaxaionType | string |
None. |
|
| DataSource | FinancialDataSource |
None. |
|
| HasCashflowSheet | boolean |
None. |
|
| YearStartBalance | YearBalanceType |
None. |
|
| CashCalMethod | CashCalMethod |
None. |
|
| TaxType | TaxpayerLevel |
None. |
|
| EstablishDate | string |
None. |
|
| Industry | string |
None. |
|
| HasFinancialInfo | boolean |
None. |
|
| InitCompleted | boolean |
None. |
|
| IsExportRefund | boolean |
None. |
|
| Deregistered | boolean |
None. |
|
| TaxAccountStandard | AccountingStandard |
None. |
|
| TaxNumberI | string |
None. |
|
| SubTaxAccountingStandard | integer |
None. |
|
| StampFillway | StampTaxFillway |
None. |
|
| StampAutofillWay | StampTaxAutofillWay |
None. |
|
| StampAutofillFactor | decimal number |
None. |
|
| StampAutofillPeriod | StampTaxAutofillPeriod |
None. |
|
| AccAmountSource | AccAmountSourceType |
None. |
|
| Version | integer |
None. |
|
| RegistTypeCode | string |
None. |
|
| RegistTypeName | string |
None. |
|
| BranchEnterprises | string |
None. |
|
| TaxRegistrationDate | string |
None. |
|
| TaxTypeEffectDateBegin | date |
None. |
|
| TaxTypeEffectDateEnd | date |
None. |
|
| LastRefreshTime | date |
None. |
|
| AssessedCollection | integer |
None. |
|
| TaxableBusinessTurnover | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"isClassification": true,
"isTaxClassification": true,
"isCashClassification": true,
"creditLevel": "sample string 4",
"taxaionType": "sample string 5",
"dataSource": 0,
"hasCashflowSheet": true,
"yearStartBalance": 0,
"cashCalMethod": 0,
"taxType": 1,
"establishDate": "sample string 7",
"industry": "sample string 8",
"hasFinancialInfo": true,
"initCompleted": true,
"isExportRefund": true,
"deregistered": true,
"taxAccountStandard": 1,
"taxNumberI": "sample string 13",
"subTaxAccountingStandard": 14,
"stampFillway": 0,
"stampAutofillWay": 0,
"stampAutofillFactor": 15.0,
"stampAutofillPeriod": 0,
"accAmountSource": 0,
"version": 16,
"registTypeCode": "sample string 17",
"registTypeName": "sample string 18",
"branchEnterprises": "sample string 19",
"taxRegistrationDate": "sample string 20",
"taxTypeEffectDateBegin": "2026-03-06 16:54:05",
"taxTypeEffectDateEnd": "2026-03-06 16:54:05",
"lastRefreshTime": "2026-03-06 16:54:05",
"assessedCollection": 21,
"taxableBusinessTurnover": 22.0
}
application/xml, text/xml
Sample:
<DeclarationInfoCreateOrUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAccTax.Declaration.Shared.Dtos.BasicInfo"> <AccAmountSource>DeclareFinancial</AccAmountSource> <AssessedCollection>21</AssessedCollection> <BranchEnterprises>sample string 19</BranchEnterprises> <CashCalMethod>Default</CashCalMethod> <CreditLevel>sample string 4</CreditLevel> <DataSource>NotCheckout</DataSource> <Deregistered>true</Deregistered> <EstablishDate>sample string 7</EstablishDate> <HasCashflowSheet>true</HasCashflowSheet> <HasFinancialInfo>true</HasFinancialInfo> <Industry>sample string 8</Industry> <InitCompleted>true</InitCompleted> <IsCashClassification>true</IsCashClassification> <IsClassification>true</IsClassification> <IsExportRefund>true</IsExportRefund> <IsTaxClassification>true</IsTaxClassification> <LastRefreshTime>2026-03-06T16:54:05.6487241+08:00</LastRefreshTime> <RegistTypeCode>sample string 17</RegistTypeCode> <RegistTypeName>sample string 18</RegistTypeName> <StampAutofillFactor>15</StampAutofillFactor> <StampAutofillPeriod>月</StampAutofillPeriod> <StampAutofillWay>进销项发票含税</StampAutofillWay> <StampFillway>手动</StampFillway> <SubTaxAccountingStandard>14</SubTaxAccountingStandard> <TaxAccountStandard>LittleCompanyStandard</TaxAccountStandard> <TaxNumberI>sample string 13</TaxNumberI> <TaxRegistrationDate>sample string 20</TaxRegistrationDate> <TaxType>Small</TaxType> <TaxTypeEffectDateBegin>2026-03-06T16:54:05.6487241+08:00</TaxTypeEffectDateBegin> <TaxTypeEffectDateEnd>2026-03-06T16:54:05.6487241+08:00</TaxTypeEffectDateEnd> <TaxableBusinessTurnover>22</TaxableBusinessTurnover> <TaxaionType>sample string 5</TaxaionType> <Version>16</Version> <YearStartBalance>FromTaxBureau</YearStartBalance> </DeclarationInfoCreateOrUpdateDto>
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>