Module: Ea

Defined in:
lib/ea/validation/grid_reference_validator.rb,
lib/ea/validation.rb,
lib/ea/validation/version.rb,
lib/ea/validation/companies_house_name_validator.rb,
lib/ea/validation/companies_house_number_validator.rb

Overview

Validates a company number.

Valid numbers are:
  - two characters and 6 digits
  - 8 digits

A company number consists of eight digits. The first of these digits is usually a zero and because of this, in most cases only the last seven numbers are usually required to be noted. The certificate of incorporation of a new company will show only the last seven numbers although the company number is actually eight digits and has a leading zero which is omitted.

Defined Under Namespace

Modules: Validation