1. Home
  2. Validation rules
  3. Validation rules by category

Validation rules for Office for Students (OfS)

Last updated:
22 October 2026

Rule name Version Status Error message
QUALENT3_02 1 Active

The Qualification on entry is not a valid code

QUALENT3_03 1 Active

The Qualification on entry is not a valid code for this Learning start date

R_06 1 Active

There must not be more than one Learner record with the same Learner reference number

R_07 1 Active

There must not be more than one Learning Delivery record with the same Learner reference number and Aim sequence number combination

R_31 1 Active

An open programme must have an associated learning aim with the same Programme type and Standard code

R_43 1 Active

The learner must not have more than one Learner Employment status record with the same Date employment status applies

R_45 1 Active

The learner must not have more than one LLDD and Health Problem record with the same LLDD and health problem category

R_49 1 Active

The learner must not have more than one Learner Provider Specified Monitoring record with the same occurrence code

R_50 1 Active

The learner must not have more than one Learning Delivery Provider Specified Monitoring record with the same occurrence code

R_51 1 Active

The learner must not have more than one Learner Funding and Monitoring record with the same FAM type and code

R_52 1 Active

The learner must not have more than one Learning Delivery Funding and Monitoring record with the same FAM type and code

R_59 1 Active

The ILR file should not have more than one record with the same ULN

R_61 1 Active

The learning aim must not have more than one Learning Support Funding record at the same time

R_67 1 Active

The learner must not have more than one Learning Delivery Work Placement record with the same Work placement start date and Work placement employer identifier

R_96 1 Active

The learner must not have more than one Learning Delivery Work Placement record with the same Work placement start date

R_97 1 Active

The learner must not have consecutive Learner Employment status records with the same Employment status, Employer identifier, Agreement Identifier and Employment Status Monitoring

R_106 1 Active

There must not be more than one LSF record at the same time

R_110 1 Active

The employment status is not valid for this apprenticeship contract type

R_131 1 Changed

There must be a prior attainment record matching the earliest learning aim start date for the learner

R_132 1 Active

Learner must be unemployed or return LDM 382 'Free Courses for Jobs (Level 3 Offer) for Low Wage Learners'

R_134 1 Active

The programme type must be Skills Bootcamps for this Employment Status Monitoring Type

R_135 1 Active

Skills Bootcamp component aims must have a corresponding programme aim with the same combination of funding model, programme type and contract reference number

R_136 1 Active

Skills Bootcamp component aims must have a corresponding programme aim with the same combination of funding model, programme type and contract reference number

R_138 1 Active

The achievement date or an event learning aim for Skills Bootcamps (Z0059747, Z0059748, Z0059749) needs to be present in the learning delivery record

R_139 1 Active

At least one subject learning aim must be closed if the Skills Bootcamp programme has been completed.

SEC_01 1 Active

The Socio-economic classification is not a valid code

SEC_02 1 Active

The Socio-economic Classification must be returned for this learning aim

Sex_01 1 Active

The Sex is not a valid code

SOC_02 1 Active

The Occupation code must be returned for this learning aim

SOC_04 1 Active

The Occupation code is not a valid code

SPECFEE_01 1 Active

This Special fee indicator is not valid

SPECFEE_02 1 Active

The Special fee indicator is not valid for this Mode of study

SSN_02 1 Active

The Student support number does not pass the checksum calculation

SSN_03 5 Changed

As the Student Support Number has not been recorded then the Net Tuition Fee and Gross Tuition Fee should be returned

STULOAD_04 1 Active

The Student instance FTE must be returned for this learning aim

SWSupAimId_01 1 Active

The Software supplier aim identifier is not in the correct format

TTACCOM_01 1 Active

The Term time accommodation is not a valid code

TTACCOM_02 1 Active

The Term time accommodation is not a valid code for this Learning start date

TTACCOM_04 1 Active

The Term time accommodation must be returned for this learning aim

TYPEYR_01 1 Active

The Type of instance year is not a valid code

TYPEYR_02 1 Deleted

The Type of instance year is not valid for this Completion of year of instance

UCASSCHEMECODE_01 1 Active

The UCAS scheme code must be returned for this learning aim

UCASSCHEMECODE_02 1 Active

The UCAS Scheme code must be two alphabetic characters followed by two numeric digits.

UKPRN_03 1 Active

The UKPRN is not the same as recorded in the Header

ULN_04 1 Active

The Unique learner number does not pass the checksum calculation

ULN_05 1 Active

The Unique learner number is not valid

WithdrawReason_02 1 Active

The Withdrawal reason is not a valid code

WithdrawReason_03 1 Active

The Withdrawal reason must be returned for this Completion status

WithdrawReason_04 1 Active

The Withdrawal reason must not be returned for this Completion status

WithdrawReason_05 1 Active

The Withdrawal reason is only valid for OLASS - Offenders in custody