Lloyd’s v5.2 Singapore premium bordereaux
Singapore
The premium template narrowed to the columns on Lloyd’s Singapore Risk tab, a 38-column risk register.
From Lloyd’s Coverholder Reporting Standards v5.2: Singapore Risk tab
- 46validation rules
- 12pipeline stages
- 38columns
- 4 minto build and check
Build the premium bordereaux template first, in the same workspace. It uses that template’s binder terms and written bordereau certificates.
See it in Quantemplate
The pipeline

The flow

The checked output

What it checks
46 rules 36 Fail 10 Warning
- Mandatory fieldsThe 14 red fields on this tab aren’t blank 14 Fail 14
- Types and formatsCode lists, identifier formats and value ranges 4 Fail, 4 Warning 8
- Within a rowDates, amounts and statuses agree with each other 1 Fail 1
- Against the binderTerritories, commission, dates and limits fit the binder 7 Fail 7
- Across rowsDuplicates, and returns against original premiums 3 Fail, 2 Warning 5
- Additional checksDates, currencies, signs, taxes and country fields 7 Fail, 4 Warning 11
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 bordereaux: headers, column names, text and dates
- Stage 2 Union Stack the bordereaux into one dataset
- Stage 3 Binder terms Clean each binding authority’s terms
- Stages 4–6 Totals Add up premium by policy, inception date and binder
- Stages 7–11 Joins Bring binder terms, totals and written certificates onto every row
- Stage 12 Validate Run the 46 rules
What’s in the download
- The 46 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 Singapore premium pipeline from the lloyds-v52-territories 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
- Replace the binder terms and written bordereau certificates with your own, keeping the column names.
- Add your risk registers as inputs to stage 1. Monthly files are stacked; an inception-to-date file replaces the one before.
- Lloyd’s Singapore Risk tab heads its expiry date column ‘Conditional’. Map it to Expiry Date of Transaction once, in stage 1’s Map Column Headers.
Contact the Quantemplate support team, or use your AI agent, to build custom logic for your use case.
Limits
- The Singapore Risk tab is a risk register, with no transaction type, premium paid, commission or settlement currency. The pipeline treats each row as its risk’s original premium, with amounts from Total gross written premium, so the duplicate-risk and binder premium checks still work.
- It leaves out 58 premium rules: every rule on a column the tab doesn’t have, including 6 of the 20 mandatory premium fields. It also leaves out X04 and A06, which apply only to return and additional premiums.
- Blank yellow fields aren’t reported, because every column on the Singapore Risk tab that isn’t mandatory is yellow.
- The premium template has no Singapore risks, so the clean test data is 12 generated rows on its wide-territory test binder, in the binder’s GBP currency.
- 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.