← All projects

Professional work

IFRS 17 Data Pipeline

Source data to final report. Contributed to the ETL and reporting pipeline behind an insurer's IFRS 17 transition.

Overview

IFRS 17 changed how insurers report insurance contracts. The standard asks for results that are built up from policy and financial data, grouped and measured in a prescribed way, and then explained in disclosures. That raises a data problem before it raises an accounting one: every reported figure depends on inputs that must be complete, consistent and traceable.

This project supported an insurer's transition by automating the path from source data to the final report. This page describes it as what it is at heart, a data pipeline with an ETL core and a reporting layer on top.

The description is about the software workflow. It is not a claim that the pipeline itself establishes accounting or regulatory compliance.

The pipeline at a glance

  1. 01ExtractSource data enters through the Excel interface
  2. 02ValidateChecks run before anything is trusted
  3. 03TransformData is reshaped into reporting structures
  4. 04LoadResults return to the reporting workbook
  5. 05ReportThe final report is assembled

An Excel-based interface sat at the front, so finance and actuarial users stayed in a tool they already knew. The heavier processing ran on cloud-hosted infrastructure, written in Python and R and hosted on Google Cloud Run. The interface used VBA and Office JS to connect the two.

Why a pipeline and not a spreadsheet

A reporting workbook that mixes inputs, logic and outputs is hard to audit. A change to one cell can alter a result without leaving a trace, and the same steps run by hand twice rarely give identical answers. Separating the stages changes that. Each stage has one job, a defined input and a defined output, which makes it testable, repeatable and easy to reason about when a number looks wrong.

Stage by stage

1. Extract

Extraction is the point where data enters the system, so it is also where the first questions get asked. How much arrived? Does it match what the source said it sent? Capturing simple facts here, such as row counts and the fields present, gives every later stage something to reconcile against.

2. Validate

Validation is the stage that protects everything after it. Rules check that values have the right type and fall in a sensible range, that mandatory fields are filled, that identifiers are not duplicated, and that related fields agree with each other. The design principle is to fail early and say why: a clear rejection at this point is far cheaper than a plausible but wrong figure in a final report.

3. Transform

Transformation turns validated records into the structures the report needs. This is where data is cleaned, standardised, joined and reshaped. It is also where silent loss and silent duplication happen, so each reshaping step is a candidate for a control total: the sums going in and the sums coming out should agree, or the difference should be explainable.

4. Load

Loading hands the processed results to the place where they are used. Here, results return to the Excel interface, where the reporting workflow picks them up. The integration between that interface and the cloud processing is what lets a familiar workbook drive a pipeline it does not contain.

5. Report

The final report is the product of the whole pipeline, and its quality is bounded by the stages before it. This is where the work stops being about moving data and starts being about explaining it.

The questions each stage answers

One useful way to design a pipeline like this is to treat every stage as answering a specific question about the data, and to attach a check to it.

StageQuestionTypical check
ExtractDid all of the data arrive?Row counts and expected fields against what was supplied.
ValidateIs the data fit to use?Types, ranges, mandatory values, duplicates and consistency between related fields.
TransformIs it in the right shape, and did anything go missing?Control totals before and after each reshaping step.
LoadDoes what came back match what went in?Reconciling output totals to the validated input.
ReportCan every figure be traced?Each reported number maps back to a source and a rule.

The table describes the design approach for a pipeline of this kind. Specific rules and thresholds used on the project are client-specific and are not published.

The final report

IFRS 17 reporting is analytical by nature. Rather than a single total, it is a set of figures that have to be explained: how a balance moved between opening and closing, how contracts were grouped, and how the result for providing insurance cover separates from financing effects. A report like that is only as convincing as the data lineage underneath it.

That is why the reporting layer is built to depend on the pipeline's controls. When the input has been reconciled, the transformations have been checked and every figure can be traced to a source and a rule, a reviewer can spend their time on the substance of the numbers instead of on whether the numbers can be trusted.

My contribution

  • Data validation and transformation. The checking and reshaping stages in the middle of the pipeline.
  • Interface integration. Connecting the Excel interface to the backend processing, using VBA and Office JS on one side and Python and R services on the other.
  • Reporting support. Work that supported the financial reporting workflows the pipeline fed.

What I took from it

The lasting lesson is that in financial reporting the pipeline is part of the audit trail. Treating data quality as a series of explicit, testable questions, and keeping a familiar interface on top of an inspectable engine underneath, is an approach I still bring to the tools I build.

Hand-siphon for Greek fire, medieval illumination

ABOUT THE IMAGE

Hand-siphon for Greek fire, medieval illumination

Date
9th or 11th century AD
Rights
Public domain claim (jurisdiction may vary)

Historical context

This manuscript illustration shows a hand-siphon firing Greek fire from a siege tower towards defenders on a wall. It belongs to the Byzantine military-technology tradition; the source identifies the manuscript as Codex Vaticanus Graecus 1605, but its dating is uncertain.

View original source and rights ↗

The article cover is a cropped, tinted adaptation of this image.