Raw schema
{
"type": "object",
"properties": {
"id": {
"description": "Only the record with this id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"top": {
"description": "Records to return, 1-100 (default 25).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
},
"skip": {
"description": "Records to skip (default 0). Pass the previous reply's next_skip to read the next page.",
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"sort": {
"description": "Field to sort by (default: Bill4Time's own order).",
"type": "string",
"enum": [
"id",
"expenseDate",
"createdDate"
]
},
"descending": {
"description": "Sort descending (newest or highest first). Default ascending.",
"type": "boolean"
},
"client_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"project_id": {
"description": "A project id, or -1 for expenses that belong to no project.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"user_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"invoice_id": {
"description": "Only expenses on this invoice.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"date_from": {
"description": "Expenses dated on or after this date.",
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$"
},
"date_to": {
"description": "Expenses dated on or before this date.",
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$"
},
"billing_status": {
"type": "string",
"enum": [
"Ready For Summary",
"Ready For Billing",
"Billing Complete",
"Pending Project Close"
]
},
"expense_type": {
"description": "Exact expense type name.",
"type": "string",
"minLength": 1,
"maxLength": 100
},
"include_private_notes": {
"description": "Also return the private/internal notes (default false). Only set it when the user asks for internal notes.",
"type": "boolean"
},
"include_custom_fields": {
"description": "Also return the custom fields (default false).",
"type": "boolean"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}