NMLS Mortgage Call Report

Finance and banking United States

Checks a mortgage company’s Residential Mortgage Loan Activity before it’s filed in its quarterly NMLS Mortgage Call Report, state by state, and reconciles loans closed with the closed loan lines and each loan originator’s loans.

From the NMLS Mortgage Call Report Field Definitions & Instructions, Form Version 7.

NMLS Mortgage Call Report
Rules, test data and a pipeline snapshot. Zip, 81 KB.
Download the template

See it in Quantemplate

The pipeline

The NMLS Mortgage Call Report pipeline in Quantemplate: 14 stages, from Prepare application data, closed loan data and MLO data, through three Union and three Check stages, Closed loans by state, MLO loans by state and two joins, to Reconcile, with the three test files uploaded to stages 1, 2 and 3.

The flow

The pipeline’s Flow tab: the NMLS pipeline on its own, because it reads no reference data.

The reconciliation

Stage 14’s output for the clean data, scrolled to its last columns: one row for each of 5 states with its filing key, closed loans count and amount, brokered and funded loans, and MLO loans count and amount. California has 41 closed loans for 17,667,846 dollars, and its MLO totals match. Wyoming has none.

What it checks

81 rules 69 Fail 12 Warning

A rule set to Fail marks its rows as failed, and any failure blocks Auto Export if you set it up. Warnings are only reported. Validation never removes a row. Every rule and its formula is listed in VALIDATIONS.md in the download.

How the pipeline works

  1. Stages 1–3 Prepare Detect headers and tidy the application, closed loan and MLO files
  2. Stages 4–6 Union Stack every file of each kind into one
  3. Stages 7–9 Check Turn blank lines into 0, work out the totals NMLS calculates, and run the rules for each file
  4. Stages 10–11 Totals by state Total closed loans and MLO loans for each state and quarter
  5. Stages 12–13 Join Add the totals to each state’s application row
  6. Stage 14 Reconcile Check loans closed and funded against the totals

What’s in the download

The field definitions aren’t included. Download them from the NMLS Resource Center.

Build it

  1. Install the Quantemplate skills, version 1.0.0 or later, if you haven’t already. Then unzip the download.
  2. With Claude in Chrome signed in to Quantemplate, ask Claude Code:
    Build the NMLS Mortgage Call Report pipeline from the nmls-mortgage-call-report folder.
  3. Claude creates the datasets and stages, runs the test data and checks every rule’s result. This takes around 3 minutes.

The agent builds through the Quantemplate app’s own API in your browser. That API isn’t published, so if a release changes it, the build stops and tells you what went wrong. Review what the agent builds before you rely on it.

Using real files

Contact the Quantemplate support team, or use your AI agent, to build custom logic for your use case.

Limits