Revenue, expenses and profit by month
get_financial_overviewRetrieve monthly revenue, expenses and profit from the general ledger, including payroll and rent, net of VAT, with unbooked-month flags and top revenue/expense accounts.
Instructions
Revenue (výnosy, class 6), expenses (náklady, class 5) and profit per month from the general ledger — the same basis as the UOL web dashboard, so payroll, rent and other internal documents count, not just invoices. Amounts are net of VAT, in the home currency. The current month is still running, and months the accountant has not booked yet have booked=false — say so instead of reporting zero. Also returns the largest revenue and expense accounts (with names) for the whole window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| months | No | Months ending with the current one |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes | ||
| months | Yes | ||
| totals | Yes | ||
| truncated | Yes | True when the ledger had more postings than one call reads; use fewer months | |
| booked_through | Yes | Date of the latest revenue or expense posting: the ledger is booked up to here; later months are not booked yet | |
| revenue_by_account | Yes | ||
| current_vs_previous | Yes | ||
| expenses_by_account | Yes |