NMLS Mortgage Call Report
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.
- 81validation rules
- 14pipeline stages
- 41RMLA line items
- 3 minto build and check
See it in Quantemplate
The pipeline

The flow

The reconciliation

What it checks
81 rules 69 Fail 12 Warning
- Application dataThe company, state and quarter, whole counts and amounts, the application pipeline balancing, and AC063 explained 18 Fail, 2 Warning 20
- Closed loansEach column’s loan type, property, purpose, lien, reverse mortgage, QM and servicing lines agreeing, HOEPA loans, fees and loan sizes 34 Fail, 7 Warning 41
- MLO dataEach loan originator’s NMLS ID, count and amount 13 Fail, 1 Warning 14
- ReconciliationFor each state, loans closed and funded against total closed loans, loans brokered and funded, and the MLO totals 4 Fail, 2 Warning 6
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
- Stages 1–3 Prepare Detect headers and tidy the application, closed loan and MLO files
- Stages 4–6 Union Stack every file of each kind into one
- Stages 7–9 Check Turn blank lines into 0, work out the totals NMLS calculates, and run the rules for each file
- Stages 10–11 Totals by state Total closed loans and MLO loans for each state and quarter
- Stages 12–13 Join Add the totals to each state’s application row
- Stage 14 Reconcile Check loans closed and funded against the totals
What’s in the download
- The 81 rules as JSON, and a table of every rule with its formula and why
- Good data for a fictional lender’s quarter in five states, and test files with a filing built to fail each rule
- The number of rows each rule should flag on the test files
- A template file the Quantemplate build skill reads to build the pipeline and check the results
- A snapshot of the finished pipeline
The field definitions aren’t included. Download them from the NMLS Resource Center.
Build it
- Install the Quantemplate skills, version 1.0.0 or later, if you haven’t already. Then unzip the download.
- 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.
- 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
- Add three files each quarter: the application data, one row per state; the closed loans, one row per state for each of the Brokered, Closed-Retail and Closed-Wholesale columns; and the MLO data, one row per loan originator and state. Name the columns by MCR line, such as
AC020 CountandAC020 Amount. - Leave out the totals NMLS calculates. The pipeline works out AC066, AC090, AC190, AC290, AC390, AC590, AC790, AC890, AC990 and AC1290, and a blank line counts as 0.
- Upload one file per state if that’s easier. The Union stages stack them.
- Key the checked data from stages 7, 8 and 9 into NMLS, or turn it into the MCR’s XML upload. Explain anything the warnings raise in the state’s notes.
- Check each new MCR form version for changed line items. The latest year allowed is set in the download’s build script.
Contact the Quantemplate support team, or use your AI agent, to build custom logic for your use case.
Limits
- Only RMLA Section I is checked. Sections II and III, company-level servicing, the Supplemental State-Specific Form and the Financial Condition component aren’t.
- AC010 isn’t compared with the previous quarter’s AC080.
- Duplicate MLO rows, and closed loan or MLO rows for a state with no application row, aren’t found.
- The MLO totals check is a warning, because loans in the Closed-Wholesale column were originated by another company’s MLOs.
- NMLS doesn’t publish its Completeness Check as a list, so the rules follow the field definitions.
- The test data is fictional.
- The build doesn’t set up Auto Run, Auto Export or feeds.
- The agent works through the app in your browser, so changes someone makes in the app whilst it’s working can trip it up.