SENIORCHAPTER 20

Restructuring and forbearance

Rescheduling a loan changes its calendar, not its risk. Reset the days past due and the book looks healthier the same day. Keep the clock and the provision, and you can see whether it worked

55 MINLENDING AND CREDITUPDATED 2026-11-14
PREDICT

Owoleaf reschedules nine instalment loans that are between 2 and 93 days past due and, in its system, resets each one's days past due to zero. At Owoleaf's lab cut-off the loans with a balance outstanding are provisioned at an illustrative 2% (Stage 1), 12% (Stage 2) or 55% (Stage 3) of exposure. Roughly how much does the total provision fall because of the reset?

Days past due (DPD), the status ladder and arrears are in the loan lifecycle; the instalment formula, the effective interest rate and the annualised cost are in interest, APR, fees and amortisation; collections stages, promises to pay and agencies are in collections. They are used here without being re-taught. The lab runs on Owoleaf’s loan book at scale 0.1 (data/: 372 loans). Every price, threshold, coverage ratio and policy in it is illustrative.

What restructuring is

A restructuring changes the contractual terms of a loan that has already been made. Forbearance is the reason: the lender gives the borrower a concession because the borrower is in, or about to be in, financial difficulty. A lender that lets a healthy customer move a due date for convenience has changed a term. A lender that lets a customer who has missed three instalments pay less, later, has granted forbearance. The accounting and the regulator both care about that difference, so the lender’s records must carry it.

Four tools do most of the work, and they can be combined:

Tool What changes Who bears the cost Cash flow to the lender
Reschedule (extend the term) More, smaller instalments, usually at the contract rate The borrower pays more interest in total. The lender waits Same money, later
Payment holiday No payments for a stated number of months. Interest usually keeps running and is added to the balance The borrower, through a bigger balance. The lender, through delay Same money, later, plus capitalised interest
Rate reduction Lower interest on the balance The lender Less money, same or later
Write-down (partial forgiveness) Part of the balance is cancelled The lender Less money

Two supporting choices come with them. Arrears interest and late fees can be capitalised (added to the balance, so that the new instalments carry interest on them) or waived. The lab’s policy capitalises the interest already due on missed instalments and waives late fees. Both are policy, and the borrower must be told which.

Why lenders do it, and what goes wrong

Restructuring is rational when the lender expects to collect more by changing the schedule than by enforcing the old one. A borrower who lost a month of income can pay a smaller instalment for longer. Enforcing the original schedule means chasing a payment the borrower cannot make, then a collections fee, then an agency. In the lab’s book an agency recovers nothing, because a borrower who stops paying never pays again, so the comparison is easy to state: any plan that collects something beats a placement that collects nothing.

Name what goes wrong first. There are four recurring failures.

  • Evergreening. The lender restructures a loan it does not expect to be repaid so that it does not have to call it a bad loan. The loan “performs” on the new schedule for a month or two, then misses again, and the loss arrives later and larger. The book looked better in between.
  • The clock reset. In Owoleaf’s system, saving the new schedule makes the oldest unpaid instalment the first new one, due in 30 days. DPD is zero, the status is current, PAR (portfolio at risk, the share of open exposure that is 30 or more days past due, here PAR30) falls, the provision is released. Every report built on DPD is now wrong about these loans.
  • Concessions with no price. A rate cut or a write-down is a loss, booked on the day it is granted. A lender that records only a new instalment amount has not booked it.
  • Unwritten policy. Collectors offer plans case by case. Two borrowers in the same position get different terms, one of them is the collector’s friend, and nobody can say afterwards what the policy was.

Days past due after a restructure

DPD counts from the oldest unpaid instalment. In a system that replaces the schedule when a loan is restructured, as Owoleaf’s does, the oldest unpaid instalment becomes a new one. The lab’s step 6 shows what that does. Nine loans are restructured on 28 October 2026 and nobody pays any new instalment. On 30 November each loan is 3 days past due on the new schedule, because the first new instalment fell due on 27 November. On 28 December each is 31 days past due on the new schedule. The loan that was 70 days past due at the restructure has really been unpaid for 131 days.

Both numbers are true. They answer different questions. The new-schedule DPD says how late the borrower is against the agreement the borrower is now keeping. The DPD from the first miss says how long the lender has been waiting for money it expected earlier. Credit reporting, staging and the re-default analysis need the second. A collector working today’s call list needs the first. Keep both, as two columns:

Column Counts from Used for
dpd_current Oldest unpaid instalment on the schedule in force The call list, the customer statement
dpd_original The first miss that led to the restructure, running on Staging, PAR on a restructure-adjusted basis, re-default analysis
forborne A flag, with the date of the restructure Staging, reporting, probation

The loan keeps its flag until it has proved itself, which is the next section’s subject. For how the bureau sees a restructured loan, which depends on what the lender reports and the bureau’s own rules, see credit data in Nigeria.

Staging, probation and the provision

Under IFRS 9 (the International Financial Reporting Standard for financial instruments) a lender provisions each loan by stage: Stage 1 for loans with no significant rise in credit risk since origination, Stage 2 for loans with one, and Stage 3 for credit-impaired loans. The module’s chapter on provisioning under IFRS 9 teaches staging, the expected credit loss (ECL) calculation and the scenarios properly. Here the lab uses a stated shortcut. The shortcut is illustrative: Stage 3 at 90 or more days past due, Stage 2 at 30 or more or when forborne, otherwise Stage 1, with provision at 2%, 12% and 55% of exposure.

