Top

Invoices

List invoices
GET /projects/:project_id/invoices
Lists invoices created for this project.

List invoices

GET  /projects/:project_id/invoices

Lists invoices created for this project.

Parameters

sort_column string Sort invoices raised.
Allowed Values: invoice_number, date, total, balance and created_time

Sample Response

Status: 200 OK
Content Type: application/json;charset=UTF-8
{
      "code": 0,
      "message": "success",
      "invoices": [
        {
          "invoice_id": "460000000045021",
          "customer_name": "Richards Electric Company",
          "customer_id": "460000000044001",
          "status": "overdue",
          "invoice_number": "INV-00004",
          "reference_number": "",
          "date": "2013-09-19",
          "due_date": "2013-10-04",
          "total": 310.75,
          "balance": 48.75,
          "created_time": "2013-09-19T16:04:30+0530"
        }
      ],
      "page_context": {
        "page": 1,
        "per_page": 200,
        "has_more_page": false,
        "report_name": "Invoice History",
        "sort_column": "created_time",
        "sort_order": "D"
      }
    }