dosare_billing
Tracks rental billing by retrieving invoice states, overdue amounts, currency totals, and compensation balances. Answers whether the tenant paid and how much rent is outstanding.
Instructions
Everything invoiced between the landlord and the tenant of a rental dosar (matched by the tenant's CUI/CNP on clients and suppliers): the recurring invoice, the invoices issued to the tenant with paid / partial / unpaid / overdue state and days overdue, totals per currency, the invoices received from the tenant (e.g. works compensated with the rent) and, when the dosar records an investment clause, the compensation balance. Answers "did the tenant pay?" and "how much rent is outstanding?".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Rental-contract dosar id | |
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) |