SAM quarterly return: life policy movements

Insurance South Africa

Works out sheets M1.1 and M2.1 of the SAM quarterly return, the number of policies and recurring premiums for individual business, from a life insurer’s policy listings. It checks each policy’s status, dates and premiums against its movement, that the movements explain the change from the start of the quarter to the end, and that the start matches last quarter’s end.

From the Prudential Authority’s Quarterly Solo Quantitative Reporting Template v3, sheets M1.1 and M2.1, and their formulas for the end of the quarter

SAM quarterly return: life policy movements
Checks, a products table, last quarter’s figures, two fictional policy listings, test listings and a pipeline snapshot. Zip, 74 KB.
Download the template

See it in Quantemplate

The pipeline

The SAM life policy movements pipeline in Quantemplate: all 13 stages listed, from Read policies to M1.1 and M2.1, with link lines between them. The test run’s Outputs tab lists its two outputs: Policies checked with 702 rows and M1.1 and M2.1 with 18.

The test run’s checks

Part of the validation report for the two test policy listings, in the Check policies stage. The checks that a policy number is given, that the product is in the products dataset and is individual business, and that the premium type, in-force flags, movement code, quarter end and dates are valid each fail 1 row. The check that each policy number appears once fails 2, the duplicate’s two rows. The checks that a movement falls in the quarter, that a maturity falls in the quarter of the maturity date and that a policy in force hasn’t passed its maturity date each warn on 1.

The M1.1 and M2.1 output

The M1.1 and M2.1 output from the test run, with a profile of each column above it: 18 rows, one for each line of business and premium type, with its name, template row, premium type, the quarter end 30 September 2026, and its policies at the start, new policies, death claims, disability and health terminations and maturities. Rows 16 and 17 come from test cases: a group line of business and a MONTHLY premium type.

What it checks

23 rules 12 Fail 11 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–2 Read policies Remove blank rows, detect the header, add each file’s name and stack the listings
  2. Stages 3–6 Products and counts Match each policy to its product and line of business, and count the rows for each policy number
  3. Stages 7–8 Check policies Work out each policy’s share of every M1.1 and M2.1 column, and run the 19 policy checks. Output: every policy
  4. Stages 9–11 Movements Total the policies by line of business and premium type, and bring in last quarter’s figures
  5. Stages 12–13 M1.1 and M2.1 Check that the movements explain the end of the quarter and that the start matches last quarter, and run the 4 total checks. Output: one row per line of business and premium type, with premiums in R’000

The policy listing’s columns

Each policy administration system gives a policy listing for the quarter as a CSV file, with one row per policy. A policy number appears once across all the files.

Column
What it holds
Policy Number
The policy’s number
Product Code
Your product code, as in the products dataset
Premium Type
RECURRING or SINGLE
Quarter End
The last day of the quarter, as yyyy-mm-dd, such as 2026-09-30
In Force at Start
Y if the policy was in force at the start of the quarter, otherwise N
Start Premium
The annual recurring premium in rand at the start of the quarter. Blank for a single premium policy or one not in force
Movement
What changed the policy in the quarter, as one of the codes below. Blank for no movement
Movement Date
The date of the movement, as yyyy-mm-dd
In Force at End
Y if the policy is in force at the end of the quarter, otherwise N
End Premium
The annual recurring premium in rand at the end of the quarter
Maturity Date
The policy’s maturity or end date, as yyyy-mm-dd. Blank for a policy with none

Each movement code counts towards a column of M1.1 and M2.1. Codes and the Y and N flags can be in any case: the pipeline trims them and puts them in capitals.

Movement
Column on M1.1 and M2.1
NEW
New policies
DEATH, DISABILITY, HEALTH
Death claims, disability terminations and health terminations
MATURITY, SURRENDER, LAPSE
Maturities, surrenders and lapses
TRANSFER IN, TRANSFER OUT
Transfers in terms of the Act: a transfer in is added and a transfer out is taken off
EXPIRY
Policies expired
PREMIUM CHANGE
Premium increases or decreases, on M2.1 only
PAID-UP
Paid-ups, on M2.1 only
OTHER
Other movements: the change from the start of the quarter to the end

What’s in the download

The PA’s quarterly template isn’t included. Download the current version from the PA’s insurer returns page.

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 SAM life policy movements pipeline from the sam-life-movements folder. Test it with the test policy listings and the clean ones and compare the results with the expected ones.
  3. Claude creates the products and previous quarter datasets, uploads the two test listings, builds the 13 stages and checks the test listings and the clean ones. 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 your own policy data

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

Limits