Reports
Expense reports
Expense reports for the authenticated team.
get/reports/expenses
Request
- Base URLhttps://api.midday.ai
- URLhttps://api.midday.ai/reports/expenses
- Auth
- OAuth 2Authorization code: https://app.midday.ai/oauth/authorizeToken URL: https://api.midday.ai/oauth/token
- or HTTP bearer
Query parameters
fromstring required
Start date (ISO 8601 format)
Example:2023-01-01
tostring required
End date (ISO 8601 format)
Example:2023-12-31
currencystring
Currency code (ISO 4217)
Example:USD
Response
Expense reports for the authenticated team.
Example response
{
"summary": {
"averageExpense": 121054.86,
"currency": "SEK"
},
"meta": {
"type": "expense",
"currency": "SEK"
},
"result": [
{
"date": "2024-01-01 00:00:00",
"value": 637898.68,
"currency": "SEK",
"recurring": 9467.76,
"total": 647366.44
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.