swico / www.swiss-qr-invoice.org

Website for Swiss QR Invoice organization.
https://www.swiss-qr-invoice.org
11 stars 1 forks source link

Raiffeisen - Leading Zero Amount Issue - Amount less than CHF 1.00 #17

Open gexclaude opened 4 years ago

gexclaude commented 4 years ago

I don't know if Raiffeisen implemented a fix or not. The following issue was seen

Example

SPC
0200
1
CH3709000000304442225
S
Salvation Army Foundation Switzerland

3000
Berne
CH

.50
CHF

NON

EPD

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

epsitec commented 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 ?

gexclaude commented 4 years ago

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.

epsitec commented 3 years ago

This should be clarified in the specification, clearly.

epsitec commented 3 years ago

See https://github.com/swico/www.swiss-qr-invoice.org/issues/27