Reference
Service reports
GET/api/v1/service-reportsList service reports
Service reports, newest first, 50 per page: number, order, period, status, minutes. tasks.admin only.scope service-reports
Query
| order | stringOnly this order's reports, by id or number, e.g. "AB-2026-0007". |
| status | one of issued, cancelled |
| page | integer1-based page of 50 rows. Omit for the first page. |
Response 200
| items[] | object[] |
| items[].id | string |
| items[].number | string |
| items[].status | string |
| items[].order | string |
| items[].customer | string |
| items[].period_from | string |
| items[].period_to | string |
| items[].total_minutes | integer |
| items[].billable_minutes | integer |
| items[].amount_centsoptional | integer |
| items[].url | string |
| page | integer |
| total | integer |
| has_more | boolean |
Schema
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"number": {
"type": "string"
},
"status": {
"type": "string"
},
"order": {
"type": "string"
},
"customer": {
"type": "string"
},
"period_from": {
"type": "string"
},
"period_to": {
"type": "string"
},
"total_minutes": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"billable_minutes": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"amount_cents": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"url": {
"type": "string"
}
},
"required": [
"id",
"number",
"status",
"order",
"customer",
"period_from",
"period_to",
"total_minutes",
"billable_minutes",
"url"
],
"additionalProperties": false
}
},
"page": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"has_more": {
"type": "boolean"
}
},
"required": [
"items",
"page",
"total",
"has_more"
],
"additionalProperties": false
}Refusals are problems with a code — see Errors.
POST/api/v1/service-reportsIssue service report
Issues a service report for an order and a period: draws the LN number, freezes every open booking of the period with the order's rates, and settles those bookings. Nothing is sent; a report reaches the customer only with an invoice a person sends. tasks.admin only.scope service-reports
Body (JSON)
| orderrequired | stringThe order's id or number, e.g. "AB-2026-0007". |
| fromrequired | stringFirst day, YYYY-MM-DD. |
| torequired | stringLast day, YYYY-MM-DD. |
| include_non_billable | booleanAlso list bookings that are not billable. Default: false. |
Response 200
| id | string |
| number | string |
| status | string |
| order | string |
| customer | string |
| period_from | string |
| period_to | string |
| issued_by | string |
| issued_at | string |
| cancelled_at | string | null |
| includes_non_billable | boolean |
| total_minutes | integer |
| billable_minutes | integer |
| amount_centsoptional | integer |
| invoice | object | null |
| invoice.id | string |
| invoice.number | string | null |
| lines[] | object[] |
| lines[].work_date | string |
| lines[].task | string | null |
| lines[].task_title | string |
| lines[].description | string | null |
| lines[].person | string |
| lines[].minutes | integer |
| lines[].billable | boolean |
| lines[].kind | string |
| lines[].role | string | null |
| lines[].rate_centsoptional | integer | null |
| lines[].amount_centsoptional | integer | null |
| url | string |
Schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"number": {
"type": "string"
},
"status": {
"type": "string"
},
"order": {
"type": "string"
},
"customer": {
"type": "string"
},
"period_from": {
"type": "string"
},
"period_to": {
"type": "string"
},
"issued_by": {
"type": "string"
},
"issued_at": {
"type": "string"
},
"cancelled_at": {
"type": [
"string",
"null"
]
},
"includes_non_billable": {
"type": "boolean"
},
"total_minutes": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"billable_minutes": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"amount_cents": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"invoice": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"number": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"number"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"work_date": {
"type": "string"
},
"task": {
"type": [
"string",
"null"
]
},
"task_title": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"person": {
"type": "string"
},
"minutes": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"billable": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"role": {
"type": [
"string",
"null"
]
},
"rate_cents": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"amount_cents": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"work_date",
"task",
"task_title",
"description",
"person",
"minutes",
"billable",
"kind",
"role"
],
"additionalProperties": false
}
},
"url": {
"type": "string"
}
},
"required": [
"id",
"number",
"status",
"order",
"customer",
"period_from",
"period_to",
"issued_by",
"issued_at",
"cancelled_at",
"includes_non_billable",
"total_minutes",
"billable_minutes",
"invoice",
"lines",
"url"
],
"additionalProperties": false
}Refusals are problems with a code — see Errors.
GET/api/v1/service-reports/{id}Get service report
One service report with its frozen lines, and the invoice that holds it, if any. tasks.admin only.scope service-reports
Path
| idrequired | stringThe report's id or number, e.g. "LN-2026-0012". |
Response 200
| id | string |
| number | string |
| status | string |
| order | string |
| customer | string |
| period_from | string |
| period_to | string |
| issued_by | string |
| issued_at | string |
| cancelled_at | string | null |
| includes_non_billable | boolean |
| total_minutes | integer |
| billable_minutes | integer |
| amount_centsoptional | integer |
| invoice | object | null |
| invoice.id | string |
| invoice.number | string | null |
| lines[] | object[] |
| lines[].work_date | string |
| lines[].task | string | null |
| lines[].task_title | string |
| lines[].description | string | null |
| lines[].person | string |
| lines[].minutes | integer |
| lines[].billable | boolean |
| lines[].kind | string |
| lines[].role | string | null |
| lines[].rate_centsoptional | integer | null |
| lines[].amount_centsoptional | integer | null |
| url | string |
Schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"number": {
"type": "string"
},
"status": {
"type": "string"
},
"order": {
"type": "string"
},
"customer": {
"type": "string"
},
"period_from": {
"type": "string"
},
"period_to": {
"type": "string"
},
"issued_by": {
"type": "string"
},
"issued_at": {
"type": "string"
},
"cancelled_at": {
"type": [
"string",
"null"
]
},
"includes_non_billable": {
"type": "boolean"
},
"total_minutes": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"billable_minutes": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"amount_cents": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"invoice": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"number": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"number"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"work_date": {
"type": "string"
},
"task": {
"type": [
"string",
"null"
]
},
"task_title": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"person": {
"type": "string"
},
"minutes": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"billable": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"role": {
"type": [
"string",
"null"
]
},
"rate_cents": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"amount_cents": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"work_date",
"task",
"task_title",
"description",
"person",
"minutes",
"billable",
"kind",
"role"
],
"additionalProperties": false
}
},
"url": {
"type": "string"
}
},
"required": [
"id",
"number",
"status",
"order",
"customer",
"period_from",
"period_to",
"issued_by",
"issued_at",
"cancelled_at",
"includes_non_billable",
"total_minutes",
"billable_minutes",
"invoice",
"lines",
"url"
],
"additionalProperties": false
}Refusals are problems with a code — see Errors.
POST/api/v1/service-reports/{id}/cancelCancel service report
Cancels an issued service report: the document stays, marked cancelled, and its bookings are open again for a later report. Refused while an invoice holds the report. tasks.admin only.scope service-reports
Path
| idrequired | stringThe report's id or number, e.g. "LN-2026-0012". |
Response 200
| id | string |
| number | string |
| status | string |
| order | string |
| customer | string |
| period_from | string |
| period_to | string |
| issued_by | string |
| issued_at | string |
| cancelled_at | string | null |
| includes_non_billable | boolean |
| total_minutes | integer |
| billable_minutes | integer |
| amount_centsoptional | integer |
| invoice | object | null |
| invoice.id | string |
| invoice.number | string | null |
| lines[] | object[] |
| lines[].work_date | string |
| lines[].task | string | null |
| lines[].task_title | string |
| lines[].description | string | null |
| lines[].person | string |
| lines[].minutes | integer |
| lines[].billable | boolean |
| lines[].kind | string |
| lines[].role | string | null |
| lines[].rate_centsoptional | integer | null |
| lines[].amount_centsoptional | integer | null |
| url | string |
Schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"number": {
"type": "string"
},
"status": {
"type": "string"
},
"order": {
"type": "string"
},
"customer": {
"type": "string"
},
"period_from": {
"type": "string"
},
"period_to": {
"type": "string"
},
"issued_by": {
"type": "string"
},
"issued_at": {
"type": "string"
},
"cancelled_at": {
"type": [
"string",
"null"
]
},
"includes_non_billable": {
"type": "boolean"
},
"total_minutes": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"billable_minutes": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"amount_cents": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"invoice": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"number": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"number"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"work_date": {
"type": "string"
},
"task": {
"type": [
"string",
"null"
]
},
"task_title": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"person": {
"type": "string"
},
"minutes": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"billable": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"role": {
"type": [
"string",
"null"
]
},
"rate_cents": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"amount_cents": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"work_date",
"task",
"task_title",
"description",
"person",
"minutes",
"billable",
"kind",
"role"
],
"additionalProperties": false
}
},
"url": {
"type": "string"
}
},
"required": [
"id",
"number",
"status",
"order",
"customer",
"period_from",
"period_to",
"issued_by",
"issued_at",
"cancelled_at",
"includes_non_billable",
"total_minutes",
"billable_minutes",
"invoice",
"lines",
"url"
],
"additionalProperties": false
}Refusals are problems with a code — see Errors.