Ledger concepts (charges, payments, balances)
Invariant: For a lease, sum of open charge balanceRemaining ≈ tenant open balance in the portal (modulo pending payments). OPEN · PARTIALLY PAID · PAID · VOID (and related) PENDIN…
Open in LanlordCore rules
| Concept | Rule |
|---|---|
| Charge | Increases what the tenant owes (amount, balanceRemaining, status) |
| Payment | Reduces balance when posted and allocated to charges |
| Allocation | Portion of a payment applied to a specific charge (sum ≤ payment) |
| Adjustment | Corrects balance with an audit reason |
| Refund | Returns funds; must not leave an incorrect negative balance |
| Reversal | Undoes a payment; charge balances recompute |
Invariant: For a lease, sum of open charge balanceRemaining ≈ tenant open balance in the portal (modulo pending payments).
Charge statuses (typical)
OPEN · PARTIALLY_PAID · PAID · VOID (and related)
Payment statuses (typical)
PENDING · POSTED · FAILED · REVERSED
Collection math uses posted payments, not pending.
Partial payments
Tenants may pay any amount from the minimum (or $0.01) up to the open balance. They cannot overpay. Landlords may record any positive amount (prepay OK). Example:
Charge $1,200 OPEN
Payment $200 → PARTIALLY_PAID, remaining $1,000
Payment $400 → remaining $600
Payment $600 → PAID
On a lease-purchase, that month earns $0 purchase credit until the rent charge is PAID.
Aging buckets
daysPastDue = max(0, today − charge.dueDate)
CURRENT | 1–30 | 31–60 | 61–90 | 90+
Sum of aging buckets = total open balance (same filters).
Rent roll
The rent roll is the list of units, tenants, lease terms, and expected rent for a period. It is the source of truth for “what should come in.”
Where: Financials → Rent & collections.