MENU
請求データ明細取得(アイテム指定) - Account(Billing) API v1
Description
課金アイテムへの請求データ詳細を取得します。
Request URL
billing API v1 GET /v1/{tenant_id}/billing-invoices/{invoice_id}
Request Paramters
Parameter | Value | Style | Description |
---|---|---|---|
X-Auth-Token | Userトークン | header | トークンID |
tenant_id | Tenant ID | URI | テナントID |
invoice_id | Invoice ID | URI | 請求ID |
Example
※エンドポイントURLにつきましては、お客様環境によって異なりますので、コントロールパネルにてご確認の上ご利用ください。
- REQ
curl -X GET \ -H "Accept: application/json" \ -H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \ https://account.tyo1.conoha.io/v1/487727e3921d44e3bfe7ebb337bf085e/billing-invoices/1234
- RES
HTTP/1.1 200 OK Date: Wed, 24 Dec 2014 04:46:00 GMT Server: Apache Content-Length: 414 Content-Type: application/json { "billing_invoice": { "items": [ { "invoice_detail_id": 0000001, "product_name": "VPSService SSD 50GB Memory 1G CPU 2Core", "unit_price": 1.3, "quantity": 12, "start_date": "2014-05-19T00:00:00", "end_date": null } ], "invoice_id": 0003, "payment_method_type": "Charge", "invoice_date": "2014-06-01T00:00:00", "bill_plas_tax": 300, "due_date": "2014-06-01T00:00:00" } }