Originals are stored in Drive. Records are saved to Sheets.
You can restore it later. Transactions, payments, and the original file in Drive are kept.