-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AmountString field type impractical for energy tariffs #644
Comments
Hi @joshharris3 The description for AmountString states:
So |
Hi Nils, I agree with your above comment, however perhaps wasn't as clear above about issue here. Just to reiterate, we don't believe that the AmountString supports the energy industry which displays tariffs in cents not dollars. What this means practically:
I hope this helps clarify our position. Thanks |
This is just a type. The clarification is made elsewhere in the standards where there are numerous references indicating the currency that the AmountString is being used to represent (either as a default, or as an optional field). As the default is usually AUD if no specified it clarifies the ambiguity that its in dollars. |
We don't agree with this change as it introduces a new type for a common entity (currency amount). AmountString is used throughout the standards and anyone consuming CDR payloads will support it. This change is effectively pushing AER cost onto all future consumers of the data. |
AGL does not support this change. All participants are free to create internal functions that convert dollars to cents and back again as the context of presentation requires, according to their own purposes. |
Granted, there may be a more appropriate place for the clarification than at the type definition.
This exemplifies the ambiguity. The clarification is not explicitly made elsewhere. While the units to use may be deduced, there is evidently room for interpretation which is incongruent with the purpose of a specification. From a DR perspective, the data coming through from DHs (primary & secondary) clearly demonstrates the ambiguity is real. A simple explicit clarification can only be helpful for everyone and help improve CDR data quality, which is widely recognised as an ecosystem issue. Speaking of confusion, I'm probably confusing this CR with this side-issue. Sorry all! It's prob worthy of its own ticket... |
I just checked and you're right. The energy standard never actually says that the currency of amounts should be assumed to be AUD so that aspect is ambiguous. In the banking standard it's pretty explicit throughout. I'm pretty sure this was discussed in the early days of the energy standard but it never made it into the standards itself.
I agree. If you raise one we would support it being included in MI20. It would be a non-breaking change. |
I think the proposed change is an unnecessary headache for anyone who has already integrated with this API and the change offers no clear upside |
Agree with @dempstert, introducing a type and requiring every energy related value to be reset to cents when implementers have already completed their build is a pointless waste of participant resources. Perhaps the AmountString definition can be clearer but I see no change outside of clarification being required here. |
#652 raised and suggested for MI20 👍 |
Based on the discussion during July 10 MI 20 meeting and the feedback noted by participants in comments above, the DSB is proposing not to proceed with this change request. During the discussions it was noted that the definition of Feedback on the above is welcome. |
Closing with no change made, as per #353 - Decision Proposal 353 - Maintenance Iteration 20. |
Background:
The AmountString field type currently refers to an amount of currency, with valid currencies defined by ISO 4217, including AUD (Australian Dollars). This format ($00.00) is standard but impractical for energy tariffs.
Issue:
Market analysis and feedback from our API users indicate that energy tariffs are typically displayed in cents on retailer websites & third party comparison services. Storing tariff information in cents is strongly preferred because it reduces floating point precision issues and maintains consistency, eliminating the need for additional conversions during data sharing. The current process is cumbersome:
Example retailer website
Area Affected
Get Generic Plan Detail
https://consumerdatastandardsaustralia.github.io/standards/#cdr-energy-api_get-generic-plan-detail
Change Proposed
We propose two alternatives to better align with industry practices:
Example Proposed new Tariff Structure
Other instances where energy tariffs are shown in cents:
Retailers:
Origin
Red Energy
API users & third party websites
Finder
Solar Choice
DSB Proposal
The current DSB proposal for this issue is in #644 (comment)
The text was updated successfully, but these errors were encountered: