๐Ÿ“‰Expenses

Generate a summary report of expenses for a defined period of time.

Expenses

POST {{baseUrl}}/bank-accounts/:bank_account_id/transaction-reports/expenses

Generate a summary report of expenses for a defined period of time.

Path Parameters

NameTypeDescription

bank_account_id*

String

The UUID for a Bank Account that gets generated and returned in the POST Create new Bank Account response.

Request Body

NameTypeDescription

start_date

String

This field indicates the start date from which you would like to generate the summary report. In the following format: "yyyy-mm-dd"

end_date

String

This field indicates the end date up until which you would like to generate the summary report. In the following format: "yyyy-mm-dd"

```postman_json
{
    "data": [
        {
            "id": "d2f860e8-3152-466c-90c0-13e8687b7f1f",
            "report": {
                "year": 2023,
                "month": "February",
                "expenses": "73603.18"
            },
            "startDate": "2023-02-01",
            "endDate": "2023-02-28",
            "type": "expenses"
        },
        {
            "id": "89d57d43-358f-41e7-8842-0762c62331cf",
            "report": {
                "year": 2023,
                "month": "March",
                "expenses": "81201.07"
            },
            "startDate": "2023-03-01",
            "endDate": "2023-03-31",
            "type": "expenses"
        }
    ]
}
```

Last updated