British Rail coach type codes
British Railways coach designations were a series of letter-codes used to identify different types of coaches, both passenger carrying and non-passenger carrying stock (NPCS). The code was generally painted on the end of the coach but non-gangwayed stock had the code painted on the side.
Source: Wikipedia — British Rail coach type codes (CC BY-SA 4.0)