What a rent ledger shows
A rent ledger is a running record for one tenant: each month's rent charged, every payment received with its date and method, any late fee, and the balance after each entry. Payments are applied to the oldest unpaid month first, so a partial payment shows up as a balance carried into the next month. A clean ledger is the record you hand a tenant who asks what they owe, a lender who asks for rental income, or a court if a dispute goes that far.
In this template the late fee is added once for any month that is still not paid in full after all payments dated in that month are applied. Check your lease and local rules for when and how much you may charge. Template only, not legal or tax advice.