• Stars
    star
    274
  • Rank 149,697 (Top 3 %)
  • Language
    HTML
  • License
    MIT License
  • Created over 6 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A PHP library to create Swiss QR bills | QR-Rechnung in PHP erstellen

Swiss QR Bill

Build Status

A PHP library to create Swiss QR Bill payment parts (QR-Rechnung) which fully replaced the red and orange payment slips by September 30, 2022.

Image of Swiss QR Bill example

Getting started

composer require sprain/swiss-qr-bill

Then have a look at example/example.php.

FAQs

  • Why is my IBAN not working?
    A typical QR bill (example) requires a special QR IBAN. You can get yours from your bank. A classic IBAN can be used for QR bills with a SCOR reference (example) or no reference number at all (example).

  • How do I recognize a QR IBAN?
    See #182 (comment)

  • How do I create QR bills for international IBANs?
    You can't. The QR bill by specification only supports IBANs from Switzerland and Liechtenstein.

  • How do I support currencies other than CHF or EUR?
    You can't. The QR bill by specification only supports CHF and EUR.

  • How do I make my QR bills payable by Twint?
    See #129

  • What PDF libraries are supported by this library?
    The following libraries are currently actively supported:

    The output of HtmlOutput is known to be used to generate PDFs with PrinceXML, Docraptor, and dompdf/dompdf (with some adjustments as decribed here)

Getting help

Do you need more help using this library?

Please note that the maintainer of this library will not provide any support by email. The beauty of open source software lies in the fact that everybody can benefit from each other. Therefore questions will only be answered in public.

Versioning

Semantic versioning is used for this library.

In addition, a minor version will always be published if any visible change in the output of the qr code or the payment part takes place, even if it could be considered to be just a bugfix.

Support the project

Official resources

The repository contains the official specifications the library is based on:

For more official information see