STAFFCHAPTER 41

Regulatory and bureau reporting: what a lender files and how it furnishes credit data

A lender reports to a regulator, a data protection authority and credit bureaus, each on its own clock. The bureau file is the one that follows a customer, so it needs two checks: that it agrees with itself, and that it agrees with your books

60 MINLENDING AND CREDITUPDATED 2026-11-14
PREDICT

Owoleaf's furnishing file passes five format checks: every required field is present, every date is real, every status code matches its days past due, no account appears twice, and the trailer's row count and balance total match the rows. What can Lawan fairly say?

A lender’s data goes out in two quite different ways. One is a return, a report to a regulator on a schedule, which a person reads and which shapes how the regulator sees the firm. The other is furnishing: sending account-level records to a credit bureau, which machines read, which every later lender sees, and which can lower a customer’s score without anyone looking. Returns fail loudly, with a letter. Furnished data fails quietly, with a declined loan. Module 1’s chapter on credit data in Nigeria covered what a bureau holds and why enquiries leave a mark. This chapter covers the supplier’s side: the duties that sources describe, the shape of a furnishing file, and the data-quality checks that stop a bad file leaving.

The lab runs on Owoleaf’s loan book at scale 0.1 (data/). Its bureau layout is invented for the course and labelled so: no bureau publishes it, and nothing in the lab is any bureau’s, the CBN’s or the FCCPC’s template. Which duties below bind a given lender depends on what it is: a bank, a microfinance bank, a finance company and an app-based lender sit under different regimes. That is the question of the licences and structures chapter in this module, so this chapter states each duty as its source states it and says how far the source reaches. Nothing here is legal advice.

Three audiences, three clocks

A lender with consumer loans answers to up to three bodies and to its bureaus. They want different things from the same loan tables.

Audience What it receives Cadence, as sources describe it Who reads it
FCCPC (consumer-protection regulator) Registration, records, reports and returns about lending activity and complaints Biannual reports and annual returns, per summaries A person at the regulator
NDPC (data protection regulator) A data protection compliance audit return, for controllers of major importance Annual, per summaries A person at the regulator, through a filing agent
CBN (central bank) Credit risk returns from institutions it supervises Monthly, per a CBN page and a circular The CBN’s systems and supervisors
Credit bureaus Account-level records on every borrower At least monthly, or on the bureau’s schedule, per a news report A bureau’s matching and scoring systems

Read the cadence column as a map to check, not a calendar to copy. The sources below are mostly law-firm summaries and the regulators’ own pages, and each says where it stops.

What the FCCPC asks

The FCCPC’s digital lending regulations (DEON: digital, electronic, online or non-traditional consumer lending) are the first rules most app-based lenders meet, and the consumer protection chapter covered their conduct side. They also create filing duties. Law-firm summaries of the Regulations say lenders must keep accurate and comprehensive records of lending activity, consumer transactions, interest and fees charged, and complaints and their resolution, must submit biannual reports to the Commission, and must file annual returns, with one source giving 31 March of each year as the deadlineas of 2026-11. The FCCPC’s DEON Consumer Lending Guidelines 2025, which the search returned as the official document, are described in summaries as asking an applicant for proof that it has filed its annual returns under the Companies and Allied Matters Act (CAMA), which is a company filing and not the FCCPC return aboveas of 2026-11. So the FCCPC annual return and its 31 March date rest on law-firm summaries alone in what this chapter could read, and one press report even names a different recipient for annual returns. Read the Regulations before you rely on either.

Two more points from the same summaries bear on a data team. Summaries say a lender must renew its registration every 36 months and, for renewal, give details of the lending applications it usesas of 2026-11. Whatever deadlines the text sets for answering a request, the records duty puts a requirement on the lender’s data: it must be able to produce a consistent account of a loan, a customer’s complaints and the charges made, quickly. That is a design requirement for the loan tables long before it is a filing.

Sources disagree about when the Regulations took effect. Summaries give 21 July 2025 as the issue or start date, one gives 3 September 2025 as when they took effect, and one gives 18 November 2025 for the Guidelinesas of 2026-11. The FCCPC’s own notice, as the search showed it, says it resumed enforcement in July 2026 after a court lifted an interim order of April 2026, and press reports add that an appeal has been filedas of 2026-11, so enforcement has moved more than once. A lender uses the FCCPC’s current notices, not a date from a summary, to decide what applies this month. The contents of a biannual report were not confirmed by any source this chapter could read, so the lab builds an illustrative summary and says so.

What the NDPC asks

A lender holds personal data on every applicant, which makes it a data controller under the Nigeria Data Protection Act 2023 (NDPA). Summaries of the NDPC’s 2025 General Application and Implementation Directive (the GAID) say the annual compliance audit return falls on data controllers and processors of major importance (DCPMIs), and that it is filed on the NDPC’s online portal by a licensed data protection compliance organisation (DPCO); summaries differ on whether every DCPMI or only its higher tiers must fileas of 2026-11. One summary gives 31 March each year as the filing dateas of 2026-11. Law-firm notes report that the NDPC extended the deadline for the 2025 returns to 30 May 2026as of 2026-11, which this chapter could not confirm from the NDPC, so the date a given year’s return falls due is something to take from the NDPC’s notices. Whether a given lender counts as a controller of major importance is the NDPC’s classification, and this chapter did not confirm the criteria. A lender reads the directive and the NDPC’s notices, and asks its DPCO.

