POST api/{area}/IncomeSheet?access_token={access_token}
获取利润表
Request Information
Body Parameters
DefaultSheetStatementQueryParamsName | 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">2024-03-29T08:24:33.237281+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 StatementItemName | Description | Type | Additional information |
---|---|---|---|
Amount1 |
只在资产负债表使用,用于存储重分类前期末余额 |
string |
None. |
InitalAmount1 |
只在资产负债表使用,用于存储重分类前年初余额 在成员权益变动表中存储年末余额 |
string |
None. |
CreatedManually |
只在调整表中使用,存储是否手动调整改行值 |
integer |
None. |
PID |
期间ID |
integer |
None. |
ASID |
账套id |
integer |
None. |
StatementID |
报表类型值 |
integer |
None. |
LineID | integer |
None. |
|
LineName |
报表行各项财务统计指标名称 |
string |
None. |
LineType |
行类别,分为四种0 类别 1 项目 2 空行 3总计 |
LineType |
None. |
EntryType |
内部类别,只在资产负债表中用于识别资产列于负载权益列 1 资产 2负债 3权益 在盈余及盈余分配表中 5 本年盈余 6 盈余分配 |
EntryType |
None. |
LineNumber |
显示用行号 |
integer |
None. |
Note |
计算公式文本 |
string |
None. |
ParentID |
行与行父子关系键 |
integer |
None. |
Expand |
是否展开合并与ParentID共同用于控制显示 |
integer |
None. |
Amount |
资产复制表中表示期末余额 其他表示本期数据 |
decimal number |
None. |
InitalAmount |
资产负债表中表示期初余额 其他表示本年累计 现金流量表报表底稿不支持该值 |
decimal number |
None. |
Priority |
表内总计项目计算的优先级,越大计算越早 |
integer |
None. |
CoumType | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "amount1": "sample string 1", "inital_amount1": "sample string 2", "created_manually": 3, "pid": 4, "asid": 5, "statement_id": 6, "line_id": 7, "line_name": "sample string 8", "line_type": 0, "entry_type": 0, "line_number": 9, "note": "sample string 10", "parent_id": 11, "expand": 12, "amount": 13.0, "inital_amount": 14.0, "priority": 15, "coum_type": 16 }, { "amount1": "sample string 1", "inital_amount1": "sample string 2", "created_manually": 3, "pid": 4, "asid": 5, "statement_id": 6, "line_id": 7, "line_name": "sample string 8", "line_type": 0, "entry_type": 0, "line_number": 9, "note": "sample string 10", "parent_id": 11, "expand": 12, "amount": 13.0, "inital_amount": 14.0, "priority": 15, "coum_type": 16 } ]
application/xml, text/xml
Sample:
<ArrayOfStatementItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine"> <StatementItem> <ASID xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">5</ASID> <Amount xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">13</Amount> <CoumType xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">16</CoumType> <EntryType xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">Unkown</EntryType> <Expand xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">12</Expand> <ExtraItems xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction"> <d3p1:string>CreatedManually</d3p1:string> </ExtraItems> <InitalAmount xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">14</InitalAmount> <LineID xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">7</LineID> <LineName xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">sample string 8</LineName> <LineNumber xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">9</LineNumber> <LineType xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">TypeLine</LineType> <Note xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">sample string 10</Note> <PID xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">4</PID> <ParentID xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">11</ParentID> <Priority xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">15</Priority> <StatementID xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">6</StatementID> <Amount1>sample string 1</Amount1> <CreatedManually>3</CreatedManually> <InitalAmount1>sample string 2</InitalAmount1> </StatementItem> <StatementItem> <ASID xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">5</ASID> <Amount xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">13</Amount> <CoumType xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">16</CoumType> <EntryType xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">Unkown</EntryType> <Expand xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">12</Expand> <ExtraItems xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction"> <d3p1:string>CreatedManually</d3p1:string> </ExtraItems> <InitalAmount xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">14</InitalAmount> <LineID xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">7</LineID> <LineName xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">sample string 8</LineName> <LineNumber xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">9</LineNumber> <LineType xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">TypeLine</LineType> <Note xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">sample string 10</Note> <PID xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">4</PID> <ParentID xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">11</ParentID> <Priority xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">15</Priority> <StatementID xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">6</StatementID> <Amount1>sample string 1</Amount1> <CreatedManually>3</CreatedManually> <InitalAmount1>sample string 2</InitalAmount1> </StatementItem> </ArrayOfStatementItem>