io.reactivex.Observable<TrialPlSectionsResponse> |
TrialBalanceApi.getTrialPlSections(Integer companyId,
String sectionIds,
Integer fiscalYear,
Integer startMonth,
Integer endMonth,
String startDate,
String endDate,
String accountItemDisplayType,
String breakdownDisplayType,
Integer partnerId,
String partnerCode,
Integer itemId,
String adjustment,
String costAllocation)
損益計算書(部門比較)の取得
<h2 id=\"\">概要</h2> <p>指定した事業所の損益計算書(部門比較)を取得する</p> <h2 id=\"_2\">定義</h2> <ul> <li> <p>created_at : 作成日時</p> </li> <li> <p>account_item_name : 勘定科目名</p> </li> <li> <p>hierarchy_level: 階層レベル</p> </li> <li> <p>parent_account_category_name: 上位勘定科目カテゴリー名</p> </li> <li> <p>closing_balance : 期末残高 </p> </li> <h2 id=\"_3\">注意点</h2> <ul> <li>個人向けのプレミアムプラン、法人向けのビジネスプラン以上で利用可能なAPIです。対象外のプランでは401エラーを返却します。</li> <li>会計年度が指定されない場合、現在の会計年度がデフォルトとなります。</li> <li>絞り込み条件の日付と、月または年度は同時に指定することはできません。</li> <li>up_to_dateがfalseの場合、残高の集計が完了していません。最新の集計結果を確認したい場合は、時間を空けて再度取得する必要があります。</li> <li>配賦仕訳の絞り込み(cost_allocation)は法人向けのベーシックプラン以上で利用可能です。</li> </ul> <h2 id=\"_4\">レスポンスの例</h2> <blockquote> <p>GET https://api.freee.co.jp/api/1/reports/trial_pl_section?company_id=1&section_ids=1,2,3&fiscal_year=2017</p></p> </blockquote> <pre><code>{ "trial_pl_sections" : { "company_id" : 1, "section_ids" : "1,2,3", "fiscal_year" : 2017, "created_at" : "2018-05-01 12:00:50" "balances" : [{ "account_item_id" : 1500, "account_item_name" : "売上高", "hierarchy_level" : 2, "account_category_name" : "営業収益", "closing_balance" : 1000000, "sections" : [{ "id": 1 "name": "営業部", "closing_balance" : 100000 }, { "id": 2 "name": "広報部", "closing_balance" : 200000 }, { "id": 3 "name": "人事部", "closing_balance" : 300000 }, ...
|