GET/projects/{id}/invoices.json

Get all invoices on a single Project

Brings back all invoices on a particular project.


Path Params

  • Name
    id
    Type
    integer
    required
    Description

Query Params

  • Name
    type
    Type
    string
    Description
    Which types of invoices to return. Options are: all,completed or active
  • Name
    page
    Type
    integer
    Description
    The page of results to return Inspect the response headers for x-page, x-pages, x-records

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 Response

Examples

200 Response

application/json
{
  "invoices": [
    {
      "project-id": "1149",
      "exported-by-user-id": "",
      "created-by-user-firstname": "Daniel",
      "description": "New machinery as Clark dropped the last tractor",
      "fixed-cost": "",
      "status": "active",
      "date-created": "2015-06-17T12:00:47Z",
      "exported-by-user-lastname": "",
      "company-id": "51",
      "number": "INV00001",
      "exported-by-user-firstname": "",
      "po-number": "PO00002",
      "project-name": "API Private Items",
      "display-date": "20150617",
      "exported-date": "",
      "created-by-user-id": "414",
      "update-by-user-id": "414",
      "created-by-user-lastname": "Mackey",
      "company-name": "Kent Farms",
      "id": "49",
      "date-updated": "2015-06-17T12:00:47Z",
      "edited-by-user-lastname": "Mackey",
      "edited-by-user-firstname": "Daniel",
      "currency-code": "USD"
    }
  ]
}