POST api/{area}/IncomeQuarter?access_token={access_token}

获取利润表季报

Request Information

Body Parameters

IncomeQuarterSheetStatementQueryParams
NameDescriptionTypeAdditional information
year_month

报表期间,如2016-10

string

Required

Matching regular expression pattern: ^(20[0-3][0-9]-([1-9]|0[1-9]|1[0-2])$)

is_fullyear

是否显示全年

boolean

None.

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",
  "is_fullyear": true,
  "as_id": 3,
  "account_standard": 1
}

application/xml, text/xml

Sample:
<IncomeQuarterSheetStatementQueryParams 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-04-25T18:37:48.7764458+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">3</Asid>
  <UserSn xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.Facade">4</UserSn>
  <IsFullYear>true</IsFullYear>
  <YearMonth>sample string 1</YearMonth>
</IncomeQuarterSheetStatementQueryParams>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

获取利润表季报

Collection of QuarterStatementItem
NameDescriptionTypeAdditional information
Qutar1

第一季度合计,只在获取季度报表中is_fullyear为真时才有值

decimal number

None.

Qutar2

第二季度合计

decimal number

None.

Qutar3

第三季度合计

decimal number

None.

Qutar4

第四季度合计

decimal number

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:
[
  {
    "qutar1": 1.0,
    "qutar2": 2.0,
    "qutar3": 3.0,
    "qutar4": 4.0,
    "pid": 5,
    "asid": 6,
    "statement_id": 7,
    "line_id": 8,
    "line_name": "sample string 9",
    "line_type": 0,
    "entry_type": 0,
    "line_number": 10,
    "note": "sample string 11",
    "parent_id": 12,
    "expand": 13,
    "amount": 14.0,
    "inital_amount": 15.0,
    "priority": 16,
    "coum_type": 17
  },
  {
    "qutar1": 1.0,
    "qutar2": 2.0,
    "qutar3": 3.0,
    "qutar4": 4.0,
    "pid": 5,
    "asid": 6,
    "statement_id": 7,
    "line_id": 8,
    "line_name": "sample string 9",
    "line_type": 0,
    "entry_type": 0,
    "line_number": 10,
    "note": "sample string 11",
    "parent_id": 12,
    "expand": 13,
    "amount": 14.0,
    "inital_amount": 15.0,
    "priority": 16,
    "coum_type": 17
  }
]

application/xml, text/xml

Sample:
<ArrayOfQuarterStatementItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.StatementSheet">
  <QuarterStatementItem>
    <ASID xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">6</ASID>
    <Amount xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">14</Amount>
    <CoumType xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">17</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">13</Expand>
    <ExtraItems xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction" />
    <InitalAmount xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">15</InitalAmount>
    <LineID xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">8</LineID>
    <LineName xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">sample string 9</LineName>
    <LineNumber xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">10</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 11</Note>
    <PID xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">5</PID>
    <ParentID xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">12</ParentID>
    <Priority xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">16</Priority>
    <StatementID xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">7</StatementID>
    <Qutar1>1</Qutar1>
    <Qutar2>2</Qutar2>
    <Qutar3>3</Qutar3>
    <Qutar4>4</Qutar4>
  </QuarterStatementItem>
  <QuarterStatementItem>
    <ASID xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">6</ASID>
    <Amount xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">14</Amount>
    <CoumType xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">17</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">13</Expand>
    <ExtraItems xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction" />
    <InitalAmount xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">15</InitalAmount>
    <LineID xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">8</LineID>
    <LineName xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">sample string 9</LineName>
    <LineNumber xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">10</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 11</Note>
    <PID xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">5</PID>
    <ParentID xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">12</ParentID>
    <Priority xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">16</Priority>
    <StatementID xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.StatementEngine.Abstraction">7</StatementID>
    <Qutar1>1</Qutar1>
    <Qutar2>2</Qutar2>
    <Qutar3>3</Qutar3>
    <Qutar4>4</Qutar4>
  </QuarterStatementItem>
</ArrayOfQuarterStatementItem>