Transactions End Point does not return future-dated transactions??

Hey everyone,

I have a number of one-off future-dated transactions in a few accounts - stuff that I know will be coming in/going out on particular dates.

The /budgets/{budget_id}/transactions endpoint only appears to be returning transactions up to the current date, thereby excluding all my future transactions.

Is this intentional behaviour?

I've also tried specifying the optional "since_date" parameter set as tomorrow's date, but got 0 transactions returned.

Seems unnecessarily limiting, and puts the kibosh on a nice little YNAB-centric utility I was in the middle of coding. :-(

Any ideas how I might get hold of these future transactions via the API?

Any suggestions welcomed.

Joe

6replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • I'm not particularly knowledgeable about the API, but it looks like scheduled transactions are retrieved separately? https://api.youneedabudget.com/v1#/Scheduled_Transactions/getScheduledTransactions

    Reply Like
      • trumaj
      • trumaj
      • 4 mths ago
      • Reported - view

      Hey Ben - Thanks for your reply.

      Scheduled transactions are the repeated transactions that we can set up (e.g. repeating weekly, monthly, yearly, etc.)

      I'm talking about individual one-off transactions (i.e. not repeated) that just have a future date.

      Having said that, I did actually check the results from the scheduled transactions API, and these one-off future transactions were not in there.

      Reply Like
      • Ben
      • Toolkit for YNAB Designer & Developer
      • furiousfalcon
      • 4 mths ago
      • Reported - view

      trumaj Got it. Looks like George or someone else from YNAB will need to comment then.

      Reply Like
  • Even without a recurrence, those transactions are still scheduled transactions as opposed to "real" transactions. As such, I find it odd they're not available from the scheduled API point. Unfortunately, I don't know where to find them.

    Reply Like
  • trumaj said:
    Scheduled transactions are the repeated transactions that we can set up (e.g. repeating weekly, monthly, yearly, etc.)
    I'm talking about individual one-off transactions (i.e. not repeated) that just have a future date.

     I would agree with your distinction but unfortunately YNAB views scheduled transaction as anything with a future date. You can see this via the website as well. Enter a transaction and put todays date. Now change the date to the future and see that it goes gray.

    There was an active conversation about that topic here  

    Reply Like
  • Yeah, I'm an idiot.

    Thanks RIP_MSMoney and dakinemaui  - after your comments I went back and checked again on the scheduled transactions API, and it does in fact include the one-off future-dated transactions in there - they simply have a frequency of "never". Don't know how I missed them the first time I looked.  Oh, yeah, 'cos I'm an idiot...

    All good now, guys. Thanks again for your input. 🙂

    Reply Like 1
Like Follow
  • 4 mths agoLast active
  • 6Replies
  • 46Views
  • 4 Following