Description
List invoices.
Request URL
billing API v1 GET /v1/{tenant_id}/billing-invoices
Request Paramters
Parameter | Value | Style | Description |
---|---|---|---|
X-Auth-Token | User Token | header | |
tenant_id | Tenant ID | URI | |
offset(Optional) | Index Number to Start a Proceeding | query | Default:0 |
limit(Optional) | Maximum Number of Results | query | Default:1000 |
Example
curl -X GET \ -H "Accept: application/json" \ -H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \ https://account.tyo1.cloud.z.com/v1/487727e3921d44e3bfe7ebb337bf085e/billing-invoices?limit=3
HTTP/1.1 200 OK Server: openresty/1.7.10.1 Date: Fri, 08 May 2015 12:52:02 GMT Content-Type: application/json Content-Length: 230 Connection: keep-alive { "billing_invoices": [ { "invoice_id": 00001, "payment_method_type": "Charge", "invoice_date": "2014-08-01T00:00:00", "bill_plas_tax": 500, "due_date": "2014-08-01T00:00:00" }, { "invoice_id": 00002, "payment_method_type": "Charge", "invoice_date": "2014-07-01T00:00:00", "bill_plas_tax": 500, "due_date": "2014-07-01T00:00:00" }, { "invoice_id": 00003, "payment_method_type": "Charge", "invoice_date": "2014-06-01T00:00:00", "bill_plas_tax": 500, "due_date": "2014-06-01T00:00:00" } ] } }