What are the fields that uniquely identify an account transaction? #19
Replies: 2 comments 1 reply
-
|
I can say for Q 2, what I've been using is a combination of the account ID, date, description, currency, and amount. My use case was a bit simpler and I generally assume I won't be making the exact same transaction twice in the same day. If you add post order to that field list and to an upsert it should work. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
[FOR VIS] Longer community discussion and context in our Slack workspace here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question 1:
Is there a reason why a unique identifier is not provided by the API to uniquely identify an account transaction? (even a unique identifier within a given account)?
Question 2
Given that an ID is not provided, which is the minimum set of fields that will always uniquely identify a transaction within an account so that a unique identifier can be built from this to help with an update or insert workflow.
Extra Context:
There are some very similar questions and discussions (unanswered), perhaps with the same intent:
Unique IDs are absent in several places throughout the API (account transactions, documents being two places).
I'm looking to understand which fields can be definitively used to uniquely identify a transaction.
There is an example in the Ruby client here, which assumes amount + description + date can uniquely identify a transaction.
I know that some terminals prevent the same amount on the same day, but I don't think that this is always the case, and my assumption is that it's possible to have the same transaction description + amount + date on the same day.
I assume that once these transactions are made, the
postedOrderwould indicate that they are indeed 2 different transactions.I'm implementing a very common workflow:
Related Discussions References
#10
https://github.com/orgs/Investec-Developer-Community/discussions/10
#9
https://github.com/orgs/Investec-Developer-Community/discussions/9
#6
https://github.com/orgs/Investec-Developer-Community/discussions/6
Beta Was this translation helpful? Give feedback.
All reactions