The NDPC’s return and the FCCPC’s registration pull on the same evidence: what data you collect, on what basis, how you secure it. The previous module’s consumer protection chapter noted that one impact assessment can serve both. A lender’s data team is usually the one that has to produce it.

The CBN and the bureaus

The CBN’s duties differ for a bank, a microfinance bank and a finance company, and which applies to Owoleaf’s lending is a question for the licences and structures chapter. Two things hold across the CBN’s credit-data framework, as the sources describe it.

First, a regulator-facing database. The CBN’s page on the Credit Risk Management System (CRMS) describes it as a database of borrowers’ credit records that banks query, and the search summary says it captures credits of ₦1 million and above from banks’ monthly returnsas of 2026-11. Module 1 noted that a CBN circular, read on a third-party register, extended the CRMS monthly reporting duty to other institution types. The ₦1 million threshold means a ₦150,000 salary advance may not appear in it at all: a lender’s small loans reach the market only through private bureaus.

Second, the bureau side. The CBN’s November 2013 credit bureau guidelines, per summaries of the search results, make it mandatory for banks and other financial institutions to have data exchange agreements with at least two licensed bureaus (section 5.4.1) and to give data subjects notice before their credit information is disclosed to bureaus (section 5.3.1)as of 2026-11. A news report says banks must update changes to submitted data at least monthly, or more often, or on the bureau’s scheduleas of 2026-11. That last point is a press account and this chapter could not read the wording in the guidelines, so treat monthly as the likely cadence and take the real one from your data exchange agreement.

The law above the guidelines is the Credit Reporting Act 2017. One commentary says section 9(2)(a) lets a credit information provider disclose a data subject’s information to a bureau without the person’s prior consentas of 2026-11. That differs from what the NDPA asks of consent in general, and module 1 noted that commentators disagree on how the two fit. A law-firm review says section 13 lets a data subject complain to a credit bureau about the accuracy or validity of their credit reportas of 2026-11, and the same commentary says section 13(5) requires a rectified report to be sent to the data subjectas of 2026-11. The statute is linked in Reading. This chapter did not read its operative text, so the time allowed to resolve a complaint is not stated here: take it from the Act.

The practical reading is the same whichever way the detail falls. A lender that supplies data is on the hook for its accuracy, a customer has a route to challenge it, and the lender has to be able to fix its own record and tell the bureau. That is the work the rest of the chapter builds.

What a furnishing file is

Furnishing is a batch job. Each month the lender sends every bureau it reports to a file with one row per account. There are two common designs: a snapshot (every account, every month, the whole truth as of a date) and a change file (only what changed). The lab uses a snapshot because it is easier to check: the rows are a pure function of the books on one date, so you can rebuild them and compare.

The illustrative layout in the lab has a header, one detail row per loan and a trailer. Money is integer kobo, dates are ISO, and the customer is matched by a reference that stands in for the identity key (BVN or NIN) a real file would carry.

Field Meaning Rule the validator applies
lender, account, customer_ref Who sends it, the loan, and the key that matches the person Required; one row per account
product, opened, original_kobo What was lent, when and how much Required; real date; whole kobo
balance_kobo, past_due_kobo, dpd What is owed, what is overdue, how many days late Whole numbers; dpd above 0 exactly when past_due_kobo is above 0
pay_status 0 current, 1 for 1 to 29 days late, 2 for 30 to 59, 3 for 60 to 89, 4 for 90 or more Must equal the bucket of dpd
acct_status O open, C closed, W written off C exactly when the balance is 0 and a closed date exists
closed, last_payment, reported Dates Not before opened; reported equals the header date

Two design choices matter more than they look. A trailer carries the row count and the balance totals the sender meant to send, so a file cut off mid-write fails at once. And the layout says what a missing account means. In the lab’s snapshot a missing row would mean the account was not reported, so the lender never omits a row to hide an error: it fixes the row or holds the file. A restructured loan is the hard case. If the rescheduled loan shows as current, the bureau sees a borrower who never fell behind, and every later lender is misled. The restructuring chapter covers the rescheduling itself. The rule for the file is that the layout must have a way to say “restructured”, and that the lender must use it.

Two layers of checks

The Predict question has the answer. A file can agree with itself and disagree with the world.

Layer 1: the file against its own rules. Required fields, real dates, whole numbers, no duplicate accounts, status codes that match their days past due, trailer totals that match the rows. These are cheap and run on any file, including one another team built. They catch bugs in the writer: a status feed that falls back to 0, a join that doubles a row, a file cut short.

Layer 2: the file against the books. For each account, recompute the balance, the overdue amount and the days past due from the schedule and the repayments, as the loan lifecycle chapter defined them, and compare. Layer 2 catches errors that are consistent with themselves: a balance in naira, a payment missing from the source, an account in the file that is not in the book or the other way round. It needs the books, so it runs where the books are, before the file leaves. It is also the same discipline as the reconciliation chapter in Payments: two independent routes to one number, and a break when they differ.

