Skip to main content

ExpenseSheetCreateRequest

Request body schema for creating an Expense Entry Sheet.

id_userstringrequired

Sheet owner user ID

Example: alice
datesstring[]required

Array of dates for the sheet period (YYYYMMDD format)

Possible values: Value must match regular expression ^\d{8}$

Example: ["20251109","20251110","20251111","20251112","20251113","20251114","20251115"]
submitboolean

Whether to immediately submit the sheet after creation

Default value: false
rowsobject[]

Optional entry data to populate the sheet.

See the complete Time Sheet schema for all of the available fields, including discussion of the important rows field.

See also the Entry Sheet API tutorial.

ExpenseSheetCreateRequest
{
"id_user": "alice",
"dates": [
"20251109",
"20251110",
"20251111",
"20251112",
"20251113",
"20251114",
"20251115"
],
"submit": false,
"rows": [
{}
]
}