Import ID Bug (?)



In the API documentation you say that when using the file import feature, an import_id uniquely identifies a transaction by its date, payee and amount.

I was wondering what would happen if I have 2 transactions with the same date, payee and amount but in different time. 

For example, if I buy a cookie from the same place, in the morning and in the evening.

By your identification we'll lose the transaction on the evening, right?




3replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Hi Ben! Import_ids also contain an occurrence number for exactly this reason. For example, buying a cookie on 2021-08-27 in the amount of -$1.99 USD would have an import_id of 'YNAB:-1990:2021-08-27:1’. If you then buy a second cookie on the same day for the same amount, that transaction's import_id will be 'YNAB:-1990:2021-08-27:2’. Hope that helps!

  • Oh ok I missed that.

    Thanks :)

  • squash all ids to a single one in instance B. attempt to find a matching user by username, then fall back to squashing id. Status. 

    • So now I'm stuck. Error message: File 'bugs.txt' not found ... Has anyone tried importing data including original bug id numbers?

Like Follow
  • 3 mths agoLast active
  • 3Replies
  • 47Views
  • 4 Following