NC Reinsurance Facility cessions and accounting
Insurance United States
Checks a member company’s cessions to the North Carolina Reinsurance Facility and its monthly premium and loss records before they’re sent, matches every premium and loss to its cession and to earlier months’ records, and balances the detail to the summary records as the Facility does.
From the NCRF Standard Practice Manual, March 2026 distribution.
- 98validation rules
- 26pipeline stages
- 54record fields
- 4 minto build and check
See it in Quantemplate
The pipeline

The validations

The balancing

What it checks
98 rules 94 Fail 4 Warning
- CessionsCodes, dates, the policy term, mid-term cession dates, limit codes, duplicate cessions, policies not taken, and premium written reported within five months of cession 25 Fail, 1 Warning 26
- Accounting detailEach account’s fields and codes, credits and reserves, dates within the policy term, each premium and loss matched to its cession and summary record, and checked against earlier months’ premiums, cancellations, reinstatements and loss payments 54 Fail, 2 Warning 56
- Summary recordsAccount and designated codes, quarter-end reserves, interest and refunds 13 Fail 13
- BalancingDetail against each summary record, within the Facility’s $500 and 5% tolerance 2 Fail, 1 Warning 3
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 every month’s cessions, detail and summary files
- Stages 4–6 Union Stack every file of each kind into one
- Stages 7–10 Keys and history Work out each policy’s term, month of cession and key, add keys to the detail, and find the months loaded and each policy’s premiums, cancellations and reinstatements
- Stages 11–15 Check cessions Join the months loaded, policy history and cession counts to each cession, and run the cession rules
- Stages 16–20 Totals Total the cessions by policy and each kind of transaction by month, check the summary records, and total detail and summary by account
- Stages 21–24 Check detail Match each premium and loss to its cession, earlier transactions and summary record, and run the detail rules
- Stages 25–26 Balance Join the detail totals to each summary record and check they balance
What’s in the download
- The 98 rules as JSON, and a table of every rule with its formula and why
- Good data for a fictional member company’s monthly files from May to September 2026, and test files for the same months 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 manual isn’t included. Download it from the North Carolina Reinsurance Facility.
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 NC Reinsurance Facility pipeline from the ncrf-cessions-accounting folder.
- Claude creates the datasets and stages, runs the test data and checks every rule’s result. This takes around 4 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 month: the cession notices, the accounting detail records and the summary records, with columns named after the fields in the Facility’s FTP layouts, such as
Account Code,Effective YearandPolicy Number. - Give amounts in dollars and cents, such as
-12.31. Convert signed numerics, such as000000000123J, first. - Keep every month’s files in the pipeline. Each month is checked against the months before it, as the Facility checks its masterfile, from the earliest month loaded. Load as many earlier months as you have, and the cessions for any policy ceded before them, as every premium and loss must match a cession.
- Tick each new upload in stage 1, 2 or 3. The Union stages stack them, so a supplemental file can go in beside the regular one.
- Send the checked records in the Facility’s fixed-width layouts by FTP, or enter them in EDGE. Correct anything a Fail rule flags first: an out-of-balance file over the tolerance is rejected.
Contact the Quantemplate support team, or use your AI agent, to build custom logic for your use case.
Limits
- The checks against earlier months start with the earliest month loaded. Policies ceded, and accidents that happened, before that month are left out of them, as their earlier records may not be loaded.
- Each cancellation and reinstatement is compared with the latest one on the policy, so a policy cancelled, reinstated and cancelled again has its first cancellation flagged.
- The four-year check on late-reported losses is a warning, because an earlier record for the claim may be in a month that isn’t loaded.
- Recoupment records and the outside legal expenses detail aren’t included, so outside legal expenses (023) aren’t balanced.
- Whether the company is a designated carrier isn’t checked, as that list isn’t published.
- The pipeline reads the layouts’ fields as columns, not the fixed-width file itself.
- 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.