IFRS 17 measurement: a group of contracts, period by period
ifrs17-measurement.RmdRendered from docs/guides/ifrs17-measurement.qmd.
The code runs each time the site is built, so the output below is
current.
Use this guide when
You must measure a group of insurance contracts under IFRS 17 and roll it forward each reporting period: the fulfilment cash flows, the contractual service margin, a loss component when the group turns onerous, the insurance finance expense in profit or loss or in OCI, the premium allocation approach for short contracts, and a reinsurance contract held against the group.
This is the R twin of the Python guide ifrs17-measurement.md,
with the same sections and numbers.
Terms:
- Fulfilment cash flows (FCF): the present value of the future cash flows (outflows less inflows) plus the risk adjustment (RA) for non-financial risk.
- Contractual service margin (CSM): the unearned profit of the group. At recognition it is minus the FCF when that is negative, so no gain arises; it is released to profit as coverage is provided.
- Loss component: when the FCF exceed the CSM the group is onerous, the excess is a loss at once, and the loss component tracks it.
- Liability for remaining coverage (LRC) and for incurred claims (LIC): the two parts of the liability.
- General measurement model (GMM) and premium allocation approach (PAA): the full model, and the simplification for a coverage of a year or less.
- Locked-in curve: the discount curve at recognition, at which the CSM accretes. The current curve measures the FCF at each period end.
The figures below are the IFRS Foundation’s Illustrative Examples 1
and 2
(knowledge/references/ifrs17-illustrative-examples.md). The
PAA and the reinsurance sections use cases worked by hand; the library’s
tests match the PAA’s Example 10 and the reinsurance Examples 11 and 12A
to 12C. The design note is
docs/design/reserving-ifrs17-measurement.md.
How the numbers here are checked. CI
(R/prospicio/tests/test-guides.R) runs each chunk that has
a text block after it and compares its output with that text.
1. Recognition
A group is built from its expected cash flows by future period, the
next period first, its RA and the locked-in curve. Premiums fall at the
start of a period and claims at its end unless you say otherwise
(premium_timing = "mid", for example). Example 1A: a
premium of 900 at once, claims of 200 a year for three years, 5%, an RA
of 120.
library(prospicio)
curve <- discount_curve(1, 0.05)
expected <- list(premiums = c(900, 0, 0), claims = c(200, 200, 200))
group <- ifrs17_group(expected, 120, curve)
b <- group@balances
cat(sprintf("%-24s %7.1f\n", names(b), unlist(b)), sep = "")## present_value -355.4
## present_value_locked_in -355.4
## present_value_allocated -355.4
## risk_adjustment 120.0
## csm 235.4
## loss_component 0.0
## liability 0.0
## accumulated_oci 0.0
The present value is the outflows less the inflows: 545 less 900. The FCF of -235 (-355 plus the RA of 120) are a profit not yet earned, so the CSM is 235 and the liability at recognition is nil. Example 1B’s claims of 400 a year make the group onerous from the start:
onerous <- ifrs17_group(list(premiums = c(900, 0, 0), claims = rep(400, 3)), 120, curve)
b <- onerous@balances
cat(sprintf("CSM %.0f, loss component %.0f, liability %.0f\n", b$csm, b$loss_component, b$liability))## CSM 0, loss component 309, liability 309
2. A year rolled forward
roll_forward() takes what happened in the period
(as_expected() gives the period’s cash flows as expected),
the expected cash flows that remain, and the RA at the period end. It
changes the group in place and returns the period: the profit or loss
lines and two reconciliations as data frames, by component (present
value, RA, CSM) and by coverage (the LRC excluding and including the
loss component, and the LIC).
year1 <- roll_forward(group, as_expected(group), list(claims = c(200, 200)), 80)
rec <- year1$by_component
cat(sprintf("%-26s %7s %6s %6s\n", "", "PV", "RA", "CSM"))## PV RA CSM
cat(sprintf("%-26s %7.0f %6.0f %6.0f\n", rec$line, rec$present_value + 0, rec$risk_adjustment + 0,
rec$csm + 0), sep = "")## opening 0 0 0
## new_contracts -355 120 235
## future_service 0 0 0
## csm_recognised 0 0 -82
## risk_expired 0 -40 0
## experience_adjustments 0 0 0
## finance_expenses 27 0 12
## premiums_received 900 0 0
## claims_and_expenses_paid -200 0 0
## acquisition_paid 0 0 0
## closing 372 80 165
This is Example 2’s first year: the CSM accretes 12 at the locked-in 5%, a third of the 247 is released for the year’s coverage (82), and it closes at 165; the liability closes at 617. The statement of profit or loss:
for (name in c("insurance_revenue", "insurance_service_expenses", "insurance_service_result",
"finance_expenses", "profit")) {
cat(sprintf("%-28s %6.1f\n", name, year1[[name]]))
}## insurance_revenue 322.4
## insurance_service_expenses 200.0
## insurance_service_result 122.4
## finance_expenses 39.0
## profit 83.4
The revenue is the claims expected for the year (200), the RA released (40) and the CSM released (82); the claims incurred are the expense; the finance expense is the unwinding of the present value (27) and the CSM’s accretion (12).
3. Saving the group for next period
A group holds its state, so the one rolled forward this quarter is
saved and rolled forward next quarter. ifrs17_to_json()
writes versioned JSON with every number exact, the same document
Python’s to_json() writes; a group read back with
ifrs17_from_json() rolls forward to the same numbers.
saveRDS() does not keep the state.
saved <- ifrs17_to_json(group)
again <- ifrs17_from_json(saved)
cat(sprintf("periods rolled forward %d, same balances: %s\n", as.integer(again@period),
identical(again@balances, group@balances)))## periods rolled forward 1, same balances: TRUE
4. A change in estimates: the group turns onerous
In year 2 the claims expected for year 3 double to 400. A change that relates to future service adjusts the CSM; once the CSM is used up, the rest is a loss at once, and a loss component is set up on the LRC.
year2 <- roll_forward(group, as_expected(group), list(claims = 400), 60)
cat(sprintf("CSM released %.1f, onerous losses %.1f\n", year2$csm_released, year2$onerous_losses))## CSM released 0.0, onerous losses 37.5
cat(sprintf("insurance service result %.1f, profit %.1f\n", year2$insurance_service_result,
year2$profit))## insurance service result 2.5, profit -24.3
closing <- year2$closing
cat(sprintf("closing CSM %.1f, loss component %.1f\n", closing$csm, closing$loss_component))## closing CSM 0.0, loss component 37.5
The present value of the extra 200, a year away, is 190.5, and the RA
for the remaining year is 20 more than the 40 left; the CSM after its
accretion (173.0) absorbs 173.0 of that 210.5, and the 37.5 left is the
loss. The loss component is then released over the remaining coverage
against the claims as they are incurred
(loss_component_share), so that it is not counted as
revenue.
5. The OCI option
With oci = TRUE the insurance finance expense in profit
or loss is the expense at the locked-in curve, and the difference from
the current curve goes to other comprehensive income. Give the
period-end curve as current_curve:
oci <- ifrs17_group(expected, 120, curve, oci = TRUE)
y <- roll_forward(oci, as_expected(oci), list(claims = c(200, 200)), 80,
current_curve = discount_curve(1, 0.03))
cat(sprintf("finance expense %.1f: in profit %.1f, in OCI %.1f\n", y$finance_expenses,
y$finance_expenses_in_profit, y$finance_expenses_in_oci))## finance expense 49.8: in profit 39.0, in OCI 10.8
cl <- y$closing
cat(sprintf("present value %.1f current, %.1f locked in; accumulated OCI %.1f\n",
cl$present_value, cl$present_value_locked_in, cl$accumulated_oci))## present value 382.7 current, 371.9 locked in; accumulated OCI -10.8
The rate fell from 5% to 3%, which raises the present value of the
two years of claims left by 10.8. Without the option that 10.8 is
finance expense in profit; with it, profit sees the 39.0 of section 2
and the 10.8 goes to OCI, where it is accumulated and recycled as the
group runs off. A change in the cash flows themselves caused by a
financial assumption (Example 6’s crediting rate) is given as
financial_revision.
When financial risk changes the cash flows themselves, IFRS 17 allows
two other allocations to profit (B132(a)): an effective yield, one
constant rate revised at each period end so that the carrying amount
accretes to the revised cash flows
(allocation = "effective_yield"), and the crediting rates
of each period times a constant
(allocation = "projected_crediting", with
crediting_rates at recognition and, in each period, the
rate credited and those expected after it). Example 15: a single premium
of 1,500 and 1,890 due after three years at 10%; after year 1 the rate
falls to 5% and the payment is revised to 1,802. The profit is the
finance expense on the cash flows, the CSM’s accretion left out, as the
example leaves it:
example_15 <- list(premiums = c(1500, 0, 0), claims = c(0, 0, 1890))
revised <- list(premiums = c(1500, 0, 0), claims = c(0, 0, 1802))
for (allocation in c("locked_in", "effective_yield", "projected_crediting")) {
crediting <- allocation == "projected_crediting"
g <- ifrs17_group(example_15, 0, discount_curve(1, 0.10), oci = TRUE, allocation = allocation,
crediting_rates = if (crediting) rep(0.08, 3))
years <- list(
roll_forward(g, list(premiums = 1500), list(claims = c(0, 1802)), 0,
current_curve = discount_curve(1, 0.05), financial_revision = revised,
crediting_rates = if (crediting) c(0.08, 0.08, 0.03)),
roll_forward(g, list(), list(claims = 1802), 0, current_curve = discount_curve(1, 0.05)),
roll_forward(g, list(claims = 1802), list(claims = numeric(0)), 0)
)
profit <- sapply(years, function(y) {
bc <- y$by_component
y$finance_expenses_in_profit - bc$csm[bc$line == "finance_expenses"]
})
oci <- sapply(years, function(y) y$finance_expenses_in_oci)
cat(sprintf("%-20s profit %s OCI %s\n", allocation, paste(sprintf("%6.1f", profit), collapse = " "),
paste(sprintf("%6.1f", oci), collapse = " ")))
}## locked_in profit 69.3 148.9 163.8 OCI 145.2 -67.2 -78.0
## effective_yield profit 142.0 115.7 124.3 OCI 72.5 -34.0 -38.5
## projected_crediting profit 142.0 156.0 84.1 OCI 72.5 -74.2 1.8
The total is the same in each, 214.5, 81.7 and 85.8 (the example,
rounding each present value first, prints 215, 81 and 86, and 142, 116
and 124 for 15A and 142, 156 and 84 for 15B), and the OCI sums to nil
over the three years. The locked-in curve puts the revision to 1,802 in
year 1’s profit; the other two move the rates of the years to come
instead, 7.41% a year for the effective yield
(allocation_rates).
6. The premium allocation approach
Under the PAA the LRC is the premium received less the revenue
recognised, the acquisition cash flows amortised with it (or expensed at
once, with expense_acquisition = TRUE), and the LIC is
measured as under the GMM: give its present value and RA at each period
end, from discounted_reserves() or any reserving model. A
one-year coverage written in two halves:
paa <- paa_group(1000, 100, c(1, 1), lic_curve = curve)
inputs <- list(c(1000, 100, 300, 200, 100, 10), c(0, 0, 600, 650, 50, 5))
for (x in inputs) {
p <- roll_forward(paa, x[1], x[2], x[3], x[4], x[5], x[6])
cat(sprintf(paste0("period %d: revenue %.0f, claims %.0f, past service %.0f, acquisition %.0f, ",
"finance %.0f, profit %.0f, liability %.0f\n"),
as.integer(p$period), p$insurance_revenue, p$incurred_claims, p$past_service,
p$acquisition_expense, p$finance_expenses, p$profit, p$closing$liability))
}## period 1: revenue 500, claims 300, past service 10, acquisition 50, finance 0, profit 140, liability 560
## period 2: revenue 500, claims 600, past service -10, acquisition 50, finance 5, profit -145, liability 55
The revenue follows the pattern (half the premium each half), and so
does the acquisition expense. Past service is the change in the LIC
beyond the claims incurred and paid: the first half sets up its RA (10);
in the second half that RA is released and the estimate of the first
half’s claims falls, together -10, while the opening LIC unwinds at the
lic_curve (5 on 100). When the facts show the group is
onerous, give remaining_fulfilment, the FCF of the
remaining coverage, and the excess over the LRC is a loss component, as
under the GMM.
7. A reinsurance contract held
A reinsurance contract held is an asset measured the same way from the ceded premiums and the expected recoveries, with an RA for the risk transferred. Its CSM is the net cost (or net gain) of buying the cover, and it is not limited at nil: a net cost is deferred too. A 30% quota share on the group of section 1, recognised with the group it covers:
gross <- ifrs17_group(expected, 120, curve)
held <- reinsurance_held(list(premiums = c(280, 0, 0), recoveries = c(60, 60, 60)), 36, curve,
underlying = list(gross), shares = 0.3)
b <- held@balances
cat(sprintf("PV %.1f, RA %.1f, CSM %.1f, asset %.1f\n", b$present_value, b$risk_adjustment,
b$csm, b$asset))## PV -116.6, RA 36.0, CSM 80.6, asset 0.0
The present value is the recoveries less the premium (163.4 less 280); with the RA of 36 the cover costs 80.6 net, which is the CSM, released as the cover is provided. Each period the held contract is rolled forward after the groups it covers, which it reads for their onerous losses: when a group turns onerous, the held contract recognises its share of the loss at once as a loss-recovery component, which offsets the gross loss in profit.
invisible(roll_forward(gross, as_expected(gross), list(claims = c(200, 200)), 80))
invisible(roll_forward(held, as_expected(held), list(recoveries = c(60, 60)), 24,
underlying = list(gross)))
gross_year2 <- roll_forward(gross, as_expected(gross), list(claims = 400), 60)
year2 <- roll_forward(held, as_expected(held), list(recoveries = 120), 18, underlying = list(gross))
cat(sprintf("gross onerous loss %.2f, loss recovered %.2f\n", gross_year2$onerous_losses,
year2$loss_recoveries))## gross onerous loss 37.49, loss recovered 11.25
cat(sprintf("allocation of premiums %.1f, amounts recovered %.1f, net expense %.1f\n",
year2$allocation, year2$recovered, year2$net_expense))## allocation of premiums 75.7, amounts recovered 71.2, net expense 4.4
cat(sprintf("closing CSM %.1f, loss-recovery component %.2f\n", year2$closing$csm,
year2$closing$loss_recovery))## closing CSM 3.7, loss-recovery component 11.25
The recovery is 30% of the gross loss of 37.49. The reinsurer’s risk
of non-performance is set with default_probability and
loss_given_default: it reduces the asset, and every change
in it goes to profit.
See also
-
reserving-methods.md, section 11: the LIC’s present value and RA from a reserving model, with the confidence level -
esg-multi-year-projection.qmd: discount curves and inflation simulated for a multi-year projection