E. Cobham Brewer 18101897. Dictionary of Phrase and Fable. 1898.
Thats the Ticket.
Thats the right thing to do; generally supposed to be a corruption of Thats the etiquette, or proper mode of procedure, according to the programme; but the expanded phrase Thats the ticket for soup seems to allude to the custom of showing a ticket in order to obtain a basin of soup given in charity.