Open gexclaude opened 4 years ago
Please correct me if I am wrong @gexclaude : you are pointing out that some banks might reject 0.50
as an invalid amount and only accept .50
?
Apparently Raiffeisen did according to the linked issue. And SIX said upon my request, that both "0.50" and ".50" are considered valid values in the SPC.
As I wrote, I don't have information if it is still the case or not, but there were different interpretations regarding this detail.
This should be clarified in the specification, clearly.
I don't know if Raiffeisen implemented a fix or not. The following issue was seen
Example
Problem
Spec states that amount should be presented without leading zeros in the SPC. Obvious for amounts larger than CHF 1.00 but not for amounts less than CHF 1.00
Source and full thread
https://github.com/manuelbl/SwissQRBill/issues/16