Brain-Teaser 768: Bus ticket numbers

From The Sunday Times, 4th April 1976 [link]

On a recent bus journey I purchased the tickets for my wife and myself. On each was a four-figure number, and the sum of all eight digits was twenty-five.

I remarked upon this to my wife who thereupon asked if any digit appeared more than twice in total, and whether the sum of the digits on either ticket was equal to thirteen.

I answered both questions and my wife was able to deduce the two numbers on the tickets.

What were they?

This puzzle is included in the book The Sunday Times Book of Brain-Teasers: Book 1 (1980). The puzzle text above is taken from the book.

[teaser768]