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

Validation rules for Office for Students (OfS)

Last updated:
03 September 2025

Rule name Version Status Error message
Header_3 1 Active

The UKPRN in the filename does not match the UKPRN in the Header

HEPostCode_01 1 Active

The HE centre location postcode should be a valid postcode on the list of complete UK postcodes table or be ZZ99 9ZZ

HEPostCode_02 1 Active

The Postcode must conform to the valid postcode format

Inconsistent UKPRN 1 Active

The UKPRN in the file name does not match the provider's UKPRN in the Submit Learner Data service

LearnActEndDate_01 1 Active

The Learning actual end date must be after the Learning start date

LearnActEndDate_04 1 Active

The Learning actual end date must be before the file preparation date

LearnAimRef_01 1 Active

The Learning aim reference is not a valid lookup on LARS

LearnAimRef_30 1 Active

The Learning aim reference is not valid for a programme aim

LearnAimRef_88 1 Active

The Learning aim reference is not valid in the LARS database for this Funding model and this Learning start date

LearnDelFAMDateFrom_01 1 Active

The Date applies from or the Date applies to must be returned for this FAM type

LearnDelFAMDateFrom_02 2 Changed

The Date applies from must be after the Learning start date

LearnDelFAMDateFrom_03 1 Active

The Date applies from must not be returned for this FAM type

LearnDelFAMDateFrom_04 1 Active

The Date applies from must be returned for this FAM type

LearnDelFAMDateTo_01 1 Active

The Date applies to must not be before the Date applies from for this FAM type

LearnDelFAMDateTo_02 6 Changed

The Date applies to should not be after the Learning planned end date

LearnDelFAMDateTo_03 2 Changed

The Date applies to must not be after the Learning actual end date

LearnDelFAMDateTo_04 1 Active

The Date applies to must not be returned for this FAM type

LearnDelFAMDateTo_05 1 Active

The Date applies to must not be after the Learning actual end date

LearnDelFAMType_01 2 Active

The Source of funding must be returned

LearnDelFAMType_04 1 Active

The FAM type and code is not valid

LearnDelFAMType_06 1 Active

The FAM type and code is not valid for this Learning start date

LearnDelFAMType_15 1 Active

This Learning delivery monitoring code must not be returned where the Learning actual end date is completed

LearnDelFAMType_16 1 Active

This Learning delivery monitoring code is not valid for this return

LearnDelFAMType_18 1 Active

There must not be more than one record with a FAM type of SOF, FFI, EEF, RES, ADL, ACL, AFL, ASL or FLN

LearnDelFAMType_22 1 Changed

The Full or co-funding indicator must not be returned for this Funding model

LearnDelFAMType_31 1 Active

There must not be more than six occurrences for the FAM type LDM

LearnDelFAMType_35 1 Active

The Advanced Learner Loans indicator must not be returned for this Funding model

LearnDelFAMType_36 1 Active

The Advanced Learner Loans indicator must be completed where the Advanced Learner Loans Bursary funding indicator has been returned

LearnDelFAMType_38 1 Active

The Advanced Learner Loans Bursary fund indicator is not required for this Funding model

LearnDelFAMType_63 1 Active

The Apprenticeship contract type must not be returned for this learning aim

LearnDelFAMType_109 1 Active

This programme type cannot be used for this source of funding indicator

LearnFAMType_01 1 Active

The FAM type and code is not valid

LearnFAMType_03 1 Active

The FAM type and code is not valid for this Learning start date

LearnFAMType_09 1 Active

There must not be more than one record with a FAM type of HNS, EHC, DLA, SEN, MCF, ECF or FME

LearnFAMType_10 1 Active

There must not be more than four records with a FAM type of LSR

LearnFAMType_11 1 Active

There must not be more than two records with a FAM type of EDF or NLM

LearnFAMType_14 1 Active

The learner must not have both a FAM type of SEN and EHC

LearningDeliveryHE_02 1 Active

A Learning Delivery HE record must be returned for this Source of funding

LearningDeliveryHE_03 2 Changed

A Learning Delivery HE record must be returned for this Source of funding

LearningDeliveryHE_06 1 Active

A Learning Delivery HE record must not be returned for this learning aim

LearningDeliveryHE_07 1 Active

A Learning Delivery HE record must be returned for this learning aim

LearningDeliveryHE_08 1 Active

A Learning Delivery HE record must be returned for this learning aim

LearningDeliveryHE_09 2 New

A Learning Delivery HE record must not be returned for this learning aim

LearnPlanEndDate_02 1 Active

The Learning planned end date must not be before the Learning start date

LearnPlanEndDate_03 1 Active

The Learning planned end date must not be 10 years or more after the Learning start date

LearnStartDate_02 1 Active

The Learning start date is more than 10 years before the start of the current teaching year

LearnStartDate_03 1 Changed

The Learning start date must not be after the end of the current teaching year

LearnStartDate_05 1 Active

The Learning start date must not be on or before the learner's Date of birth

LLDDCat_01 1 Active

The LLDD and health problem category is not a valid code

LLDDCat_02 1 Active

The LLDD and health problem category is not valid for this start date