Transcactions not matching


I created Android app which parsing my SMS from banks, sending it to my server and then server adding transcations to YNAB accounts with API POST /budgets/{budget_id}/transactions endpoint.

After that, when I make file import from OFX, transcations not matching, all transcations adding as duplicates.

In documentation I see that matching occurs only between imported and manually added transactions through the web or mobile app. 

How can I add transactions through API so, that YNAB thinking that it manually entered? (I tried of creating transcactions without import_id, but result was same)

Thank you 

3replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Hi Gl - I would recommend creating those transactions coming from SMS as non-imported (no import_id) and then when creating transactions later from that OFX file to mark those as imported (import_id specified).  Matching is done when imported transactions are created.  At that time, matching will attempt to find existing, non-imported transactions to match to.  So, you'll want to make sure the non-imported transactions are created before the imported ones.

      • SgtBatten
      • "YNAB broke" since 2013
      • SgtBatten
      • 1 yr ago
      • Reported - view

      Brady Last i read a few months ago all API added transactions were considered imports. Has this changed?

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

      SgtBatten No change recently to this- if you specify an import_id, they will be considered imported, if you don't, they'll be considered entered manually. 

Like Follow
  • 1 yr agoLast active
  • 3Replies
  • 156Views
  • 3 Following