How can I tell that a particular image belongs with a specific transaction?

Text can be embedded on the image to include: ticket #, customer #, weight, date, time, etc.