POST api/{area}/TaxReportSheet?access_token={access_token}
获取纳税统计表
Request Information
Body Parameters
DefaultSheetStatementQueryParams| Name | Description | Type | Additional information |
|---|---|---|---|
| year_month |
报表期间,如2016-10 |
string |
Required Matching regular expression pattern: ^(20[0-3][0-9]-([1-9]|0[1-9]|1[0-2])$) |
| as_id |
账套ID |
integer |
Range: inclusive between 100000000 and 999999999 |
| account_standard |
账套准则 |
AccountingStandard |
Required Range: inclusive between 1 and 3 |
Request Formats
application/json, text/json
Sample:
{
"year_month": "sample string 1",
"as_id": 2,
"account_standard": 1
}
application/xml, text/xml
Sample:
<DefaultSheetStatementQueryParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.Facade.Statement"> <ASStartDate xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.Facade">2025-12-16T04:45:15.90295+08:00</ASStartDate> <AccountStandard xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.Facade">LittleCompanyStandard</AccountStandard> <ActiveFixedAsset xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.Facade">true</ActiveFixedAsset> <Asid xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.Facade">2</Asid> <UserSn xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.Facade">3</UserSn> <YearMonth>sample string 1</YearMonth> </DefaultSheetStatementQueryParams>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
获取纳税统计表
Collection of TaxReportViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PID |
期间ID |
integer |
None. |
| ASID |
账套ID |
integer |
None. |
| StatementID |
报表类型ID |
integer |
None. |
| LineID |
报表行 内部编码 |
integer |
None. |
| LineName |
报表行各项财务统计指标名称 |
string |
None. |
| LineType |
行类别,分为四种0 类别 1 项目 2 空行 3总计 |
LineType |
None. |
| EntryType |
内部类别,只在资产负债表中用于识别资产列于负载权益列 1 资产 2负债 3权益 |
EntryType |
None. |
| LineNumber |
显示用行号 |
integer |
None. |
| Note |
计算公式文本 |
string |
None. |
| ParentID |
行与行父子关系键 |
integer |
None. |
| Expand |
是否展开合并与ParentID共同用于控制显示 |
integer |
None. |
| Amount |
本期数据 |
string |
None. |
| InitalAmount |
本年累计 |
string |
None. |
| AmountBefore |
上一年度同期数据 |
string |
None. |
| InitalAmountBefore |
上一年度同期本年累计 |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"pid": 1,
"asid": 2,
"statement_id": 3,
"line_id": 4,
"line_name": "sample string 5",
"line_type": 0,
"entry_type": 0,
"line_number": 6,
"note": "sample string 7",
"parent_id": 8,
"expand": 9,
"amount": "sample string 10",
"inital_amount": "sample string 11",
"amount_before": "sample string 12",
"inital_amount_before": "sample string 13"
},
{
"pid": 1,
"asid": 2,
"statement_id": 3,
"line_id": 4,
"line_name": "sample string 5",
"line_type": 0,
"entry_type": 0,
"line_number": 6,
"note": "sample string 7",
"parent_id": 8,
"expand": 9,
"amount": "sample string 10",
"inital_amount": "sample string 11",
"amount_before": "sample string 12",
"inital_amount_before": "sample string 13"
}
]
application/xml, text/xml
Sample:
<ArrayOfTaxReportViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAcc.Open.Areas.Statements.Models">
<TaxReportViewModel>
<ASID>2</ASID>
<Amount>sample string 10</Amount>
<AmountBefore>sample string 12</AmountBefore>
<EntryType>Unkown</EntryType>
<Expand>9</Expand>
<InitalAmount>sample string 11</InitalAmount>
<InitalAmountBefore>sample string 13</InitalAmountBefore>
<LineID>4</LineID>
<LineName>sample string 5</LineName>
<LineNumber>6</LineNumber>
<LineType>TypeLine</LineType>
<Note>sample string 7</Note>
<PID>1</PID>
<ParentID>8</ParentID>
<StatementID>3</StatementID>
</TaxReportViewModel>
<TaxReportViewModel>
<ASID>2</ASID>
<Amount>sample string 10</Amount>
<AmountBefore>sample string 12</AmountBefore>
<EntryType>Unkown</EntryType>
<Expand>9</Expand>
<InitalAmount>sample string 11</InitalAmount>
<InitalAmountBefore>sample string 13</InitalAmountBefore>
<LineID>4</LineID>
<LineName>sample string 5</LineName>
<LineNumber>6</LineNumber>
<LineType>TypeLine</LineType>
<Note>sample string 7</Note>
<PID>1</PID>
<ParentID>8</ParentID>
<StatementID>3</StatementID>
</TaxReportViewModel>
</ArrayOfTaxReportViewModel>