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 

1reply 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.

Like Follow
  • 12 days agoLast active
  • 1Replies
  • 32Views
  • 2 Following