Lloyd’s v5.2 claims bordereaux
All territories
Checks coverholder claims bordereaux against Lloyd’s v5.2 claims template, and each claim against its policy’s premium.
From Lloyd’s Coverholder Reporting Standards v5.2: claims template
- 94validation rules
- 11pipeline stages
- 149columns
- 4 minto build and check
Build the premium bordereaux template first, in the same workspace. It reads that template’s binder terms and premium data.
See it in Quantemplate
The pipeline

The flow

The checked output

What it checks
94 rules 79 Fail 15 Warning
- Mandatory fieldsLloyd’s red claims fields aren’t blank 24 Fail 24
- Types and formatsCode lists, identifier formats and value ranges 9 Fail, 4 Warning 13
- Within a rowDates, statuses and amounts agree with each other 24 Fail, 2 Warning 26
- Against the binderThe claim fits its binding authority’s terms 8 Fail 8
- Premium and across rowsThe claim against its policy’s premium and other claims 4 Fail, 1 Warning 5
- Additional checksFurther checks adapted from the premium template 10 Fail, 8 Warning 18
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
- Stage 1 Prepare Tidy the claims bordereaux: headers, column names, text and dates
- Stage 2 Union Stack the claims bordereaux into one dataset
- Stage 3 Binder terms Clean the premium template’s binder terms
- Stages 4–5 Premium data Clean and stack the premium bordereaux
- Stages 6–7 Totals Premium by policy, and rows per claim in each period
- Stages 8–10 Joins Bring binder terms, premium totals and claim counts onto every row
- Stage 11 Validate Run the 94 rules
What’s in the download
- The 94 rules as JSON, and a table of every rule with its formula and notes
- Master schema data, and test bordereaux with rows built to fail each rule
- The number of rows each rule should flag on the test bordereaux
- A Claude skill that builds the pipeline and checks the results
- A snapshot of the finished pipeline and the scripts that build it from your browser
- Lloyd’s template the rules are generated from (© Lloyd’s)
Build it
- Build the premium bordereaux template first, in the same workspace.
- Unzip the download and copy the folder in
skillsinto~/.claude/skills/. - With Claude in Chrome signed in to Quantemplate, ask Claude Code:
Build the Lloyd’s v5.2 claims pipeline from the lloyds-v52-claims 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 the agent offers to click through the screens instead, which takes much longer. Review what the agent builds before you rely on it.
Using real bordereaux
- Point stage 4 at your real premium bordereaux. As supplied, it reads the premium template’s test data.
- Add your claims bordereaux as inputs to stage 1.
Contact the Quantemplate support team, or use your AI agent, to build custom logic for your use case.
Limits
Lloyd’s Risk Codeisn’t used in rules, because its apostrophe can’t go inside a rule. A Map Values step copies it intoRisk Code Giveninstead.- There’s no click-through build guide yet. The snapshot and
VALIDATIONS.mdhave every setting. - Column types are set by the build, not detected from your data. Choosing the master schema again makes Quantemplate detect them, which may change some types.
- 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.