Description
Show details of the specific invoice.
Request URL
billing API v1
GET /v1/{tenant_id}/billing-invoices/{invoice_id}
Request Paramters
| Parameter | Value | Style | Description |
|---|---|---|---|
| X-Auth-Token | User Token | header | |
| tenant_id | Tenant ID | URI | |
| invoice_id | Invoice ID | URI |
Example
curl -X GET \ -H "Accept: application/json" \ -H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \ https://account.tyo1.cloud.z.com/v1/487727e3921d44e3bfe7ebb337bf085e/billing-invoices/1234
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"
}
}