A device breaks two months after purchase and you cannot find the receipt? It happens a lot.
Way one: a paper folder
An envelope per device with the receipt, warranty and manual, arranged by room or date.
Way two: a digital copy
Photograph the receipt and warranty card at purchase and store them in a clearly named place. Thermal receipts fade over time, so a photo preserves the information.
Way three: tie the item to its document
Record the device in your app with the receipt photo and warranty end date in the notes, so everything sits with the item itself.