Skip to content

Releases: agising/genQR_code

Invoice QR added

Choose a tag to compare

@agising agising released this 30 Nov 10:33
d229cb5

V1.1 has invoice QR-codes!

In this release: Windows and unix binaries, config files and logo.

  • Download binaries into different folders
  • Download corresponding url/invoice_config.json. Rename them to config.json.
  • Download logo.png

Note different configs are required for url and invoice respectively but they share the same file name! Put them in different folders..

The config files controls the QR-codes. Edit the information as needed.
Test QR-code before sending to customer. Initiate a payment in your bank app and scan your code to see that it works.

URL config.json:

{
  "url": "www.uasolutions.se",
  "logo": "logo.png",
  "project": "Example"
}

Invoice config.json:

{
    "invoice_ref": "Example_ref",
    "invoice_date": "20231130",
    "due_date": "20241130",
    "amount_due": 150.0,
    "uqr": 1,
    "tp": 1,
    "company_name": "UASolutions AB",
    "org_nr": "212000-1363",
    "country_code": "SE",
    "currency": "SEK",
    "payment_type": "BG",
    "account": "265-5389",
    "logo": "logo.png" 
}

Note:
Invoice_ref = 'meddelande' or 'OCR'. I put my invoice number here.
due_date = last day for payment
amount_due = how much to pay
payment_type = BG for bankgiro, PG for postgiro. Only BG has been tested.

First release

Choose a tag to compare

@agising agising released this 14 Sep 13:28

Windows and unix binaries.

  • Download binary
  • Put a logotype.png or logotype.jpg in the same folder if you want a logo in QR-code.
  • Put config.json in the same folder, modify it to your needs, here is an example:
{
  "url": "www.klockren.nu",
  "logo": "logo.png",
  "project": "lampa"
}
  • Double click the executable, windows defender will complain, continue anyways..