GET/partners/invoice-details
顧客企業の請求明細リストを取得する。
注意
この API は引き続きご利用いただけますが、ドキュメントは 請求明細リストの取得 をご参照ください。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
partner
partner.read
| Parameter | Type | Description |
|---|---|---|
| year | integer | 取得年 required example : 2021 |
| month | integer | 取得月 required minimum : 1 maximum : 12 example : 6 |
| count | integer | 取得数 default : 20 minimum : 1 maximum : 20 |
| cursor | string | リストのカーソル値 example : JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA== |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| invoiceDetails | array (InvoiceDetails) | 顧客の利用履歴をもとに請求書の項目情報を表示する。 |
| responseMetaData | object (responseMetaData) | ページ付け情報 |
| Property | Type | Description |
|---|---|---|
| domainId | integer | ドメイン ID readOnly : true |
| domain | string | ドメイン名 readOnly : true |
| customerName | string | 顧客企業/団体名 readOnly : true |
| customerCode | string | 管理用識別コード maxLength : 200 readOnly : true |
| settlementItems | array (SettlementItems) | 精算リスト readOnly : true |
| Property | Type | Description |
|---|---|---|
| itemType | string | 精算項目タイプ
Allowed values : PRODUCT, OPTION_PRODUCT, OPTION_PLUS, SUMMARY, ADJUSTMENT, PENALTY |
| startDate | string | 利用開始日
format : date readOnly : true |
| endDate | string | 利用終了日
format : date readOnly : true |
| itemId | string | 項目 ID
readOnly : true |
| subItemId | string | サブオプション商品 ID
Allowed values : ACV, SSTG, ACV200, ACV201, ACV300, ACV301, DRV00, DRV01, DRV_PS_T, DRV_PS, DRV_PA_T, DRV_PA, SSTG201, SSTG202, SSTG203, SSTG204, SSTG205, SSTG206, SSTG207, BCT01, BCT02, BCT03, BCT04, CST_S00, CST_S01, CST_M00, CST_M01, CST_L00, CST_L01 |
| plan | string | プラン
Allowed values : FREE, TRIAL, MONTHLY, ANNUAL_LICENSE, ANNUAL_PREPAY_LICENSE |
| licenseCount | integer | ライセンス数 (年額契約) readOnly : true |
| memberCount | integer | 利用ユーザー数 (月額契約) readOnly : true |
| quantity | integer | 契約数
readOnly : true nullable : true |
| status | string | ステータス
Allowed values : ACTIVE, UPGRADING, SUSPENDED_TRIALEND, SUSPENDED_ADMIN, SUSPENDED_WITHDRAWAL |
| discountAmount | number | 割引金額 readOnly : true |
| amount | number | 精算金額 (割引後、最終金額) readOnly : true |
| itemCustomerCode | string | 商品識別コード
nullable : true |
| Property | Type | Description |
|---|---|---|
| nextCursor | string | 次のリスト取得時に使用するカーソル値 |
example
1{2 "invoiceDetails": [3 {4 "domainId": 10000001,5 "domain": "example.com",6 "customerName": "ワークスモバイルジャパン株式会社",7 "customerCode": "XXXXXXXX",8 "settlementItems": [9 {10 "itemType": "PRODUCT",11 "startDate": "2018-11-01",12 "itemId": "STD",13 "plan": "MONTHLY",14 "memberCount": 100,15 "quantity": null,16 "status": "ACTIVE",17 "discountAmount": 0,18 "amount": 3600019 },20 {21 "itemType": "OPTION_PRODUCT",22 "startDate": "2018-11-01",23 "itemId": "ACV2",24 "plan": "MONTHLY",25 "memberCount": 100,26 "quantity": null,27 "discountAmount": 0,28 "amount": 2640029 },30 {31 "itemType": "OPTION_PLUS",32 "startDate": "2018-11-01",33 "quantity": null,34 "discountAmount": 0,35 "amount": 1000036 },37 {38 "itemType": "SUMMARY",39 "quantity": null,40 "discountAmount": 0,41 "amount": 7240042 }43 ]44 }45 ],46 "responseMetaData": {47 "nextCursor": "JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA=="48 }49}