POST api/taxnullify/send-nullify-declaration
Request Information
URI Parameters
None.
Body Parameters
SendNullifyDeclarationDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ProjectCode | string |
None. |
|
| DeclareTypeName | string |
None. |
|
| TaxPeriod | TaxPeriod |
None. |
|
| PeriodStart | string |
None. |
|
| PeriodEnd | string |
None. |
|
| Sbuuid | string |
None. |
|
| DocumentNumber | string |
None. |
|
| DeclarationTaxAmount | decimal number |
None. |
|
| DeclationDate | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"projectCode": "sample string 1",
"declareTypeName": "sample string 2",
"taxPeriod": 0,
"periodStart": "sample string 3",
"periodEnd": "sample string 4",
"sbuuid": "sample string 5",
"documentNumber": "sample string 6",
"declarationTaxAmount": 7.0,
"declationDate": "sample string 8"
}
application/xml, text/xml
Sample:
<SendNullifyDeclarationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAccTax.Declaration.Shared.Dtos.Declaration"> <DeclarationTaxAmount>7</DeclarationTaxAmount> <DeclareTypeName>sample string 2</DeclareTypeName> <DeclationDate>sample string 8</DeclationDate> <DocumentNumber>sample string 6</DocumentNumber> <PeriodEnd>sample string 4</PeriodEnd> <PeriodStart>sample string 3</PeriodStart> <ProjectCode>sample string 1</ProjectCode> <Sbuuid>sample string 5</Sbuuid> <TaxPeriod>月</TaxPeriod> </SendNullifyDeclarationDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseDataOfInt32| Name | Description | Type | Additional information |
|---|---|---|---|
| State | ResponseState |
None. |
|
| SubState | ResponseSubStateCode |
None. |
|
| Data | integer |
None. |
|
| Msg | string |
None. |
|
| TaskType | TaxTaskType |
None. |
Response Formats
application/json, text/json
Sample:
{
"state": 1000,
"subState": 0,
"data": 1,
"msg": "sample string 2",
"taskType": 3
}
application/xml, text/xml
Sample:
<ResponseDataOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAcc.TaxDeclaration.Service.Models"> <Data>1</Data> <Msg>sample string 2</Msg> <State>OK</State> <SubState>OK</SubState> <TaskType>已认证抵扣发票</TaskType> </ResponseDataOfint>