IT3(b) investment income data for SARS

Finance and banking South Africa

Checks a South African financial institution’s IT3(b) investment income data against SARS’s requirements before it’s submitted: every field of the four record types, and that account holders, partners, financial data and withholding tax on interest link up.

From SARS’s business requirements specification for IT3 data submission, version 4.0.0D-10

IT3(b) investment income data for SARS
Rules, SARS’s code tables, test files and a pipeline snapshot. Zip, 64 KB.
Download the template

See it in Quantemplate

The pipeline

The SARS IT3(b) Investment Income Data pipeline in Quantemplate: stages 1 to 12 of 15 listed, from Prepare account holders to Check financial data, with the four test files uploaded to stages 1 to 4, one for each record type.

The checks

The run’s validation report for the Check account holders stage on the broken test files: the first 11 account holder rules, H01 to H11, each with 1 to 3 rows failed, such as H09, South African ID numbers have 13 digits and a valid check digit, with 3 rows failed.

The checked financial data

Stage 12’s output on the clean test files, 17 financial records, each with its record status, unique number, holder’s I3B unique number, source code, account number, account type, Sharia indicator, joint account flag and monthly credits. A partnership’s account with no income has no source code and 0.00 credits, and an account with no number reads NO ACCOUNT NUMBER with account type 23.

What it checks

80 rules 76 Fail 4 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 is listed in plain English in it3b-validations.txt in the download.

How the pipeline works

  1. Stages 1–4 Prepare Clean each of the four files, put codes in upper case and add the columns the checks need, such as ID and tax number check digits
  2. Stages 5–6 Counts Stack the four files and count each account holder’s records, partners and FICA status
  3. Stages 7–8 Account holders Add the counts to each holder, then run the 27 holder rules
  4. Stages 9–14 Linked records Join partners, financial data and withholding tax records to their holders, then check each
  5. Stage 15 Unique numbers Count the records with each unique number and check it appears once in its file

What’s in the download

The specification isn’t included. Download it from SARS’s IT3 data submission 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 SARS IT3(b) investment income data pipeline from the sars-it3b folder. Test it with the broken and clean files and compare the results with the expected ones.
  3. Claude creates the pipeline, uploads the four test files, builds the 15 stages and checks both sets of test files. 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 IT3(b) data

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

Limits