Date of last transactions

Hi, I'm looking for a way to get the date of the last transaction that is known in YNAB. Then I can upload all transactions after that and upload those.

How can I retrieve the date of the last transaction?

4replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Click All Accounts on the left side menu. Then you will see the most recent transaction date if they are sorted by date.

    Like
      • Wessel
      • wessel
      • 4 days ago
      • Reported - view

      amp97 Thanks for your suggestion, I'm looking for a way to do this through the API.

      Like
  • Hi  Wessel

    Not sure if this is exactly what you're looking for, but the getTransactions endpoint supports both the since_date query and the Last_Knowledge_of_server query, both of which may work for your purposes--the last knowledge of server one could give you only transactions that have changed since the last time you ran the integration would be included. 

     

    Otherwise, if you specify an import_id for your transactions when using the the Post transactions call, it won't reimport anything that has the same ID as an existing transaction.

    Like
      • Wessel
      • wessel
      • 4 days ago
      • Reported - view

      Chrissy Yeah, but I don't know either. I'm falling back to retrieving every transaction by not specifying a since_date, but that might retrieve a lot of transactions.

      Like
Like Follow
  • 4 days agoLast active
  • 4Replies
  • 31Views
  • 3 Following