Counterfoil has 2 different meanings across 1 category:
Noun
the part of a check that is retained as a record
the part of a cheque that is retained in the chequebook as a record; a stub