IA Financial Reporting Forms checks for Saudi insurers
Insurance Saudi Arabia
Checks the financial reporting forms a Saudi insurer files with the Insurance Authority, monthly, quarterly and annual, against 8,918 checks: every total the forms work out, every figure a form carries from another, and the IA’s own 232 cross-checks between forms. It also checks that each value is on a line and column of a form in the filing, that the period end suits the filing and that no cell is given twice.
From the IA’s Quarterly / Annual Financial Reporting Forms (version 2.1), Monthly Financial Reporting Forms (version 1.4) and Financial Reporting Forms Guidelines
- 13validation rules
- 17pipeline stages
- 8,918form checks
- 4 minto build and check
See it in Quantemplate
The pipeline

The test run’s checks

An IA cross-check

What it checks
13 rules 13 Fail
- FormsThe filing is monthly, quarterly or annual, and the form is one of the IA’s, part of the filing and has the line and column 4 Fail 4
- FormatThe period end is a month end, a quarter end for a quarterly filing and 31 December for an annual one, amounts are numbers, the company is given and no cell is given twice 6 Fail 6
- Form checksThe forms’ totals add up, figures carried from another form match and the IA’s 232 cross-checks pass, each to within 1 3 Fail 3
A rule set to Fail marks its rows as failed, and any failure blocks Auto Export if you set it up. Validation never removes a row. Every rule and its formula is listed in VALIDATIONS.md in the download.
How the pipeline works
- Stages 1–2 Prepare Clean each forms file, add the numbers and keys the checks use, and stack the files
- Stages 3–7 Reference data The cells, checks and check terms tables, each form’s cell count, and the rows given for each cell
- Stages 8–11 Check rows Bring each cell’s titles, its form’s filings and the counts onto every row, and run the 10 row checks. Output: every row of every filing
- Stages 12–13 Add up checks Match each value to the checks that read its cell, and add up each check for each company and filing
- Stages 14–15 Run checks Bring each check’s type, description and filings onto it, and run the 3 form checks. Output: each check for each company and filing
- Stages 16–17 Outputs Form rows checked and Form checks checked
The IA’s checks
The IA’s workbooks work out their own totals with formulas, and the quarterly and annual workbook’s Validation sheet, Form 103, lists 232 cross-checks between forms. The download’s scripts read both into data, kept in two reference datasets: IA Form Checks lists each check, and IA Form Check Terms lists the cells each check adds or takes away. Every check is a sum that should come to zero, within 1 for rounding.
Forms |
Within a form |
Across forms |
IA cross-checks |
|---|---|---|---|
Monthly, 11M to 21M, version 1.4 |
455 |
51 |
0 |
Quarterly and annual, version 2.1 |
7,633 |
16 |
228 |
Annual only: 55, 66, 67, 68, 72, 95 and 102 |
531 |
0 |
4 |
The IA’s cross-checks follow its Validation sheet: the left side less the right must be at least 0 and less than 1. Each check runs only on the kinds of filing that include every form it reads, so checks that read an annual-only form aren’t run on quarterly filings. The forms’ 634 formulas that aren’t sums, such as ratios, percentages, IF and MAX, are left out.
What’s in the download
- The 13 checks as JSON, and a table of every check with its formula, notes and source
- Three reference tables: every line and column of the 53 forms with their titles, the 8,918 form checks, and the cells each check adds or takes away
- Three filings by two fictional insurers, an annual, a quarterly and a monthly one, every check holding, and a test file with a case for each check
- The rows each check should flag on the test file
- A template file the Quantemplate build skill reads to build the pipeline and check the results
- A snapshot of the finished pipeline, and the Python scripts that read the IA’s workbooks and generate everything in the download
The IA’s workbooks aren’t included. Download the Quarterly / Annual and Monthly Financial Reporting Forms from the Financial Reporting Forms tab of the IA’s Apply for Licenses page. Both are Excel workbooks.
Build it
- Install the Quantemplate skills, version 1.0.0 or later, if you haven’t already. Then unzip the download.
- With Claude in Chrome signed in to Quantemplate, ask Claude Code:
Build the IA Financial Reporting Forms pipeline from the ia-saudi-forms folder. Test it with the test filings and the clean filings and compare the results with the expected ones.
- Claude creates the three reference datasets, uploads the test filings, builds the 17 stages and checks the test filings and the clean ones. 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 tells you what went wrong. Review what the agent builds before you rely on it.
Using your own filings
- Give your filings the same columns as the test file, one row per cell: Company, Filing, Period end, Form, Line, Column and Value. Several companies and filings can share a file, or have one each.
- Give Filing as Monthly, Quarterly or Annual. Use the IA’s form numbers, such as 11 or 12M, and the line codes and column letters printed on the forms: cell 11.32.A is form 11, line 32, column A. Lines are matched as numbers, so leading zeros can be left out.
- Give amounts in thousands of riyals, as on the forms, without commas or currency signs. Columns of names and descriptions, such as a reinsurer’s name and country, take text. Cells that don’t apply can be left out: they count as zero in the checks.
- Give the period end as yyyy-mm-dd, such as 2027-03-31: the month end for a monthly filing, the quarter end for a quarterly one and 31 December for an annual one.
- Upload each file and add it to stage 1’s inputs. Stage 2 stacks stage 1’s outputs with Linked Stages on, so nothing after it needs changing.
- In the Form checks checked output, Difference shows how far each check is from balancing, and Check gives it in the IA’s Form.Line.Column codes, such as 11.32.A = 21.91.A.
Contact the Quantemplate support team, or use your AI agent, to build custom logic for your use case.
Limits
- It covers the IA’s Financial Reporting Forms: the quarterly and annual forms, version 2.1, and the monthly forms, version 1.4. The risk indicator forms aren’t covered. When the IA publishes new versions, the download’s scripts read them again into new reference datasets.
- Forms 91, 92, 94, 96 and 101 have no line codes, so they aren’t covered: the shareholders, directors, company information and complaints, and the quarterly supervision fees.
- A form left out of a filing counts as zero, so checks that tie it to a form that is given can fail.
- The cells dataset has every line and column of each form, so it may hold a few that the form doesn’t use. A value given for one of those isn’t flagged.
- It doesn’t check the filing deadline, or whether the figures match your records.
- The two insurers in the test data are made up. Neither turned up as an insurer when we searched in December 2026.
- 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.