GET api/invoice-selection/statistics?invoicePeriodId={invoicePeriodId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
invoicePeriodId

integer

Required

Body Parameters

None.

Response Information

Resource Description

ResponseDataOfStatisticalConfirmResult
NameDescriptionTypeAdditional information
State

ResponseState

None.

SubState

ResponseSubStateCode

None.

Data

StatisticalConfirmResult

None.

Msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "state": 1000,
  "subState": 0,
  "data": {
    "vatDeductionResult": [
      {
        "typeName": "sample string 1",
        "count": 2,
        "amount": "sample string 3",
        "tax": 4.0
      },
      {
        "typeName": "sample string 1",
        "count": 2,
        "amount": "sample string 3",
        "tax": 4.0
      }
    ],
    "deductionSelectionResult": [
      {
        "typeName": "sample string 1",
        "totalCount": 2,
        "deductionAmount": 3.0,
        "exportToDomesticCount": "sample string 4",
        "exportToDomesticTax": "sample string 5",
        "otherInvoiceCount": 6,
        "otherDeductionTax": 7.0
      },
      {
        "typeName": "sample string 1",
        "totalCount": 2,
        "deductionAmount": 3.0,
        "exportToDomesticCount": "sample string 4",
        "exportToDomesticTax": "sample string 5",
        "otherInvoiceCount": 6,
        "otherDeductionTax": 7.0
      }
    ],
    "agriculturalDeductionResult": [
      {
        "typeName": "sample string 1",
        "count": 2,
        "deductionAmount": 3.0,
        "negativeCount": 4,
        "negativeDeductionAmount": 5.0
      },
      {
        "typeName": "sample string 1",
        "count": 2,
        "deductionAmount": 3.0,
        "negativeCount": 4,
        "negativeDeductionAmount": 5.0
      }
    ],
    "abnormalResult": [
      {
        "typeName": "sample string 1",
        "totalCount": 2,
        "deductionAmount": 3.0,
        "exportToDomesticCount": "sample string 4",
        "exportToDomesticTax": "sample string 5",
        "otherInvoiceCount": 6,
        "otherDeductionTax": 7.0
      },
      {
        "typeName": "sample string 1",
        "totalCount": 2,
        "deductionAmount": 3.0,
        "exportToDomesticCount": "sample string 4",
        "exportToDomesticTax": "sample string 5",
        "otherInvoiceCount": 6,
        "otherDeductionTax": 7.0
      }
    ]
  },
  "msg": "sample string 1"
}

application/xml, text/xml

Sample:
<ResponseDataOfStatisticalConfirmResulth1OrvU0H 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.InvoiceSelection">
    <d2p1:AbnormalResult>
      <d2p1:DeductionSelectionResult>
        <d2p1:DeductionAmount>3</d2p1:DeductionAmount>
        <d2p1:ExportToDomesticCount>sample string 4</d2p1:ExportToDomesticCount>
        <d2p1:ExportToDomesticTax>sample string 5</d2p1:ExportToDomesticTax>
        <d2p1:OtherDeductionTax>7</d2p1:OtherDeductionTax>
        <d2p1:OtherInvoiceCount>6</d2p1:OtherInvoiceCount>
        <d2p1:TotalCount>2</d2p1:TotalCount>
        <d2p1:TypeName>sample string 1</d2p1:TypeName>
      </d2p1:DeductionSelectionResult>
      <d2p1:DeductionSelectionResult>
        <d2p1:DeductionAmount>3</d2p1:DeductionAmount>
        <d2p1:ExportToDomesticCount>sample string 4</d2p1:ExportToDomesticCount>
        <d2p1:ExportToDomesticTax>sample string 5</d2p1:ExportToDomesticTax>
        <d2p1:OtherDeductionTax>7</d2p1:OtherDeductionTax>
        <d2p1:OtherInvoiceCount>6</d2p1:OtherInvoiceCount>
        <d2p1:TotalCount>2</d2p1:TotalCount>
        <d2p1:TypeName>sample string 1</d2p1:TypeName>
      </d2p1:DeductionSelectionResult>
    </d2p1:AbnormalResult>
    <d2p1:AgriculturalDeductionResult>
      <d2p1:AgriculturalDeductionResult>
        <d2p1:Count>2</d2p1:Count>
        <d2p1:DeductionAmount>3</d2p1:DeductionAmount>
        <d2p1:NegativeCount>4</d2p1:NegativeCount>
        <d2p1:NegativeDeductionAmount>5</d2p1:NegativeDeductionAmount>
        <d2p1:TypeName>sample string 1</d2p1:TypeName>
      </d2p1:AgriculturalDeductionResult>
      <d2p1:AgriculturalDeductionResult>
        <d2p1:Count>2</d2p1:Count>
        <d2p1:DeductionAmount>3</d2p1:DeductionAmount>
        <d2p1:NegativeCount>4</d2p1:NegativeCount>
        <d2p1:NegativeDeductionAmount>5</d2p1:NegativeDeductionAmount>
        <d2p1:TypeName>sample string 1</d2p1:TypeName>
      </d2p1:AgriculturalDeductionResult>
    </d2p1:AgriculturalDeductionResult>
    <d2p1:DeductionSelectionResult>
      <d2p1:DeductionSelectionResult>
        <d2p1:DeductionAmount>3</d2p1:DeductionAmount>
        <d2p1:ExportToDomesticCount>sample string 4</d2p1:ExportToDomesticCount>
        <d2p1:ExportToDomesticTax>sample string 5</d2p1:ExportToDomesticTax>
        <d2p1:OtherDeductionTax>7</d2p1:OtherDeductionTax>
        <d2p1:OtherInvoiceCount>6</d2p1:OtherInvoiceCount>
        <d2p1:TotalCount>2</d2p1:TotalCount>
        <d2p1:TypeName>sample string 1</d2p1:TypeName>
      </d2p1:DeductionSelectionResult>
      <d2p1:DeductionSelectionResult>
        <d2p1:DeductionAmount>3</d2p1:DeductionAmount>
        <d2p1:ExportToDomesticCount>sample string 4</d2p1:ExportToDomesticCount>
        <d2p1:ExportToDomesticTax>sample string 5</d2p1:ExportToDomesticTax>
        <d2p1:OtherDeductionTax>7</d2p1:OtherDeductionTax>
        <d2p1:OtherInvoiceCount>6</d2p1:OtherInvoiceCount>
        <d2p1:TotalCount>2</d2p1:TotalCount>
        <d2p1:TypeName>sample string 1</d2p1:TypeName>
      </d2p1:DeductionSelectionResult>
    </d2p1:DeductionSelectionResult>
    <d2p1:VATDeductionResult>
      <d2p1:VATDeductionResult>
        <d2p1:Amount>sample string 3</d2p1:Amount>
        <d2p1:Count>2</d2p1:Count>
        <d2p1:Tax>4</d2p1:Tax>
        <d2p1:TypeName>sample string 1</d2p1:TypeName>
      </d2p1:VATDeductionResult>
      <d2p1:VATDeductionResult>
        <d2p1:Amount>sample string 3</d2p1:Amount>
        <d2p1:Count>2</d2p1:Count>
        <d2p1:Tax>4</d2p1:Tax>
        <d2p1:TypeName>sample string 1</d2p1:TypeName>
      </d2p1:VATDeductionResult>
    </d2p1:VATDeductionResult>
  </Data>
  <Msg>sample string 1</Msg>
  <State>OK</State>
  <SubState>OK</SubState>
</ResponseDataOfStatisticalConfirmResulth1OrvU0H>