Funds for <month> via API

How do I calculate the "funds for <month>" using the API? The /budget/<budget_id>/months/<month> endpoint provides budgeted, to_be_budgeted, and income, but I cannot figure how to get the same "Funds for <month>" figure as shown in the interface.

I'm using the API in a spreadsheet and trying to make it more and more dynamic.

3replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Brady Would you be able to check into this by chance?

      • Chrissy
      • YNAB Technical Support Manager
      • chrissy_ynab
      • 1 yr ago
      • 1
      • Reported - view

      Kevin K. Hey! Jumping in for Brady here!

      Funds for <month> is calculated using the following numbers:

      • the amount leftover in To be Budgeted from last month
      • the amount Budgeted in Future from last month
      • all Inflow:To Be Budgeted transactions in cash accounts* for the current month—including Reconciliation Balance Adjustments
      • any Starting Balance transactions in cash accounts in the current month
      • any positive credit card balances in the current month
      • any cash advances from a credit account to a cash account in the current month

      Since that's a fairly involved calculation with a lot of components, it's not currently available in the API, but I can definitely pass that on as a feature request for you!

      Like 1
      • Kevin K.
      • kkaland
      • 1 yr ago
      • Reported - view

      Chrissy Seems I missed replying, but yes, a feature request would be great.

Like Follow
  • 1 yr agoLast active
  • 3Replies
  • 77Views
  • 2 Following