PUT api/basic/TaxSettings
Request Information
URI Parameters
None.
Body Parameters
DeclarationInfoCreateOrUpdateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| IsClassification | boolean |
None. |
|
| IsTaxClassification | boolean |
None. |
|
| CreditLevel | string |
None. |
|
| TaxaionType | string |
None. |
|
| DataSource | FinancialDataSource |
None. |
|
| HasCashflowSheet | boolean |
None. |
|
| YearStartBalance | YearBalanceType |
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. |
Request Formats
application/json, text/json
Sample:
{
"isClassification": true,
"isTaxClassification": true,
"creditLevel": "sample string 3",
"taxaionType": "sample string 4",
"dataSource": 0,
"hasCashflowSheet": true,
"yearStartBalance": 0,
"taxType": 1,
"establishDate": "sample string 6",
"industry": "sample string 7",
"hasFinancialInfo": true,
"initCompleted": true,
"isExportRefund": true,
"deregistered": true,
"taxAccountStandard": 1,
"taxNumberI": "sample string 12",
"subTaxAccountingStandard": 13,
"stampFillway": 0,
"stampAutofillWay": 0,
"stampAutofillFactor": 14.0,
"stampAutofillPeriod": 0,
"accAmountSource": 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> <CreditLevel>sample string 3</CreditLevel> <DataSource>NotCheckout</DataSource> <Deregistered>true</Deregistered> <EstablishDate>sample string 6</EstablishDate> <HasCashflowSheet>true</HasCashflowSheet> <HasFinancialInfo>true</HasFinancialInfo> <Industry>sample string 7</Industry> <InitCompleted>true</InitCompleted> <IsClassification>true</IsClassification> <IsExportRefund>true</IsExportRefund> <IsTaxClassification>true</IsTaxClassification> <StampAutofillFactor>14</StampAutofillFactor> <StampAutofillPeriod>月</StampAutofillPeriod> <StampAutofillWay>进销项发票含税</StampAutofillWay> <StampFillway>手动</StampFillway> <SubTaxAccountingStandard>13</SubTaxAccountingStandard> <TaxAccountStandard>LittleCompanyStandard</TaxAccountStandard> <TaxNumberI>sample string 12</TaxNumberI> <TaxType>Small</TaxType> <TaxaionType>sample string 4</TaxaionType> <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>