dosare_billing
Retrieves a rental dosar's billing: invoice payment status (paid, partial, unpaid, overdue), currency totals, received invoices, and compensation balance to show tenant payment and outstanding rent.
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) |