dosare_stats
Retrieve a rental portfolio with tenants, rents, contracts and declarations, and compare expected gross rent with D212 declared amounts per year to answer how much rent was collected and declared.
Instructions
Rental portfolio of the company: every property with tenant, rent, period, active/expiring state and linked declarations; active contracts; contracts expiring within 60 days; monthly rent by currency; expected gross rent per income year from the contracts (RON) versus what the D212s declared per year (with the declaration status). Answers "how much rent did I collect and declare last year?".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) | |
| csvOutFile | No | Write the portfolio as a CSV file to this path instead of returning JSON |