the stub of a check, postal money order, receipt, etc. kept by the issuer as a record of the transaction
Origin of counterfoilcounter- + foil
A stub retained by the issuer of a receipt or other document as a record of a transaction.
counter- + foil