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?
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.