The two layers find different faults, and the lab proves it. It plants three: an account sent twice, a status that contradicts the days past due, and a balance in naira instead of kobo. Layer 1 finds the first two and misses the third. Layer 2 finds the third and, on its own, would miss the status error. Neither layer alone is enough.

One book, several reports

The bureau file, the regulator’s summary and the board pack all describe the same loans. Open loans, balance and arrears must agree across them. A lender that builds each report from its own query will find, sooner or later, that the FCCPC summary says 84 open loans and the bureau file says 82. The fix is cheap: derive every report from one set of rows and test the totals against each other. The lab’s last step does it for the file and the loan tables.

The same discipline serves provisioning. The provisioning chapter in module 3 stages loans by days past due, and the number of loans the bureau file says are 90 days late should equal the number the provision model puts in stage 3, or a regulator and an auditor will ask why.

Corrections

A bureau file is read by other lenders the day it lands. When a customer disputes a record, the order of work is:

  1. Find the cause in your own books. Is a payment unbooked, a status wrong, a record merged with another customer’s?
  2. Fix the source. A correction applied only to the file is overwritten by the next night’s build.
  3. Rebuild the row from the corrected books and send the correction to every bureau you report to.
  4. Answer the customer, with the reference of the complaint, which the consumer protection chapter says the lender needs to have.

The lab does steps 1 to 3 on a copy of the book for Owoleaf’s L000043. The effect is larger than the amount: a ₦60,102.30 payment moves the account from 70 days past due, bucket 3, to 40 days, bucket 2. A lender’s score cut-offs and its enquiry and delinquency rules read those buckets, which is why a missing payment is more than an accounting slip.

Where this goes wrong

  • Building the file from a cache. If the file reads a table the ledger does not update, it carries yesterday’s truth.
  • Validating only the format. Layer 1 alone gives a feeling of control and finds only writer bugs.
  • Fixing the file, not the books. The error comes back next month.
  • Omitting a row to avoid an error. In a snapshot, a missing row is a statement. Hold the row, say so, and fix its source.
  • Treating a summary of a rule as the rule. Every duty above rests on a summary or a regulator’s page the search returned in part. Read the instrument before you plan a filing calendar around it.
  • Sending production data to a public AI tool to find the bug. See below.
LAB Build a bureau furnishing file from the loans, validate it, plant three errors and catch them ~60 MIN
YOU NEEDPython 3.9 or later (standard library only)labs/finance with the loan book generated (scale 0.1, the default)No Docker, no packages, no mock services

You work in labs/finance. Every step is Python run from that folder, reading data/finance.sqlite read-only. You write seven small scripts into a new furnish/ folder. Money is integer kobo throughout. The layout is illustrative: invented for this lab, not any bureau’s. The Python scripts are the lab’s. Every output below was printed by them at seed 42.

1. Check the loan book exists and make the folder. If the check fails, build the book (about 3 seconds).

cd labs/finance
test -f data/finance.sqlite || (python3 generate.py && python3 loans.py)
python3 check.py | grep -E "^(loan book|OK)"
mkdir -p furnish/out

The loan book is there and the invariants hold:

loan book: 372 loans, 850,258,479 kobo of principal outstanding; checks 7-11 run
OK: all invariants hold

850,258,479 kobo is ₦8,502,584.79. If check.py complains about a missing table, run python3 loans.py first.

2. Write the layout and build one row per loan. furnish/layout.py holds the field list, the status buckets and recompute, which works out a loan’s balance, overdue amount and days past due from schedule and repayments on a date. build_rows makes the file’s rows from it. furnish/look.py runs it and compares with the stored loan table.

cat > furnish/layout.py <<'EOF'
"""An ILLUSTRATIVE bureau furnishing layout. It is not any real bureau's, the CBN's or any lender's.
Money is integer kobo. Dates are YYYY-MM-DD. One row per loan, as at one reporting date (a snapshot)."""
import datetime as dt
import sqlite3

DB = "data/finance.sqlite"
LENDER = "LND001"                       # an invented data-provider code
FIELDS = ["record", "lender", "account", "customer_ref", "product", "opened", "original_kobo",
          "balance_kobo", "past_due_kobo", "dpd", "pay_status", "acct_status", "closed", "last_payment", "reported"]
# pay_status: 0 current, 1 = 1-29 days past due, 2 = 30-59, 3 = 60-89, 4 = 90 or more
# acct_status: O open, C closed, W written off
PRODUCT_CODE = {"SAL": "SA", "PL": "PL", "BNPL": "BN", "SME": "SM"}


def connect():
    return sqlite3.connect("file:" + DB + "?mode=ro", uri=True)


def pay_status(dpd):
    return 0 if dpd == 0 else 1 if dpd < 30 else 2 if dpd < 60 else 3 if dpd < 90 else 4


