POST api/invoice-selection/nondeduction/save/{invoicePeriodId}/{saveAction}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| invoicePeriodId | integer |
Required |
|
| saveAction | InvoiceSelectSaveOption |
Required |
Body Parameters
Collection of NonDeductionSaveDto| Name | Description | Type | Additional information |
|---|---|---|---|
| InvoiceNumber | string |
None. |
|
| NonDeductibleReasonCode | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"invoiceNumber": "sample string 1",
"nonDeductibleReasonCode": "sample string 2"
},
{
"invoiceNumber": "sample string 1",
"nonDeductibleReasonCode": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfNonDeductionSaveDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAccTax.Declaration.Shared.Dtos.InvoiceSelection">
<NonDeductionSaveDto>
<InvoiceNumber>sample string 1</InvoiceNumber>
<NonDeductibleReasonCode>sample string 2</NonDeductibleReasonCode>
</NonDeductionSaveDto>
<NonDeductionSaveDto>
<InvoiceNumber>sample string 1</InvoiceNumber>
<NonDeductibleReasonCode>sample string 2</NonDeductibleReasonCode>
</NonDeductionSaveDto>
</ArrayOfNonDeductionSaveDto>
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>