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?
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!