Function idvUTRDenormaliser

Description

This function denormalises a field that may be a UTR.

The algorithm is Remove any spaces.

 

If the resulting field is 10 characters long and numeric then this is taken to be the UTR and split to two groups of 5 separated by a space, otherwise the field is left as is.

 

Parameters

pInput The input tax reference
Returns The output adjusted identifier

 

  •