A restructure creates a staging question the schedule cannot answer. If a loan that was Stage 3 is rescheduled and its DPD resets, has it stopped being credit-impaired? Not by the reset. A modification changes the contract, not the borrower’s ability to pay. An IFRS Foundation transition-group paper reproduces IFRS 9 paragraph 5.5.12: when a loan’s cash flows are renegotiated or modified and the loan is not derecognised, the lender still assesses whether credit risk has increased significantly; an earlier IASB staff paper describes the test as comparing the risk at the reporting date under the modified terms with the risk at initial recognition under the original termsas of 2026-11. So a restructured loan does not return to Stage 1 on the strength of a new schedule. This rests on those papers, not the standard’s own text; check the current standard. IFRS 9 gives no fixed number of months for a cure. The practice that follows is a probation period: a restructured loan stays in its worse stage until it has paid on time for a stated stretch. The length is a policy and a supervisory choice. An International Monetary Fund (IMF) note on restructured loans in financial soundness statistics says the probation period before a non-performing restructured loan can return to performing status ranges from three months to two years.as of 2026-11 The lab’s policy is 3 on-time instalments, an illustrative choice.

In Nigeria a recent example of regulatory forbearance ending is the COVID-19 one. The Central Bank of Nigeria (CBN) ended its COVID-19-related regulatory forbearance with effect from 30 June 2025, and press reports link the end of forbearance to a rise in banks’ non-performing loan ratio to about 7%.as of 2026-11 The sources disagree on the circular’s date (20 June or 30 June) and give its reference differently, and the link above is a copy of it on a legal-tracking site, not the CBN’s own page. Read the original on the CBN’s site before quoting either. The CBN’s Prudential Guidelines for Deposit Money Banks (effective 1 July 2010) set out its requirements on loan provisioning and classification.as of 2026-11 The search for this chapter did not return their text on restructured facilities, so this chapter states no rule on how they are classified.

Step 5 of the lab measures the stakes on Owoleaf’s own book. Three views of the same nine restructures:

View Stage 2 Stage 3 Provision PAR30
Before ₦806,105.88 ₦1,816,296.10 ₦1,216,649.04 30.25%
After, DPD reset to 0 ₦0.00 ₦1,218,074.41 ₦818,980.95 14.05%
After, forborne with probation ₦1,093,557.65 ₦1,816,296.10 ₦1,245,394.21 30.25%

The lab’s exposure is each loan’s principal outstanding plus the interest on its due, unpaid instalments. It still includes the two written-off loans, whose balances the loan table keeps (₦338,005.79 of principal); a real ledger would have removed them, which lowers the levels in the table but not the changes between rows. A reset more than halves PAR30 and releases ₦397,668.09 of provision without a naira collected. Probation leaves the book’s risk as it was and adds ₦28,745.17 of provision, because three of the nine loans (2, 17 and 23 days past due, so Stage 1 before, ₦287,451.77 of exposure) are now forborne and move to Stage 2. Restructuring a loan that was barely late raises its provision. That is the correct direction: the lender has said the borrower needed help.

Pricing a concession

A restructure changes the cash flows the lender expects. Where a modification does not lead to derecognition, IFRS 9 has the lender recompute the loan’s gross carrying amount as the present value of the new cash flows discounted at the original effective interest rate (EIR, the rate that equates the cash flows to the amount lent net of fees; see the interest chapter), with the difference as a gain or loss in profit or loss. A February 2026 staff paper of the International Accounting Standards Board (IASB) says paragraph 5.4.3 sets the requirements for modifications of financial assets that do not result in derecognition, and recommends that the IASB clarify what counts as a modification. It is a staff view, so check the standard itself.as of 2026-11 Whether a given change is large enough to cancel the old loan and create a new one is a separate judgment, and it is the auditors’ call, not this chapter’s.

The modification gain or loss is the present value of the new cash flows minus the gross carrying amount. The lab uses one loan, L000043 (a ₦310,000 personal loan over 6 months at 4.5% a month, 70 days past due at the cut-off). Its claim on 28 October is the principal outstanding, ₦263,847.70, plus the interest on the three instalments already due and unpaid, ₦29,010.84: ₦292,858.54 (29,285,854 kobo). Late fees are waived. Four options:

Option New instalment Total the borrower pays Present value at 4.5% Gain or loss
A. Reschedule, 9 instalments, same rate ₦40,289.86 ₦362,608.72 ₦292,858.54 ₦0.00
B. Holiday of 2 months, then 6 instalments ₦62,004.02 ₦372,024.14 ₦292,858.54 ₦0.00
C. Rate cut to 2% a month, 9 instalments ₦35,879.69 ₦322,917.22 ₦260,801.96 -₦32,056.58
D. Write down 20% of the claim, 9 instalments ₦32,231.89 ₦290,086.99 ₦234,286.84 -₦58,571.70

You can redo option A by hand. At 4.5% a month over 9 months the instalment is claim × 0.045 ÷ (1 − 1.045⁻⁹) = ₦292,858.54 × 0.045 ÷ 0.32710 = about ₦40,290. Option D’s loss is one fifth of the claim, ₦58,571.70 (the lab rounds the written-down amount down to a whole kobo). Option C’s is the difference between the claim and what nine instalments at 2% are worth when discounted at 4.5%.

Two cautions about the table. First, the lab discounts at the contract rate, 4.5% a month. The loan’s real EIR is a little higher, because the 1% fee is taken at disbursement, so a real lender’s option A would show a small loss. Second, options A and B show no loss on this measure and are not free. The borrower pays ₦69,750.18 and ₦79,165.60 of interest on a loan that may never be repaid, and the lender’s income recognition (what interest it may count as earned on a loan in Stage 3, and whether capitalised arrears interest counts as income at all) is a question for the lender’s accountants, not a number to read off a schedule.

Does it work? The re-default test

A restructuring policy is a bet that the borrower can pay a smaller instalment. The only way to judge it is the re-default rate: of the loans restructured in a period, the share that miss again within a fixed window, counted on enough loans to mean something. The window is measured on the original clock, not the new one. A loan that misses its first new instalment is a re-default even though its new-schedule DPD is 3.

