Properties
| Name | Type | Description |
|---|---|---|
| expenseItemType | string | Type of expense |
| amount | number | Expense amount |
| currency | object | |
| date | string | Date the expense was incurred |
| memo | string | Description of the expense |
| receipt | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ExpenseItemCreate",
"title": "ExpenseItemCreate",
"type": "object",
"required": [
"expenseItemType",
"amount",
"date"
],
"properties": {
"expenseItemType": {
"type": "string",
"description": "Type of expense"
},
"amount": {
"type": "number",
"format": "double",
"description": "Expense amount"
},
"currency": {
"$ref": "#/components/schemas/CurrencyRef"
},
"date": {
"type": "string",
"format": "date",
"description": "Date the expense was incurred"
},
"memo": {
"type": "string",
"description": "Description of the expense"
},
"receipt": {
"$ref": "#/components/schemas/ReceiptRef"
}
}
}