claudep / swiss-qr-bill

A Python library to generate Swiss QR-bill payment slips
MIT License
97 stars 39 forks source link

due_date #84

Closed Jeandy22 closed 2 years ago

Jeandy22 commented 2 years ago

There is a field called "due_date" and it appears on the qr-bill as (in french) "Payable jusqu'au". Is this really allowed, as I don't see this field appear on SIX payment standards documentation ?

claudep commented 2 years ago

I think you are right. I'm sure it used to be in previous versions of the standard, but the latest version doesn't mention it any longer. I guess we should remove that part.

claudep commented 2 years ago

Do you intend to provide a patch for that?

claudep commented 2 years ago

I just happened to see an example from a big insurance company, which is using the Extra information section to add a line like "Echéance: 01.10.2022".

So we might keep the due-date command line argument, and move that information under Extra information.

yene commented 2 years ago

just make sure you don't do breaking changes, we use qbill in production

Jeandy22 commented 2 years ago

Thanks for the information. I planed to add a warning or so if due_date is used. What do you think about this ?

claudep commented 2 years ago

just make sure you don't do breaking changes, we use qbill in production

Then pin the qrbill version in your dependency file. When you upgrade, read the Changelog and decide/test if you can upgrade without regressions.

claudep commented 2 years ago

Thanks for the information. I planed to add a warning or so if due_date is used. What do you think about this ?

I don't think the current way of printing the due date on bills is conforming to the standard, so I'd rather move the way it's printed under "Extra informations".

Jeandy22 commented 2 years ago

Thanks for the information. I planed to add a warning or so if due_date is used. What do you think about this ?

I don't think the current way of printing the due date on bills is conforming to the standard, so I'd rather move the way it's printed under "Extra informations".

OK, I can do that.

Jeandy22 commented 2 years ago

Upon reflexion, I dont think this is a good idea. If the creator wanted to specify a due date, they should insert it as text themselves in the "Extra infomation" field. "due_date" should be removed.

dschmide commented 2 years ago

claudep

Could you link the specification that you're referring to? It's not clear if you're referring to the same SIX payment standards documentation - english / french or what date the version was released. This would help a lot.

claudep commented 2 years ago

The latest version of the Swiss Implementation Guidelines for the QR-bill is Version 2.2, with effect from 22 February 2021, available from https://www.six-group.com/en/products-services/banking-services/standardization.html.