Yatekii / qrbill

2 stars 3 forks source link

Syntax definition (S1) of Invoice Infos (Swico) #13

Open monheimx9 opened 3 weeks ago

monheimx9 commented 3 weeks ago

I would like to implement a validator and a builder for the Swico S1 syntax on the "extra_info" field

See this link (DE) -> https://www.swiss-qr-invoice.org/downloads/qr-bill-s1-syntax-de.pdf (FR) -> https://www.swiss-qr-invoice.org/downloads/qr-bill-s1-syntax-fr.pdf

Is it something you're interrested in ? If that's the case what would be your prefered way of implementation I can see two variants:

  1. Directly incorporate this into the existing library
  2. Writing a separate library and linking it to the project

Gruss

Yatekii commented 1 week ago

This sounds very nice to have :) Would love to have this incorporated! I find both approaches okay :) I am not sure of how much use the S1 syntax is outside of qrbill, so maybe we should have it in this crate, otherwise we can split it into a separate crate :) Down to you :)

monheimx9 commented 1 week ago

Great ! Then I'll be working on it to directly integrate it into the library Expect a new PR in the following weeks :^)