def recompute(db, loan_id, as_of):
    """The balance and days past due the schedule and repayments imply on as_of (the independent check).
    Returns (balance_kobo, past_due_kobo, dpd, last_payment)."""
    principal, = db.execute("select principal_kobo from loans where id = ?", (loan_id,)).fetchone()
    paid, last = db.execute("select coalesce(sum(principal_kobo),0), max(paid_at) from repayments "
                            "where loan_id = ? and paid_at <= ?", (loan_id, as_of)).fetchone()
    due = db.execute(
        """select s.due_date, s.total_kobo - coalesce((select sum(r.principal_kobo + r.interest_kobo) from repayments r
              where r.loan_id = s.loan_id and r.instalment = s.instalment and r.paid_at <= ?), 0)
           from schedule s where s.loan_id = ? and s.due_date < ? order by s.instalment""", (as_of, loan_id, as_of)).fetchall()
    unpaid = [(d, k) for d, k in due if k > 0]
    dpd = (dt.date.fromisoformat(as_of) - dt.date.fromisoformat(unpaid[0][0])).days if unpaid else 0
    return principal - paid, sum(k for _, k in unpaid), dpd, last or ""


def build_rows(db, as_of):
    rows = []
    q = """select l.id, c.ref, l.product, l.disbursed_at, l.principal_kobo, l.status
           from loans l join customers c on c.id = l.customer_id order by l.id"""
    for lid, ref, product, opened, principal, status in db.execute(q):
        bal, past, dpd, last = recompute(db, lid, as_of)
        acct = "C" if bal == 0 else "W" if status == "written_off" else "O"
        rows.append({"record": "D", "lender": LENDER, "account": lid, "customer_ref": ref,
                     "product": PRODUCT_CODE[product], "opened": opened, "original_kobo": principal,
                     "balance_kobo": bal, "past_due_kobo": past, "dpd": dpd, "pay_status": pay_status(dpd),
                     "acct_status": acct, "closed": last if acct == "C" else "", "last_payment": last,
                     "reported": as_of})
    return rows
EOF
cat > furnish/look.py <<'EOF'
import collections
from layout import connect, build_rows

db = connect()
rows = build_rows(db, "2026-10-28")
print(len(rows), "rows; fields:", ", ".join(rows[0]))
print("L000043:", {k: v for k, v in next(r for r in rows if r["account"] == "L000043").items()})
print("acct_status:", dict(collections.Counter(r["acct_status"] for r in rows)))
print("pay_status :", dict(sorted(collections.Counter(r["pay_status"] for r in rows).items())))
print("balance total kobo:", sum(r["balance_kobo"] for r in rows))
src, = db.execute("select sum(outstanding_principal_kobo) from loans").fetchone()
print("loans.outstanding_principal_kobo total:", src)
bad = [r["account"] for r in rows if r["balance_kobo"] != db.execute(
    "select outstanding_principal_kobo from loans where id = ?", (r["account"],)).fetchone()[0]]
print("rows whose recomputed balance differs from loans:", len(bad))
bad = [r["account"] for r in rows if r["dpd"] != db.execute(
    "select days_past_due from loans where id = ?", (r["account"],)).fetchone()[0]]
print("rows whose recomputed dpd differs from loans:", len(bad), bad[:5])
EOF
python3 furnish/look.py

372 rows, one per loan. L000043 is the worked personal loan from module 1: ₦310,000 lent, ₦263,847.70 still owed, three instalments overdue (₦180,306.90) and 70 days past due, so bucket 3. The recomputed figures match loans for every row:

372 rows; fields: record, lender, account, customer_ref, product, opened, original_kobo, balance_kobo, past_due_kobo, dpd, pay_status, acct_status, closed, last_payment, reported
L000043: {'record': 'D', 'lender': 'LND001', 'account': 'L000043', 'customer_ref': 'C0000233', 'product': 'PL', 'opened': '2026-06-20', 'original_kobo': 31000000, 'balance_kobo': 26384770, 'past_due_kobo': 18030690, 'dpd': 70, 'pay_status': 3, 'acct_status': 'O', 'closed': '', 'last_payment': '2026-07-20', 'reported': '2026-10-28'}
acct_status: {'C': 288, 'O': 82, 'W': 2}
pay_status : {0: 328, 1: 3, 2: 2, 3: 3, 4: 36}
balance total kobo: 850258479
loans.outstanding_principal_kobo total: 850258479
rows whose recomputed balance differs from loans: 0
rows whose recomputed dpd differs from loans: 0 []

Check one: 288 closed, 82 open and 2 written off add to 372. And ₦310,000.00 less the first instalment’s principal of ₦46,152.30 is ₦263,847.70, the balance in the row.

3. Write the file with a header and a trailer. fileio.py writes and reads the layout. make.py builds the file; --plant will seed errors later.

cat > furnish/fileio.py <<'EOF'
import csv
from layout import FIELDS, LENDER

MONEY = ["original_kobo", "balance_kobo", "past_due_kobo"]


def write_file(rows, path, as_of):
    """Header, one detail row per loan, then a trailer with control totals."""
    with open(path, "w", newline="", encoding="utf-8") as f:
        w = csv.writer(f)
        w.writerow(["H", LENDER, as_of, "layout-illustrative-1"])
        w.writerow(FIELDS)
        for r in rows:
            w.writerow([r[k] for k in FIELDS])
        w.writerow(["T", len(rows), sum(int(r["balance_kobo"]) for r in rows),
                    sum(int(r["past_due_kobo"]) for r in rows)])


def read_file(path):
    with open(path, newline="", encoding="utf-8") as f:
        lines = list(csv.reader(f))
    header, fields, trailer = lines[0], lines[1], lines[-1]
    rows = [dict(zip(fields, ln)) for ln in lines[2:-1]]
    return header, fields, rows, trailer
