Transcactions not matching

Hello

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.

    Like
      • SgtBatten
      • SgtBatten
      • 1 mth ago
      • Reported - view

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

      Like
    • 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
Like Follow
  • 1 mth agoLast active
  • 3Replies
  • 109Views
  • 4 Following