GET api/invoice/purchase-summary
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ResponseDataOfListOfDeductSummaryOutput| Name | Description | Type | Additional information |
|---|---|---|---|
| State | ResponseState |
None. |
|
| SubState | ResponseSubStateCode |
None. |
|
| Data | Collection of DeductSummaryOutput |
None. |
|
| Msg | string |
None. |
|
| TaskType | TaxTaskType |
None. |
Response Formats
application/json, text/json
Sample:
{
"state": 1000,
"subState": 0,
"data": [
{
"deductText": "sample string 1",
"count": 2,
"amount": 3.0,
"tax": 4.0
},
{
"deductText": "sample string 1",
"count": 2,
"amount": 3.0,
"tax": 4.0
}
],
"msg": "sample string 1",
"taskType": 3
}
application/xml, text/xml
Sample:
<ResponseDataOfArrayOfDeductSummaryOutput1R1fWJXo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAcc.TaxDeclaration.Service.Models">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonAccTax.Declaration.Shared.Dtos.Invoice">
<d2p1:DeductSummaryOutput>
<d2p1:Amount>3</d2p1:Amount>
<d2p1:Count>2</d2p1:Count>
<d2p1:DeductText>sample string 1</d2p1:DeductText>
<d2p1:Tax>4</d2p1:Tax>
</d2p1:DeductSummaryOutput>
<d2p1:DeductSummaryOutput>
<d2p1:Amount>3</d2p1:Amount>
<d2p1:Count>2</d2p1:Count>
<d2p1:DeductText>sample string 1</d2p1:DeductText>
<d2p1:Tax>4</d2p1:Tax>
</d2p1:DeductSummaryOutput>
</Data>
<Msg>sample string 1</Msg>
<State>OK</State>
<SubState>OK</SubState>
<TaskType>已认证抵扣发票</TaskType>
</ResponseDataOfArrayOfDeductSummaryOutput1R1fWJXo>