EOF
cat > furnish/make.py <<'EOF'
"""Build the furnishing file. --plant seeds three source-data errors before the file is written."""
import argparse
import os
from layout import connect, build_rows
from fileio import write_file

ap = argparse.ArgumentParser()
ap.add_argument("--as-of", default="2026-10-28")
ap.add_argument("--plant", action="store_true")
ap.add_argument("--out", default="furnish/out/furnish.csv")
a = ap.parse_args()

db = connect()
rows = build_rows(db, a.as_of)
if a.plant:
    # 1. a duplicate: one account sent twice
    dup = next(r for r in rows if r["account"] == "L000100")
    rows.append(dict(dup))
    # 2. a status that contradicts the days past due: the status feed fell back to 0 (current)
    bad = next(r for r in rows if r["account"] == "L000002")
    print("planted status error on L000002: dpd", bad["dpd"], "pay_status", bad["pay_status"], "-> 0")
    bad["pay_status"] = 0
    # 3. a unit error: a balance sent in naira, not kobo, on the first large open loan with nothing past due
    big = next(r for r in rows if r["acct_status"] == "O" and r["dpd"] == 0 and r["balance_kobo"] > 10_000_000)
    print("planted unit error on", big["account"], ": balance_kobo", big["balance_kobo"], "->", big["balance_kobo"] // 100)
    big["balance_kobo"] //= 100
os.makedirs(os.path.dirname(a.out), exist_ok=True)
write_file(rows, a.out, a.as_of)
print("wrote", a.out, "with", len(rows), "detail rows")
EOF
python3 furnish/make.py
head -4 furnish/out/furnish.csv | cut -c1-110
tail -1 furnish/out/furnish.csv

The header names the sender, the date and the layout version. The trailer says 372 rows, a balance total of 850,258,479 kobo and an overdue total of 233,282,767 kobo (₦2,332,827.67):

wrote furnish/out/furnish.csv with 372 detail rows
H,LND001,2026-10-28,layout-illustrative-1
record,lender,account,customer_ref,product,opened,original_kobo,balance_kobo,past_due_kobo,dpd,pay_status,acct
D,LND001,L000001,C0000018,BN,2026-04-23,3100000,0,0,0,0,C,2026-06-18,2026-06-18,2026-10-28
D,LND001,L000002,C0000018,SA,2026-04-16,1700000,1700000,1785000,165,4,O,,,2026-10-28
T,372,850258479,233282767

(The field-name line is cut to 110 characters by cut -c1-110.)

4. Write the validator and run layer 1 on the clean file. validate.py has eight rules and the trailer check. It takes --reconcile for layer 2, used in step 6.

cat > furnish/validate.py <<'EOF'
"""Validate a furnishing file. Layer 1: rules the file can check about itself.
Layer 2 (--reconcile): the file against the loan tables, recomputed independently."""
import argparse
import collections
import datetime as dt
from fileio import read_file, MONEY
from layout import connect, pay_status, recompute

REQUIRED = ["lender", "account", "customer_ref", "product", "opened", "original_kobo", "balance_kobo",
            "past_due_kobo", "dpd", "pay_status", "acct_status", "reported"]
DATES = ["opened", "closed", "last_payment", "reported"]

ap = argparse.ArgumentParser()
ap.add_argument("path")
ap.add_argument("--reconcile", action="store_true")
a = ap.parse_args()

header, fields, rows, trailer = read_file(a.path)
found = collections.defaultdict(list)          # rule -> accounts


def flag(rule, row):
    found[rule].append(row.get("account", "?"))


# T1: the trailer's control totals match the rows
count_ok = int(trailer[1]) == len(rows)
sum_ok = (int(trailer[2]) == sum(int(r["balance_kobo"] or 0) for r in rows)
          and int(trailer[3]) == sum(int(r["past_due_kobo"] or 0) for r in rows))
if not (count_ok and sum_ok):
    found["T1 trailer does not match rows"].append(f"trailer {trailer[1]} rows, file has {len(rows)}")

seen = collections.Counter(r["account"] for r in rows)
for r in rows:
    if any(r[k] == "" for k in REQUIRED):
        flag("R1 required field empty", r)
        continue
    try:
        m = {k: int(r[k]) for k in MONEY}
        dpd, ps = int(r["dpd"]), int(r["pay_status"])
        d = {k: dt.date.fromisoformat(r[k]) for k in DATES if r[k]}
    except ValueError:
        flag("R2 not a whole number or a real date", r)
        continue
    if seen[r["account"]] > 1:
        flag("R3 account appears more than once", r)
    if ps != pay_status(dpd):
        flag("R4 pay_status does not match dpd", r)
    if (dpd > 0) != (m["past_due_kobo"] > 0):
        flag("R5 dpd and amount past due disagree", r)
    if not 0 <= m["balance_kobo"] <= m["original_kobo"]:
        flag("R6 balance outside 0..original", r)
    closed = r["acct_status"] == "C"
    if closed != (m["balance_kobo"] == 0) or closed != bool(r["closed"]):
        flag("R7 closed, balance and closed date disagree", r)
    if d["opened"] > d["reported"] or any(d[k] < d["opened"] for k in ("closed", "last_payment") if k in d):
        flag("R8 dates out of order", r)

for rule in sorted(found):
    accts = sorted(set(found[rule]))
    print(f"{rule:45} {len(found[rule]):3}  {', '.join(accts[:4])}")
if not found:
    print("layer 1: no findings")

if a.reconcile:
    db = connect()
    as_of = header[2]
    src = {i: (c, p) for i, c, p in db.execute(
        "select l.id, c.ref, l.product from loans l join customers c on c.id = l.customer_id where l.disbursed_at <= ?", (as_of,))}
    got = collections.Counter(r["account"] for r in rows)
    print(f"layer 2: {len(src)} loans in the book, {len(got)} distinct accounts in the file")
    for lid in sorted(set(src) - set(got)):
        print("  missing from file:", lid)
    for lid in sorted(set(got) - set(src)):
        print("  not in the book:", lid)
    n = 0
    for r in rows:
        if r["account"] not in src:
            continue
        bal, past, dpd, _ = recompute(db, r["account"], as_of)
        diff = [f"{k} file {r[k]} book {v}" for k, v in
                (("balance_kobo", bal), ("past_due_kobo", past), ("dpd", dpd)) if int(r[k]) != v]
        if diff:
            n += 1
            print(f"  {r['account']}: " + "; ".join(diff))
    print("  rows that disagree with the book:", n)
EOF
python3 furnish/validate.py furnish/out/furnish.csv

A clean file has no findings:

layer 1: no findings

A validator that finds nothing is only worth something if it finds problems elsewhere. The next step proves it does.

5. Plant three errors and run layer 1. --plant seeds, before the file is written and its trailer computed: L000100 sent twice, L000002 with a pay_status of 0 though it is 165 days late, and the first large open loan with nothing past due, L000020, with its balance in naira.

python3 furnish/make.py --plant --out furnish/out/planted.csv
python3 furnish/validate.py furnish/out/planted.csv

Layer 1 finds two of the three. L000100 appears on two rows. L000002’s status disagrees with its days past due. L000020 goes unnoticed: a balance of 166,299 is a whole number below the original amount, and consistent with its other fields. The trailer was written after planting, so it matches the 373 rows too:

planted status error on L000002: dpd 165 pay_status 4 -> 0
planted unit error on L000020 : balance_kobo 16629939 -> 166299
wrote furnish/out/planted.csv with 373 detail rows
R3 account appears more than once               2  L000100
R4 pay_status does not match dpd                1  L000002

16,629,939 kobo is ₦166,299.39. After the error the file says 166,299 kobo, which is ₦1,662.99.

6. Run layer 2. The same file, compared with the books.

python3 furnish/validate.py furnish/out/planted.csv --reconcile

Layer 2 finds the third error and says by how much. It sees 372 distinct accounts for 372 loans, so the duplicate hides at this layer, and L000002 agrees with the book on balance and days past due, so its wrong status is invisible here. Each layer needs the other:

R3 account appears more than once               2  L000100
R4 pay_status does not match dpd                1  L000002
layer 2: 372 loans in the book, 372 distinct accounts in the file
  L000020: balance_kobo file 166299 book 16629939
  rows that disagree with the book: 1

7. Correct a disputed record. correction.py copies the book to furnish/out/copy.sqlite, books the unbooked second instalment of L000043 as a direct-debit repayment on its due date, and rebuilds the row.

cat > furnish/correction.py <<'EOF'
"""A customer says she paid L000043's second instalment on its due date and it was never booked.
Fix a COPY of the book, rebuild her row and show what a correction changes."""
import shutil
import sqlite3
from layout import build_rows

shutil.copy("data/finance.sqlite", "furnish/out/copy.sqlite")
db = sqlite3.connect("furnish/out/copy.sqlite")
before = next(r for r in build_rows(db, "2026-10-28") if r["account"] == "L000043")

due, p, i, t = db.execute("select due_date, principal_kobo, interest_kobo, total_kobo from schedule "
                          "where loan_id = 'L000043' and instalment = 2").fetchone()
rid = db.execute("select max(id) + 1 from repayments").fetchone()[0]
db.execute("insert into repayments values (?, 'L000043', 2, ?, ?, 'direct_debit', 0, ?, ?)", (rid, due, t, i, p))
db.commit()
after = next(r for r in build_rows(db, "2026-10-28") if r["account"] == "L000043")

print(f"booked the missing payment: {t} kobo on {due} (interest {i}, principal {p})")
for k in ("balance_kobo", "past_due_kobo", "dpd", "pay_status", "last_payment"):
    print(f"{k:14} {before[k]!s:>10} -> {after[k]!s:>10}")
EOF
python3 furnish/correction.py

The payment is the schedule’s second instalment: ₦60,102.30, of which ₦11,873.15 is interest and ₦48,229.15 principal. The balance falls by the principal, two instalments are overdue instead of three, and the status moves from bucket 3 to bucket 2:

booked the missing payment: 6010230 kobo on 2026-08-19 (interest 1187315, principal 4822915)
balance_kobo     26384770 ->   21561855
past_due_kobo    18030690 ->   12020460
dpd                    70 ->         40
pay_status              3 ->          2
last_payment   2026-07-20 -> 2026-08-19

Check: ₦263,847.70 less ₦48,229.15 is ₦215,618.55, and two instalments of ₦60,102.30 are ₦120,204.60. The real book is untouched; your corrected row goes to the bureau in the next file.

8. Reconcile the file to a regulatory summary. summary.py prints an illustrative lending summary by product, then compares four figures in the clean file with the loan tables.

cat > furnish/summary.py <<'EOF'
"""An illustrative half-year lending summary, and a cross-check against the bureau file.
Contents are the lab's own: the rules the chapter cites do not fix a template we could confirm."""
import collections
from fileio import read_file
from layout import connect

db = connect()
rows = collections.defaultdict(lambda: [0, 0, 0, 0])
q = """select case when disbursed_at < '2026-07-01' then 'H1 2026' else 'H2 2026' end, product,
              count(*), sum(principal_kobo), sum(fee_kobo), sum(paid_interest_kobo + paid_late_fees_kobo)
       from loans group by 1, 2 order by 1, 2"""
print("period   product loans  principal_kobo  fees_kobo  interest_and_late_fees_kobo")
for half, product, n, pr, fee, inc in db.execute(q):
    print(f"{half}  {product:5} {n:6} {pr:15,} {fee:10,} {inc:15,}")
print("complaints logged: the book has no complaints table, so the summary cannot report a number (a gap)")

_, _, file_rows, trailer = read_file("furnish/out/furnish.csv")
file_open = sum(1 for r in file_rows if r["acct_status"] in "OW")
file_late = sum(1 for r in file_rows if int(r["dpd"]) > 0)
file_par90 = sum(int(r["balance_kobo"]) for r in file_rows if int(r["dpd"]) >= 90)
src_open, src_late, src_par90, src_bal = db.execute(
    """select sum(outstanding_principal_kobo > 0), sum(days_past_due > 0),
              sum(case when days_past_due >= 90 then outstanding_principal_kobo else 0 end),
              sum(outstanding_principal_kobo) from loans""").fetchone()
print("\nmeasure                 bureau file     loans table")
print(f"open loans              {file_open:>11,} {src_open:>15,}")
print(f"loans past due          {file_late:>11,} {src_late:>15,}")
print(f"balance 90+ dpd (kobo)  {file_par90:>11,} {src_par90:>15,}")
print(f"balance total (kobo)    {int(trailer[2]):>11,} {src_bal:>15,}")
EOF
python3 furnish/summary.py

All the loans were disbursed in the first half of 2026, because the generator’s applications stop on 30 June, so the table has no second-half rows. The book has no complaints table, so the summary cannot give a complaint count, which the FCCPC summaries say lenders must record. The file and the tables agree on all four measures (84 open loans include the 2 written off, which still carry a balance):

period   product loans  principal_kobo  fees_kobo  interest_and_late_fees_kobo
H1 2026  BNPL      85     395,500,000          0       1,450,000
H1 2026  PL        52     812,400,000  8,124,000     127,082,024
H1 2026  SAL      190     483,700,000  4,837,000      21,740,000
H1 2026  SME       45   4,625,400,000 69,381,000     447,520,864
complaints logged: the book has no complaints table, so the summary cannot report a number (a gap)

measure                 bureau file     loans table
open loans                       84              84
loans past due                   44              44
balance 90+ dpd (kobo)  173,090,095     173,090,095
balance total (kobo)    850,258,479     850,258,479

Cut the file short, as a crashed job would: (head -n 200 furnish/out/furnish.csv; tail -n 1 furnish/out/furnish.csv) > furnish/out/cut.csv, then python3 furnish/validate.py furnish/out/cut.csv. It prints T1 trailer does not match rows 1 trailer 372 rows, file has 198. Without the trailer, 174 accounts would look as if they were never reported, and nothing in the rows would say so. Then build an earlier month-end with python3 furnish/make.py --as-of 2026-09-30 --out furnish/out/sep.csv and run both layers on it with --reconcile. It passes both, with a trailer balance total of 1,256,502,693 kobo (₦12,565,026.93) against October’s 850,258,479, because the book was larger before it ran off. A file can be right and still be for the wrong day: which field in the file says which day, and what would catch a September file sent as October’s?

ARTEFACT Write the bureau submission pack ~45 MIN
YOU PRODUCEReporting calendar and data-quality reconciliation for a bureau submission

Template

# Bureau submission pack: <month> file, reporting date <date>
Prepared by <head of lending data> · Signed by <head of compliance> · Release decision needed by <date and time>

## Reporting calendar
| What | To whom | How often | Next due | Owner | Source and how sure we are |
|---|---|---|---|---|---|
| <file, return or renewal> | <bureau or regulator> | <cadence> | <date or "take from agreement"> | <name> | <instrument, summary or press; confirmed or not> |

## Record counts
| Loans in the book | Rows in the file | Trailer rows | Balance total (₦) | Overdue total (₦) |
|---|---|---|---|---|
| <n> | <n> | <n> | <n> | <n> |
Agreement with the loans table: <loans with a balance, past due, balance at 90+ days, balance total>

## Rejects
| Account | Rule or layer | What was wrong | Cause | Fix at source |
|---|---|---|---|---|
| <id> | <R-number or layer 2> | <what the file says against what the book says, in ₦> | <cause> | <fix> |

## Corrections owed
<Disputed accounts: old row, new row, which bureaus receive it.>

## Release decision
<Send, split-send or hold; owner; what the delay is logged against.>

## How this could be wrong
<One way, and the evidence that would show it.>

## Out of scope
<What this pack does not cover.>
WORKED EXAMPLE

At a real lender, the head of lending data writes this pack and the head of compliance signs it before the file leaves. Here Lawan writes and Maimuna signs, for Owoleaf’s file with reporting date 2026-10-28.

Calendar. The bureau file is monthly, and Lawan owns it; its due day comes from the data exchange agreement, not from this pack. Maimuna owns the rest. Summaries give the FCCPC biannual reports and an annual return, with one source saying 31 Marchas of 2026-11: unconfirmed until she reads the Regulations. The NDPC audit return goes through a licensed DPCO and is also unconfirmed.

Counts (clean file). The book has 372 loans, the file 372 rows and the trailer says 372. The trailer’s balance total is ₦8,502,584.79 and its overdue total ₦2,332,827.67. Against the loans table: 84 loans with a balance (82 open, 2 written off), 44 past due and ₦1,730,900.95 at 90 days or more, all equal.

Rejects (planted test file, 373 rows). L000100 appears twice (R3): a doubled join, so the join is fixed and the file rebuilt. L000002 has status 0 though 165 days late (R4): rebuilt from days past due, giving bucket 4. L000020 carries 166299 in balance_kobo, which reads as ₦1,662.99, where the book says ₦166,299.39 (layer 2): the fix is to send kobo. Each layer missed what the other caught. Layer 1 passed L000020, and layer 2 saw 372 distinct accounts and L000002’s right balance.

Corrections owed. L000043 moves from 70 to 40 days past due, bucket 3 to 2, and its balance from ₦263,847.70 to ₦215,618.55, once the ₦60,102.30 payment is booked. Every bureau gets the new row.

Release decision. Maimuna signs; the clean file goes once L000043 is booked, and any delay is logged against the agreement date.

Could be wrong. Layer 2 recomputes from the same repayments table, so a payment never booked, as in L000043, passes it. A customer complaint would show it.

Out of scope. The layout is illustrative, not any bureau’s.

Now you

You are the data lead at an unnamed app-based salary-advance lender, and you also own its reporting calendar. It reports monthly to two bureaus, and its data exchange agreement with each expects the file by the 5th of the month (an assumption of this scenario). Today is 29 October 2026, so you have a week. Use the lab’s furnish/out/planted.csv as the pre-send file and run validate.py on it with --reconcile. For the shrinkage note, build python3 furnish/make.py --as-of 2026-09-30 --out furnish/out/sep.csv and read its trailer: a balance total of ₦12,565,026.93, against ₦8,502,584.79 now. Build the calendar from this chapter’s sources, marking each date confirmed or not. Your head of lending and head of compliance read the pack. It supports one decision: send the file now, send the clean accounts and hold the rest, or hold everything until the sources are fixed.

Self-check

DECIDE

It is the day Owoleaf's monthly bureau file is due. Lawan's layer 1 checks pass. The layer 2 reconciliation fails on 41 of 3,000 accounts: balances that disagree with the books, all on loans repaid by direct debit last week. He suspects a late-posting job. The data exchange agreement expects the file by tonight. Maimuna asks what to do.

READING
  1. DOC
    Digital, Electronic, Online or Non-Traditional Consumer Lending Regulations 2025 (FCCPC) FCCPC, 2025

    The regulator's own text. Read the registration, records and reporting provisions, and check every date and period the summaries give. Skip what you read in the consumer-protection chapter. Read: Registration, records and reporting parts.

  2. DOC
    DEON Consumer Lending Guidelines 2025 (FCCPC) FCCPC, 2025

    The guidance issued with the Regulations: what an applicant must evidence, which summaries say includes CAMA annual returns, and what else the Commission can ask for. Read it for the filing detail the summaries leave out.

  3. DOC
    Credit Reporting Act 2017 2017

    The statute behind furnishing. Read the sections on disclosure (9), complaints about accuracy (13) and the providers' and bureaus' duties to correct. This chapter did not read the operative text. Read: Sections 9 and 13.

  4. DOC
    Approved Credit Bureau Guidelines, November 2013 (CBN) Central Bank of Nigeria, 2013

    The CBN's bureau rules: data exchange agreements, notice to data subjects and data integrity. Check the update frequency a news report gave, and whether a later version replaced it. Read: Sections 5.3, 5.4 and 5.7.

  5. DOC
    Credit Risk Management System (CBN) Central Bank of Nigeria

    The CBN's own description of the regulator-side credit database and the threshold of what it captures. Read it to see why small loans may not reach it.

  6. DOC
    Frequently Asked Questions (NDPC) Nigeria Data Protection Commission

    The data protection regulator's own answers. Use it to find what it says on compliance audit returns and controllers of major importance, then read the 2025 directive.

  7. DOC
    Nigerian credit infrastructure reform: snapshot of progress and next steps (IFC) International Finance Corporation, 2024

    Context on how credit data infrastructure developed in Nigeria and where its gaps are. Read it for the system a furnisher feeds. Skip the parts on collateral registries.

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: Non-interest (Islamic) lending: murabaha, ijara and Nigeria's framework →