standards-maintenance icon indicating copy to clipboard operation
standards-maintenance copied to clipboard

Behaviour where posted transactions only have an associated date.

Open WestpacOpenBanking opened this issue 4 years ago • 3 comments

Description

Currently postingDateTime in BankingTransaction has a type of DateTimeString. Frequently, only the date of posting is recorded without an associated time. Data recipients are likely to treat those transactions as if they occurred at a certain time in a certain time zone with the same date. However, this choice is arbitrary with many possible choices. This issue is particularly problematic in relation to the filtration of results from Get Transaction For Account endpoint using the oldest-time and newest-time query parameters – unexpected behaviour may occur if Data Recipients filter based on date and time (transactions that appear to be from the wrong day, for instance).

Area Affected

The primary field which is affected is postingDateTime in BankingTransaction. There may be similar issues with valueDateTime and executionDateTime, or in other cases where the DateTimeString is used (especially in conjunction with filtration).

Change Proposed

We recommend that the standard specify that posted transactions that only have a recorded date and not an associated time should be deemed to have occurred at a certain time e.g. 2:00 am AEST on the same day). This change would likely need to be future dated as different data holders may have already implemented inconsistently.

WestpacOpenBanking avatar Mar 30 '20 06:03 WestpacOpenBanking