Nine loans are too few to estimate a rate, and the lab says so. It also shows what a rate would hide. Step 8 opens answers/loans_truth.csv and finds that 6 of the 9 restructured loans were always going to stop paying (the generator makes a borrower who stops never pay again). Those six include every loan at 56 days past due or more, and one at 33. The three that were not stoppers are the three nearest to current: 2, 17 and 23 days past due. They are behind, but the generator would have had them pay. That pattern is not a law of nature. It is the shape of a generated book, and a real one has curers at every age. It does teach the design rule: restrict restructuring by days past due and by evidence of capacity (an income check, a first payment up front), and measure each rule’s re-default rate separately.

Early settlement and refunds

A borrower who pays a loan off early owes, on a common reading, the principal still outstanding plus the interest earned to the settlement date. Interest scheduled beyond that date is unearned interest, and whether and how it is rebated depends on the loan contract and the rules that apply to the lender. Two ways to compute a rebate:

  • Actuarial. Interest accrues daily on the outstanding balance. The payoff is the balance plus the interest accrued since the last instalment. The rebate is the scheduled interest that has not yet accrued.
  • Rule of 78. Total interest is divided over the months in proportion to the digits of the term: for 6 months the digits are 6, 5, 4, 3, 2, 1, which sum to 21 (the “78” is the sum for a 12-month term). Month 1 carries 6/21 of the interest. It front-loads interest more than a reducing balance does, so the borrower who settles early is rebated less.

For L000043 after instalment 1 is paid, on the due date, the actuarial payoff is the principal still owed, ₦263,847.70, and the rebate is the scheduled interest on instalments 2 to 6, ₦36,663.80. The rule of 78 rebates 15/21 of ₦50,613.80 total interest, ₦36,152.71, so the borrower pays ₦264,358.79 and the lender keeps ₦511.09 more. On a larger loan or a longer term the gap grows. Fifteen days into the second period the actuarial payoff is the balance plus ₦5,936.57 (₦263,847.70 × 4.5% × 15/30, rounded half to even), ₦269,784.27 in all. Whichever method applies, the lender must be able to state it in the loan terms, because the borrower is entitled to know what settling costs.

The CBN’s Consumer Protection Regulations 2019 are reported to bar an early-liquidation fee on consumer and SME loans carrying a variable interest rate, and to require the loan terms to disclose early-liquidation terms.as of 2026-11 The search results did not show a rule for fixed-rate loans, and an exposure draft of revised regulations (dated 2023 or 2024, depending on the source) carries the rule forward; the search did not confirm that a final version has replaced the 2019 text. These regulations apply to the institutions the CBN supervises. The 2025 digital lending regulations of the Federal Competition and Consumer Protection Commission (FCCPC) are reported, in law-firm and tax-firm commentary, to require digital and non-traditional consumer lenders to disclose interest, repayment terms and fees in simple language before a transaction is completed.as of 2026-11 The search results did not show any provision on rescheduling or early repayment in those regulations, so this chapter claims none. A change of repayment terms is a change of disclosed terms: put it in writing and get the borrower’s agreement.

Refunds are the third case. A borrower may overpay, be debited twice, or settle and then be debited again by an old direct-debit mandate. The first rule is mechanical: find the money by reconciling the loan ledger to the bank and switch (see reconciliation and, for mandates, disbursement and repayment rails). The second is policy: how fast, back to which account, and whether any fee is returned. The last print of step 7 shows one such choice. The ₦3,100 origination fee is taken at disbursement, and refunding the unexpired 5 of 6 months would return ₦2,583.33. Whether a fee is refundable is a term the borrower should read before borrowing, not a discovery at settlement.

What a policy needs

A restructuring policy is a short document that a regulator, an auditor and a collector can all read. It states:

  1. Eligibility. Products, days past due ceilings, number of earlier restructures (a loan restructured twice is a different case), and evidence of capacity.
  2. Terms. Maximum extension, whether holidays are allowed, the rate, how arrears interest and fees are treated.
  3. Authority. Who may approve, up to what amount, and who signs off exceptions.
  4. Data. The flag, both DPD clocks, the date, the old and new schedules, and the reason.
  5. Staging and probation. What stage the loan takes and what it must do to leave it.
  6. Reporting. What the bureau is told and when, in line with its rules.
  7. Conduct. Written offer, plain language, time to decide, no contact at times or to people the collections rules forbid (see collections).
  8. Review. The re-default rate by rule, reported monthly with the confidence that a small sample allows.

Where it goes wrong

  • Resetting DPD and not recording the old one. The loss of history cannot be recovered.
  • Counting a restructure as a cure. A cure is a payment history. A new schedule is a promise.
  • Restructuring many times. A third plan for the same loan is usually delay.
  • Pricing only the instalment. Look at the whole table, as step 4 does: instalment, total paid, present value and gain or loss.
  • Using a pooled re-default rate. Averages across ages of delinquency hide that the loans nearest to default behave differently from the ones that are barely late.
  • Rule-of-78 settlement without disclosure. It is a way of pricing early settlement, and the borrower pays for it.
  • Treating this as advice to borrowers. Nothing here says what anyone should borrow, or which plan a borrower should accept. It is about how a lender reasons.
LAB Restructure the arrears loans on a copy, watch days past due and provision, and work an early settlement ~45 MIN
YOU NEEDPython 3.9 or later (standard library only)labs/finance with the default book built into data/ (generate.py then loans.py)No Docker, no packagesAbout 150 KB for the working copy

You work in labs/finance. The loan book in data/ is never written to. Every script reads data/finance.sqlite once, to make a small working copy in work/restructure.sqlite, and then changes only the copy. If data/ does not exist, build it with the README’s commands (python3 generate.py && python3 loans.py).

1. Save the helper file. Save this as forb.py in labs/finance. It imports the book’s own annuity from loans.py, so every new schedule rounds the way the original ones do. positions rebuilds each loan’s unpaid instalments and days past due from the schedule and the payments. Money is integer kobo throughout. The present value is worked in floating point and rounded to a whole kobo once, at the end, the way annuity rounds a payment.

