Analysis showed that way to pass-along all the needful session information was found to be simplified on this new API, as is the case with the (removed) timestamp "markers" once needed to fetch the final PDF - which makes life a lot easier now. For the record, it turned out that new URLs and POST payloads were completely different from previous interface. No problem though a quick reverse-engineering session highlighted all of the unexpected changes. Not sure if, how and when that important change was announced by PostFinance, but as a matter of fact the previously reverse-engineered pseudo-API stopped working about one week ago ( Updated to support newest Postfinance REST API for QR-invoice generation. Note 3: Filemaker was their "CRM / CMS tool of choice" back in time 20 30 years ago - but the Python and Curl scripts can be layered onto any other system, probably ranging from SAP to Succes Factor or even a custom manual interface in Excel, VB etc.Ĭlosing note: I am very grateful to Post API and those two Swiss SMB fiends which are right now using this set of scripts to generate their invoices -since 2020-without any fault, totalling at least 1M CHF so far (not my business) ! #python #opensource #curl #smb #pme #pmi Compliant but not payable because not scannable on mobile (unless hacks). My health insurance company do not use (yet) the proper OCR font. Pagination will be still be their pitfall. Those two open scripts can contribute to meet Swiss Post standards by the time these will be enforced without requiring every small-medium business to scratch their heads with mod10rec. A similar "digitalization" has for sure its advantages but will not cut down on operating costs for SMB. So you either comply or be forced to keep paying fees on your invoices. Post offers its own invoicing portal as a product - not for free. This migration is as needed as it is being imposed. Official consultancy companies did charge 10-15K for such integration and similar costs may not be sustainable for the size of those businesses. Note number 2: even though I have been paid "symbolically" for my time and I am always thankful for that, I offered such solution on a best-effort and free of charges basis. where to find OCR-B font and which size 12 to use, where to find the Swiss Post service, why mod10rec etc). Note 1: the solution is opensourced short how-to summarizing all the essentials (i.e. The cherry on the cake here is the alignement (BVR template is available online) and the 180' rotation that helps saving trees, improving triple-folding usage (center band can still be filled with content). Saved hours of manual actions, improved precision of tracking payments, offered up-to-date OCR / QR recognition and alignement to future standards. No more excuses when it gets to paying bills, now that you get both BVR27 and QR standards in the same page ! No big deal.Īdd a bit of salt, cryptic Filemaker syntax which is language-sensitive and so very 90s (if = quand, stop = arrete) and here it is, an integrated solution served for free. Took a couple of sleepless nights inside a TeamViewer, little CURL ( Daniel Stenberg) iterations with Swiss Post API, a "sneaky python" formula to calculate recursive mod10 checksum digit. I am not even sure anymore - if it was 2019 or 2020 - when I took up this weekend challenge of integrating Filemaker 12,13,18 with such new invoicing standards. Example usage of CURL and PYTHON to generate valid BVR and QR code for invoicing, according to new Swiss Post criteria which will become mandatory in Switzerland starting September 2022.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |