GET/invoices/{invoiceId}.json
Get invoice Line Items
Returns all invoice line items. You will see any time and expenses associated with the invoice.
Path Params
- Name
invoiceId
- Type
- string
- required
- Description
Responses
- Code
- 200
- Type
- object
- Schema
- Description
- 200 Response
200 Response
application/json
{
"STATUS": "OK",
"invoice": {
"exported-by-user-id": "",
"project-id": "1",
"created-by-user-firstname": "Holly",
"fixed-cost": "",
"status": "active",
"date-created": "2018-05-09T08:19:48Z",
"exported-by-user-lastname": "",
"line-items": [
{
"minutes": "40",
"date-logged-utc": "2018-05-09T07:41:00Z",
"rate": "0",
"decimal-hours": "0.67",
"description": "",
"user-first-name": "Holly",
"billable": "1",
"task-name": "",
"user-id": "1",
"task-id": "",
"id": "1",
"date": "2018-05-09T07:41:00Z",
"cost": "0",
"user-last-name": "McGill",
"hours": "0"
}
],
"number": "1",
"po-number": "",
"exported-by-user-firstname": "",
"expenses": [
{
"invoice-id": "1",
"name": "TIME 1",
"created-by-user-firstname": "Holly",
"created-by-user-id": "1",
"description": "",
"created-by-user-lastname": "McGill",
"date": "20180509",
"id": "1",
"cost": "200.00"
},
{
"invoice-id": "1",
"name": "HELLO",
"created-by-user-firstname": "Holly",
"created-by-user-id": "1",
"description": "",
"created-by-user-lastname": "McGill",
"date": "20180509",
"id": "350",
"cost": "400.00"
}
],
"update-by-user-id": "1",
"created-by-user-id": "1",
"id": "1",
"company-name": "MCG Cleaning Services",
"edited-by-user-firstname": "Sarah",
"total-time-decimal": "0.67",
"total-cost": "600",
"description": "",
"company-id": "1",
"exported-date": "",
"display-date": "20180509",
"project-name": "555 Project",
"total-time": "40",
"created-by-user-lastname": "McGill",
"date-updated": "2018-05-09T08:19:48Z",
"edited-by-user-lastname": "McGill",
"currency-code": "EUR"
}
}