"""Helpers for the restructuring lab. Money is integer kobo. Standard library only."""
import datetime as dt
import sqlite3
from fractions import Fraction

from loans import annuity          # the book's own instalment function, so schedules match

SRC = "data/finance.sqlite"
WORK = "work/restructure.sqlite"
CUT_OFF = dt.date(2026, 10, 28)


def naira(kobo):
    return ("-" if kobo < 0 else "") + f"₦{abs(kobo) / 100:,.2f}"


def positions(db, as_of, schedule="schedule", repayments="repayments"):
    """Per loan: the unpaid instalments due before as_of, from the schedule and the payments.
    A late fee does not pay an instalment, so it is taken out of each payment."""
    got = {}
    for loan_id, inst, amount, fee in db.execute(
            f"SELECT loan_id, instalment, amount_kobo, late_fee_kobo FROM {repayments} WHERE paid_at < ?",
            (as_of.isoformat(),)):
        got[(loan_id, inst)] = got.get((loan_id, inst), 0) + amount - fee
    out = {}
    for loan_id, inst, due, principal, interest, total in db.execute(
            f"SELECT loan_id, instalment, due_date, principal_kobo, interest_kobo, total_kobo FROM {schedule} ORDER BY loan_id, instalment"):
        p = out.setdefault(loan_id, dict(oldest=None, arrears=0, arrears_interest=0, unpaid_n=0))
        short = total - got.get((loan_id, inst), 0)
        if short > 0:
            p["unpaid_n"] += 1
            if dt.date.fromisoformat(due) < as_of:
                p["arrears"] += short
                p["arrears_interest"] += interest
                if p["oldest"] is None:
                    p["oldest"] = dt.date.fromisoformat(due)
    for p in out.values():
        p["dpd"] = (as_of - p["oldest"]).days if p["oldest"] else 0
    return out


def pv(flows, rate, start):
    """Present value in kobo of (date, kobo) flows at a monthly rate, 30-day months, rounded once."""
    return round(sum(k / (1 + rate) ** ((d - start).days / 30) for d, k in flows))


def new_schedule(claim, rate, n, start, holiday=0):
    """Equal instalments from `start`, 30 days apart. A holiday of h months first adds h months'
    interest to the balance (capitalised), then the instalments run on the larger balance."""
    balance = claim
    for _ in range(holiday):
        balance += round(balance * rate)
    rows = annuity(balance, rate, n)
    return [(i, start + dt.timedelta(days=30 * (holiday + i)), p, it, p + it) for i, p, it in rows]


# ILLUSTRATIVE staging and coverage: stated inputs, not any regulator's or auditor's.
COVERAGE = {1: 0.02, 2: 0.12, 3: 0.55}


def stage(dpd, forborne=False):
    if dpd >= 90:
        return 3
    if dpd >= 30 or forborne:
        return 2
    return 1

2. Make the working copy. Save this as copy_book.py.

import os, sqlite3
from forb import SRC, WORK
os.makedirs("work", exist_ok=True)
if os.path.exists(WORK):
    os.remove(WORK)
db = sqlite3.connect(WORK)
db.execute("ATTACH DATABASE ? AS src", (SRC,))
for t in ("loans", "schedule", "repayments", "loan_products", "loan_book_meta"):
    db.execute(f"CREATE TABLE {t} AS SELECT * FROM src.{t}")
db.commit()
for t in ("loans", "schedule", "repayments"):
    print(t, db.execute(f"SELECT COUNT(*) FROM {t}").fetchone()[0])
