Returns a list of your invoices.
Definition
GET https://coworkify.com/api/v1/spaces/{SPACE_ID}/invoices
Returns
A list of invoice objects.
Example Request
$ curl https://coworkify.com/api/v1/spaces/077d8fab09b811e585b4705681ba8889/invoices \
-H "X-Auth-Token: {YOUR_TOKEN}"
Example Response
{
"success": {
"invoices": [
{
"custom_tax_rate": false,
"message": null,
"paid_status": "unpaid",
"id": "d771d56123ba11e58ed0705681ba8889",
"issuer": {
"country": "United States",
"company": "Company Name",
"name": "Awesome Space",
"address": "Address"
},
"issue_date": "2015-07-06T08:42:29",
"paid_amount": 0.0,
"billing_email": "member@example.com",
"sent_status": "notsent",
"payable_amount": 150.0,
"company": null,
"memo": null,
"gross_amount": 150.0,
"tax_name": "Tax",
"tax_rate": 0.0,
"invoice_number": "10028",
"paid_by": null,
"tax_amount": 0.0,
"name": "Member",
"footer": null,
"items": [
{
"tax_amount": 0.0,
"name": "Membership fee for July 2015",
"price": 150.0,
"gross_amount": 150.0,
"tax_rate": 0.0,
"net_amount": 150.0,
"id": "ee63644723ba11e5b3e2705681ba8889",
"quantity": 1
}
],
"space_id": "077d8fab09b811e585b4705681ba8889",
"membership_id": null,
"summary": null,
"paid_date": null,
"tax_included": true,
"currency_symbol": "$",
"net_amount": 150.0,
"currency_code": "USD"
}
]
}
}
0 Comments