How can I view what TinyDB is storing

You will need to store the expenditures like a spreadsheet, with columns for

  • date
  • category
  • amount

You can keep the table in a single TinyDB tag, or use the year as the tag.