print(WORK, os.path.getsize(WORK) // 1024, "KB")

loans 372 schedule 1127 repayments 891 work/restructure.sqlite 148 KB

3. Rebuild the position at the cut-off. Save this as position.py. It recomputes days past due for every loan and compares them with the stored column, then lists the instalment loans in arrears that a restructuring policy could reach.

import sqlite3, datetime as dt
from forb import WORK, CUT_OFF, naira, positions
db = sqlite3.connect(WORK)
pos = positions(db, CUT_OFF)
bad = 0
for loan_id, stored in db.execute("SELECT id, days_past_due FROM loans"):
    if pos[loan_id]["dpd"] != stored:
        bad += 1
print("loans whose recomputed DPD differs from loans.days_past_due:", bad)
print()
print(f"{'status':<12}{'loans':>6}{'arrears':>18}{'principal out':>18}")
for status, in db.execute("SELECT DISTINCT status FROM loans ORDER BY 1"):
    ids = [r for r in db.execute("SELECT id, outstanding_principal_kobo FROM loans WHERE status=?", (status,))]
    a = sum(pos[i]["arrears"] for i, _ in ids)
    print(f"{status:<12}{len(ids):>6}{naira(a):>18}{naira(sum(o for _, o in ids)):>18}")
print()
print("instalment loans in arrears, the candidates:")
for r in db.execute("SELECT id, product, instalments, status, days_past_due, outstanding_principal_kobo FROM loans WHERE product IN ('PL','SME') AND status IN ('arrears','default') ORDER BY days_past_due"):
    p = pos[r[0]]
    print(f"  {r[0]} {r[1]:<4} {r[2]:>2} inst  {r[3]:<8} dpd {r[4]:>3}  unpaid {p['unpaid_n']}  arrears {naira(p['arrears']):>14}  principal {naira(r[5]):>14}")

Your recomputation matches the book for all 372 loans. The 8 arrears loans owe ₦521,181.57 in due instalments and the 34 defaults ₦1,456,347.69. Nine personal and SME loans are candidates:

loans whose recomputed DPD differs from loans.days_past_due: 0

status       loans           arrears     principal out
arrears          8       ₦521,181.57     ₦1,011,461.80
closed         288             ₦0.00             ₦0.00
current         40             ₦0.00     ₦5,760,222.04
default         34     ₦1,456,347.69     ₦1,392,895.16
written_off      2       ₦355,298.41       ₦338,005.79

instalment loans in arrears, the candidates:
  L000250 PL    9 inst  arrears  dpd   2  unpaid 3  arrears     ₦20,361.02  principal     ₦55,971.73
  L000208 PL   12 inst  arrears  dpd  17  unpaid 7  arrears      ₦5,483.31  principal     ₦32,311.50
  L000120 SME   6 inst  arrears  dpd  23  unpaid 2  arrears     ₦99,276.48  principal    ₦188,594.97
  L000245 PL   12 inst  arrears  dpd  33  unpaid 9  arrears     ₦10,966.62  principal     ₦39,857.02
  L000207 PL    9 inst  arrears  dpd  56  unpaid 7  arrears     ₦59,432.18  principal    ₦175,108.00
  L000124 PL   12 inst  arrears  dpd  65  unpaid 10  arrears     ₦18,396.92  principal     ₦52,933.21
  L000043 PL    6 inst  arrears  dpd  70  unpaid 5  arrears    ₦180,306.90  principal    ₦263,847.70
  L000088 SME   6 inst  arrears  dpd  71  unpaid 5  arrears    ₦126,958.14  principal    ₦202,837.67
  L000053 SME   3 inst  default  dpd  93  unpaid 2  arrears    ₦598,221.69  principal    ₦568,219.16

4. Price four options on one loan. Save this as options.py. It takes L000043, builds the claim (principal outstanding plus interest on instalments already due, late fees waived), and prices each option. new_schedule capitalises a holiday’s interest before the instalments start.

import sqlite3
from forb import WORK, CUT_OFF, naira, positions, new_schedule, pv

db = sqlite3.connect(WORK)
LOAN = "L000043"
RATE = 450 / 10_000                       # the contract rate per month, used as the discount rate
loan = db.execute("SELECT principal_kobo, outstanding_principal_kobo, instalments FROM loans WHERE id=?", (LOAN,)).fetchone()
p = positions(db, CUT_OFF)[LOAN]
claim = loan[1] + p["arrears_interest"]
print(f"{LOAN}: principal outstanding {naira(loan[1])} + unpaid interest on due instalments {naira(p['arrears_interest'])}")
print(f"claim to restructure (late fees waived): {claim} kobo = {naira(claim)}; dpd {p['dpd']}")
print()

options = [
    ("A reschedule, 9 instalments, same rate",  claim,                    RATE, 9, 0),
    ("B holiday 2 months, then 6 instalments",   claim,                    RATE, 6, 2),
    ("C rate cut to 2%, 9 instalments",          claim,                    0.02, 9, 0),
    ("D write down 20% of claim, 9 at 4.5%",     claim - claim // 5,       RATE, 9, 0),
]
print(f"{'option':<42}{'instalment':>14}{'total paid':>16}{'interest':>14}{'PV at 4.5%':>16}{'gain/(loss)':>14}")
for name, base, rate, n, hol in options:
    rows = new_schedule(base, rate, n, CUT_OFF, hol)
    flows = [(d, t) for _, d, _, _, t in rows]
    total = sum(t for *_, t in rows)
    value = pv(flows, RATE, CUT_OFF)
    gl = value - claim
    print(f"{name:<42}{naira(rows[0][4]):>14}{naira(total):>16}{naira(total - base):>14}{naira(value):>16}{naira(gl):>14}")
print()
rows = new_schedule(claim, RATE, 9, CUT_OFF)
print("option A schedule:")
for i, d, pr, it, t in rows:
    print(f"  {i}  {d}  principal {pr:>10}  interest {it:>9}  total {t:>10}")
print("principal sums to the claim:", sum(r[2] for r in rows) == claim)

The claim is ₦292,858.54. Options A and B break even against the contract rate. C and D are losses of ₦32,056.58 and ₦58,571.70. The new instalments’ principal sums exactly to the claim.

L000043: principal outstanding ₦263,847.70 + unpaid interest on due instalments ₦29,010.84
claim to restructure (late fees waived): 29285854 kobo = ₦292,858.54; dpd 70

option                                        instalment      total paid      interest      PV at 4.5%   gain/(loss)
A reschedule, 9 instalments, same rate        ₦40,289.86     ₦362,608.72    ₦69,750.18     ₦292,858.54         ₦0.00
B holiday 2 months, then 6 instalments        ₦62,004.02     ₦372,024.14    ₦79,165.60     ₦292,858.54         ₦0.00
C rate cut to 2%, 9 instalments               ₦35,879.69     ₦322,917.22    ₦30,058.68     ₦260,801.96   -₦32,056.58
D write down 20% of claim, 9 at 4.5%          ₦32,231.89     ₦290,086.99    ₦55,800.15     ₦234,286.84   -₦58,571.70

option A schedule:
  1  2026-11-27  principal    2711123  interest   1317863  total    4028986
  2  2026-12-27  principal    2833123  interest   1195863  total    4028986
  3  2027-01-26  principal    2960614  interest   1068372  total    4028986
  4  2027-02-25  principal    3093841  interest    935145  total    4028986
  5  2027-03-27  principal    3233064  interest    795922  total    4028986
  6  2027-04-26  principal    3378552  interest    650434  total    4028986
  7  2027-05-26  principal    3530587  interest    498399  total    4028986
  8  2027-06-25  principal    3689463  interest    339523  total    4028986
  9  2027-07-25  principal    3855487  interest    173497  total    4028984
principal sums to the claim: True

5. Apply a policy to the book and read the three views. Save this as policy.py. The policy is illustrative: personal and SME loans only, no more than 120 days past due, the original rate, and a term of the instalments still unpaid plus 3. It writes restructurings and restructured_schedule into the copy, and then stages the book three ways with the coverage ratios from forb.py.

import sqlite3
from forb import WORK, CUT_OFF, COVERAGE, naira, positions, new_schedule, stage

db = sqlite3.connect(WORK)
pos = positions(db, CUT_OFF)
RATE_OF = {"PL": 0.045, "SME": 0.035}
ELIGIBLE = ("PL", "SME")                       # ILLUSTRATIVE policy: instalment loans only
MAX_DPD = 120                                  # ... not yet 120 days past due
EXTRA = 3                                      # ... new term: instalments still unpaid, plus 3

db.executescript("""
DROP TABLE IF EXISTS restructurings; DROP TABLE IF EXISTS restructured_schedule;
CREATE TABLE restructurings (loan_id, restructured_on, dpd_before, claim_kobo, new_instalments, rate_bps);
CREATE TABLE restructured_schedule (loan_id, instalment, due_date, principal_kobo, interest_kobo, total_kobo);
""")
done = {}
for lid, prod, rate_bps, status, out in db.execute(
        "SELECT id, product, rate_bps_per_period, status, outstanding_principal_kobo FROM loans WHERE status IN ('arrears','default')"):
    p = pos[lid]
    if prod not in ELIGIBLE or p["dpd"] > MAX_DPD:
        continue
    claim = out + p["arrears_interest"]
    n = p["unpaid_n"] + EXTRA
    rows = new_schedule(claim, rate_bps / 10_000, n, CUT_OFF)
    db.execute("INSERT INTO restructurings VALUES (?,?,?,?,?,?)", (lid, CUT_OFF.isoformat(), p["dpd"], claim, n, rate_bps))
    db.executemany("INSERT INTO restructured_schedule VALUES (?,?,?,?,?,?)",
                   [(lid, i, d.isoformat(), pr, it, t) for i, d, pr, it, t in rows])
    assert sum(r[2] for r in rows) == claim
    done[lid] = (claim, p["dpd"], n)
db.commit()
print(len(done), "loans restructured:", ", ".join(done))
print()

# Exposure for every open loan: principal outstanding + unpaid interest on due instalments.
rows = []
for lid, out, in db.execute("SELECT id, outstanding_principal_kobo FROM loans WHERE outstanding_principal_kobo > 0"):
    p = pos[lid]
    exp = out + p["arrears_interest"]
    rows.append((lid, exp, p["dpd"]))

def view(label, dpd_of, forborne_of):
    tot = {1: 0, 2: 0, 3: 0}
    for lid, exp, dpd in rows:
        tot[stage(dpd_of(lid, dpd), forborne_of(lid))] += exp
    prov = sum(tot[s] * COVERAGE[s] for s in tot)
    allexp = sum(tot.values())
    par30 = sum(exp for lid, exp, dpd in rows if dpd_of(lid, dpd) >= 30)
    par90 = sum(exp for lid, exp, dpd in rows if dpd_of(lid, dpd) >= 90)
    print(f"{label:<30} S1 {naira(tot[1]):>15} S2 {naira(tot[2]):>14} S3 {naira(tot[3]):>14}  provision {naira(round(prov)):>13}  PAR30 {par30 / allexp:6.2%}  PAR90 {par90 / allexp:6.2%}")
    return round(prov)

a = view("before restructuring", lambda l, d: d, lambda l: False)
b = view("after, DPD reset to 0", lambda l, d: 0 if l in done else d, lambda l: False)
c = view("after, probation (DPD kept)", lambda l, d: d, lambda l: l in done)
print()
print("provision released by the naive reset:", naira(a - b))
print("provision released under probation:   ", naira(a - c))

Nine loans qualify: eight in arrears and the one SME default at 93 days. The reset releases nearly a third of the provision. Probation raises it a little.

9 loans restructured: L000043, L000053, L000088, L000120, L000124, L000207, L000208, L000245, L000250

before restructuring           S1   ₦6,047,673.81 S2    ₦806,105.88 S3  ₦1,816,296.10  provision ₦1,216,649.04  PAR30 30.25%  PAR90 20.95%
after, DPD reset to 0          S1   ₦7,452,001.38 S2          ₦0.00 S3  ₦1,218,074.41  provision   ₦818,980.95  PAR30 14.05%  PAR90 14.05%
after, probation (DPD kept)    S1   ₦5,760,222.04 S2  ₦1,093,557.65 S3  ₦1,816,296.10  provision ₦1,245,394.21  PAR30 30.25%  PAR90 20.95%

provision released by the naive reset: ₦397,668.09
provision released under probation:    -₦28,745.17

6. Let the new clock run. Save this as clock.py. It assumes nobody pays any new instalment and asks for days past due on the new schedule on 30 November and 28 December 2026, next to the days counted from the first miss.

import sqlite3, datetime as dt
from forb import WORK, CUT_OFF, positions

db = sqlite3.connect(WORK)
# Suppose nobody pays any of the new instalments. This empty table stands in for their payments.
db.execute("DROP TABLE IF EXISTS no_new_payments")
db.execute("CREATE TABLE no_new_payments (loan_id, instalment, paid_at, amount_kobo, late_fee_kobo)")
db.commit()

DATES = (dt.date(2026, 11, 30), dt.date(2026, 12, 28))
seen = {d: positions(db, d, schedule="restructured_schedule", repayments="no_new_payments") for d in DATES}
print(f"{'loan':<9}{'before':>7}{'new-schedule dpd':>20}{'dpd from first miss':>22}")
print(f"{'':<9}{'':>7}{'11-30':>10}{'12-28':>10}{'12-28':>22}")
for lid, dpd_before in db.execute("SELECT loan_id, dpd_before FROM restructurings ORDER BY dpd_before DESC"):
    a, b = (seen[d].get(lid, {"dpd": 0})["dpd"] for d in DATES)
    print(f"{lid:<9}{dpd_before:>7}{a:>10}{b:>10}{dpd_before + (DATES[1] - CUT_OFF).days:>22}")

On 28 December every loan is 31 days past due on its new schedule, which is the first missed instalment, with a second also unpaid. Counted from the first miss they are between 63 and 154 days late.

loan      before    new-schedule dpd   dpd from first miss
                     11-30     12-28                 12-28
L000053       93         3        31                   154
L000088       71         3        31                   132
L000043       70         3        31                   131
L000124       65         3        31                   126
L000207       56         3        31                   117
L000245       33         3        31                    94
L000120       23         3        31                    84
L000208       17         3        31                    78
L000250        2         3        31                    63

7. Work an early settlement. Save this as settle.py. It settles L000043 as if it had paid instalment 1 and settled on the same day, compares the actuarial and rule-of-78 rebates, then settles 15 days later and prices a fee refund. The fractions module keeps the rounding exact: round sends an exact half kobo to the even neighbour, as loans.py does.

import sqlite3, datetime as dt
from fractions import Fraction
from forb import WORK, naira

db = sqlite3.connect(WORK)
LOAN = "L000043"
fee, rate_bps = db.execute("SELECT fee_kobo, rate_bps_per_period FROM loans WHERE id=?", (LOAN,)).fetchone()
sched = db.execute("SELECT instalment, due_date, principal_kobo, interest_kobo, total_kobo FROM schedule WHERE loan_id=? ORDER BY 1", (LOAN,)).fetchall()
n = len(sched)
k = 1                                              # instalment 1 is paid, on its due date
left = sched[k:]
balance = sum(r[2] for r in left)                  # principal still owed
remaining_total = sum(r[4] for r in left)          # what the contract would still collect
remaining_interest = sum(r[3] for r in left)
print(f"{LOAN}: {n} instalments, {k} paid; principal still owed {naira(balance)}; remaining instalments {naira(remaining_total)}")
print()

# 1. Settling on the due date of instalment 1: nothing has accrued since.
print("settle on", sched[k - 1][1], "(the day instalment 1 is paid)")
print(f"  actuarial:   pay {naira(balance)}; unearned interest rebated {naira(remaining_interest)}")
total_interest = sum(r[3] for r in sched)
digits = n * (n + 1) // 2
unearned78 = round(Fraction(total_interest) * Fraction((n - k) * (n - k + 1) // 2, digits))
print(f"  rule of 78:  rebate {naira(unearned78)} of {naira(total_interest)} total interest ({(n - k) * (n - k + 1) // 2}/{digits}); pay {naira(remaining_total - unearned78)}")
print(f"  difference:  the lender keeps {naira(remaining_interest - unearned78)} more under the rule of 78")
print()

# 2. Settling 15 days into period 2: interest accrues daily on the balance.
days = 15
accrued = round(Fraction(balance * rate_bps, 10_000) * Fraction(days, 30))
print(f"settle {days} days after instalment 1: accrued interest {naira(accrued)}; pay {naira(balance + accrued)}")
print(f"  against instalment 2's {naira(sched[k][3])} of interest, {days} of 30 days earned")
print()

# 3. The fee taken at disbursement.
unexpired = round(Fraction(fee) * Fraction(n - k, n))
print(f"origination fee {naira(fee)}; refunding the unexpired {n - k} of {n} months would be {naira(unexpired)} ({unexpired} kobo)")
L000043: 6 instalments, 1 paid; principal still owed ₦263,847.70; remaining instalments ₦300,511.50

settle on 2026-07-20 (the day instalment 1 is paid)
  actuarial:   pay ₦263,847.70; unearned interest rebated ₦36,663.80
  rule of 78:  rebate ₦36,152.71 of ₦50,613.80 total interest (15/21); pay ₦264,358.79
  difference:  the lender keeps ₦511.09 more under the rule of 78

settle 15 days after instalment 1: accrued interest ₦5,936.57; pay ₦269,784.27
  against instalment 2's ₦11,873.15 of interest, 15 of 30 days earned

origination fee ₦3,100.00; refunding the unexpired 5 of 6 months would be ₦2,583.33 (258333 kobo)

The rule of 78 rebates ₦511.09 less than the actuarial method on this loan. Check the 15/21 by hand: instalments 2 to 6 leave 5+4+3+2+1 = 15 of the 21 digits.

8. Open the answer key. Save this as truth.py. Only now, after you have written down what you expect, does it open data/answers/loans_truth.csv and ask which of the nine were always going to stop paying.

import csv, sqlite3
from forb import WORK

db = sqlite3.connect(WORK)
truth = {r["loan_id"]: r for r in csv.DictReader(open("data/answers/loans_truth.csv"))}
rest = [r[0] for r in db.execute("SELECT loan_id FROM restructurings ORDER BY loan_id")]
stoppers = [l for l in rest if truth[l]["stops_paying"] == "1"]
print(f"restructured: {len(rest)}; always going to stop paying: {len(stoppers)}")
for l in rest:
    print(" ", l, "stops_paying", truth[l]["stops_paying"], "first unpaid instalment", truth[l]["first_unpaid_instalment"] or "-")
restructured: 9; always going to stop paying: 6
  L000043 stops_paying 1 first unpaid instalment 2
  L000053 stops_paying 1 first unpaid instalment 2
  L000088 stops_paying 1 first unpaid instalment 2
  L000120 stops_paying 0 first unpaid instalment -
  L000124 stops_paying 1 first unpaid instalment 3
  L000207 stops_paying 1 first unpaid instalment 3
  L000208 stops_paying 0 first unpaid instalment -
  L000245 stops_paying 1 first unpaid instalment 4
  L000250 stops_paying 0 first unpaid instalment -

Six of nine were always going to stop paying. The reset in step 5 would have released provision on all nine.

Change MAX_DPD = 120 in policy.py to 60 and run steps 5 and 8 again. Fewer loans qualify, and the stoppers you exclude are the ones nearest to default. Then change the EXTRA term and watch the new instalments shrink and the total interest grow. Neither change tells you whether the policy works: only the re-default rate of a much larger set of restructured loans, measured over months, does. Nine loans cannot give you a rate. The lab shows the mechanism, and a real lender needs the volume.

ARTEFACT Write the restructuring case decision record ~45 MIN
YOU PRODUCEA restructuring case decision record

Template

# Restructuring case decision record: <loan id>, <date>
Prepared by <collections team lead>. Approved by <finance or credit approver>.

## 1. Situation
Product, balance, days past due, instalments unpaid, claim (principal outstanding plus interest on due, unpaid instalments): <kobo> (₦<amount>). Why the borrower is behind, and where that came from: <source>.

## 2. Options and affordability
Assumption: the borrower can pay ₦<amount> a month, from <source>.
| Option | New instalment | Total paid | Present value at original rate | Gain or loss | Within affordable amount? |

## 3. Treatment chosen
<option>, and why not the others. Fees waived: <list>. Written offer sent: <date>.

## 4. Effect on staging and accounting
| | dpd_current | dpd_original | Stage | Provision |
| Before | | | | |
| After, as the system would reset it | | | | |
| After, as chosen (forborne, probation) | | | | |
Probation: <what the loan must do to leave Stage 2>. Modification gain or loss: <kobo>.

## 5. How this could be wrong
<one way, and what would show it>

## 6. Decision and sign-off
Decision needed: <what, from whom, by when>. Out of scope: <what this record does not cover>.
Prepared <name, date>. Approved <name, date>.
WORKED EXAMPLE

At Owoleaf a collections team lead writes this for each restructure; Akanbi, in finance, signs it. This one is Akachi’s, dated 28 October 2026, for loan L000043, from the lab’s step 4 and step 5 figures.

Situation. A ₦310,000 personal loan, 6 months at 4.5% a month, 70 days past due with three instalments overdue. Claim: 29,285,854 kobo (₦292,858.54), which is ₦263,847.70 of principal and ₦29,010.84 of interest. Late fees waived.

Options. Assumption, from Akachi’s call: the borrower can pay ₦45,000 a month. A (9 instalments, same rate): ₦40,289.86, total ₦362,608.72, loss ₦0.00, affordable. B (2-month holiday, then 6): ₦62,004.02, not affordable. C (2% a month): ₦35,879.69, loss ₦32,056.58, affordable. D (20% written down): ₦32,231.89, loss ₦58,571.70, affordable.

Chosen. A. It is affordable with ₦4,710.14 to spare and costs nothing on the original rate. C and D give away money the borrower’s assumed income does not require.

Effect. On 28 October the new-schedule clock reads 0 and the original clock 70. The chapter’s illustrative shortcut (not the expected credit loss of the IFRS 9 chapter) has the loan in Stage 2 whether or not it is reset, because 70 days is past 30, and forborne keeps it there: 12% of the claim, ₦35,143.02. The system’s reset would show Stage 1 at 2%, ₦5,857.17, releasing ₦29,285.85 with no payment. If nothing is paid, on 28 December the clocks read 31 and 131, and the shortcut moves the loan to Stage 3 at 55%, ₦161,072.20.

Could be wrong. The ₦45,000 is the borrower’s word. Two missed new instalments would show it.

Decision. Approve A with probation. Out of scope: income recognition on capitalised interest.

Now you

You work for a lender with 40 people (unnamed), and you write the record for a small-business loan: ₦240,000 claim at 3.5% a month, 100 days past due, with a borrower who says business has recovered and can pay ₦28,000 a month. Your head of credit signs. Use your lab copy: new_schedule in forb.py builds the schedule for any claim, rate and number of instalments, and stage and COVERAGE give the stage and the 2%, 12% and 55% provision. Compare at least three options, including a 12-instalment reschedule and one with a rate cut or write-down, and show the loan on both clocks 35 days after the restructure, assuming nothing is paid. The head of credit will read it to decide whether to approve the treatment, and how long the loan stays in its worse stage.

Self-check

DECIDE

Akachi's team restructured nine loans. Owoleaf's loan system resets days past due when a new schedule is saved, so the month-end pack shows PAR30 falling from 30.25% to 14.05% and the provision falling by ₦397,668.09. Akanbi must decide how the system treats a restructured loan from now on. Collections want the new loans to read as current so that call lists are clean.

READING
  1. DOC
    IASB staff paper: what constitutes a modification (February 2026)

    An IASB staff paper on how modification of a financial asset is read under IFRS 9, including paragraph 5.4.3. Read it for how the staff frame what counts as a modification. It is a staff paper, not the standard: check the standard before you cite it.

  2. DOC
    IFRS Foundation: curing of a credit-impaired financial asset (slides)

    Slides from the IFRS Foundation's work on when a credit-impaired asset stops being credit-impaired. Read it for how a credit-impaired asset that is paid in full or stops being credit-impaired is shown in profit or loss. It is about presentation, not the length of probation. Skip the interest-income detail until you have read the provisioning chapter.

  3. DOC
    IMF: COVID-19 and the treatment of restructured loans for FSI compilation

    An IMF note (May 2020) on how national rules treat restructured loans in non-performing-loan statistics, including probation periods. Read it for the range of national practice. Skip the country annexes that are not Nigeria's.

  4. DOC
    CBN: Prudential Guidelines for Deposit Money Banks in Nigeria (effective 1 July 2010)

    The CBN's guidelines on loan classification and provisioning for banks. Read its section on non-performing credits and check what it says about restructured facilities before you cite it; this chapter could not confirm the text. Check for later circulars.

  5. DOC
    CBN: Consumer Protection Regulations (2019)

    The CBN's consumer protection rules for supervised institutions. Read the provisions on loan terms and early liquidation, and check whether a revised version has replaced it. Skip the sections on non-lending products.

  6. DOC
    FCCPC: Digital, Electronic, Online or Non-Traditional Consumer Lending Regulations 2025

    The FCCPC's regulations for digital lenders as the Commission hosts them. Read the disclosure provisions and look for anything on changes to repayment terms. Commentary disagrees on the issue date, so check the commencement date in the text.

All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.

RECALL CARDS Tap to flip. They join your review deck when you mark the lesson complete.
NEXT: Credit guarantees and credit insurance: sharing the risk →