Skip to content

Commit

Permalink
Increase version to 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelbl committed May 16, 2020
1 parent 53c35ad commit bcaef90
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
# Swiss QR Bill for Java

Open-source Java library to generate Swiss QR bills (jointly developed with the [.NET version](https://github.com/manuelbl/SwissQRBill.NET)).
Open-source Java library to generate and decode Swiss QR bills (jointly developed with the [.NET version](https://github.com/manuelbl/SwissQRBill.NET)).

Try it yourself and [create a QR bill](https://www.codecrete.net/qrbill). The code for this demonstration (Angular UI and RESTful service) can also be found here.
Try it yourself and [create a QR bill](https://www.codecrete.net/qrbill). The code for this demonstration (Angular UI and RESTful service) can be found on [GitHub](https://github.com/manuelbl/SwissQRBillDemo) as well.

**Note: The latest release implements version 2.1 of the *Swiss Implementation Guidelines QR-bill* valid since
September 30, 2019 and the *Style guide* released in January 2019.**
This library implements version 2.1 of the *Swiss Implementation Guidelines QR-bill* valid since September 30, 2019, the *Style guide* released in January 2019 and *Swico Syntax Definition (S1)* from November 11, 2018.

## Introduction

The Swiss QR bill is the new QR code based payment format that will replace the current payment slip starting at 30 June, 2020. The new payment slip will in most cases be sent electronically. But it can still be printed at the bottom of an invoice or added to the invoice on a separate sheet. The payer scans the QR code with his/her mobile banking app to initiate the payment. The payment just needs to be confirmed.
The Swiss QR bill is the new QR code based payment format that will replace the current payment slip starting on 30 June, 2020. The new payment slip will in most cases be sent electronically. But it can still be printed at the bottom of an invoice or added to the invoice on a separate sheet. The payer scans the QR code with his/her mobile banking app to initiate the payment. The payment just needs to be confirmed.

The invoicing party can easily synchronize the received payment with the accounts-receivable accounting as the payment comes with a full set of data including the reference number used on the invoice. The Swiss QR bill is convenient for the payer and payee.
If the invoicing party adds structured bill information (VAT rates, payment conditions etc.) to the QR bill, the payer can automate booking in accounts payable. The invoicing party can also automate the accounts receivable processing as the payment includes all relevant data including a reference number. The Swiss QR bill is convenient for the payer and payee.

![QR Bill](https://raw.githubusercontent.com/wiki/manuelbl/SwissQRBill/images/qr-invoice-e1.svg?sanitize=true)

Expand All @@ -22,10 +21,11 @@ The invoicing party can easily synchronize the received payment with the account
The Swiss QR bill library:

- generates PDF, SVG and PNG files
- add QR bill to existing PDF file
- adds QR bill to existing PDF file
- generates payment slip (105mm by 210mm), A4 sheets or QR code only
- multilingual: German, French, Italian, English
- is multilingual: German, French, Italian, English
- validates the invoice data and provides detailed validation information
- adds or retrieves structured bill information (according to Swico S1)
- parses the invoice data embedded in the QR code
- is easy to use (see example below)
- is small and fast
Expand All @@ -42,12 +42,12 @@ If you are using *Maven*, add the below dependency to your `pom.xml`:
<dependency>
<groupId>net.codecrete.qrbill</groupId>
<artifactId>qrbill-generator</artifactId>
<version>[2.2.4,)</version>
<version>[2.3,)</version>
</dependency>

If you are using *Gradle*, add the below dependency to your *build.gradle* file:

compile group: 'net.codecrete.qrbill', name: 'qrbill-generator', version: '2.2.4+'
compile group: 'net.codecrete.qrbill', name: 'qrbill-generator', version: '2.3+'

To generate a QR bill, you first fill in the `Bill` data structure and then call `QRBill.generate`:

Expand Down
2 changes: 1 addition & 1 deletion examples/append_to_pdf/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ task execute(type: JavaExec) {
}

dependencies {
compile group: 'net.codecrete.qrbill', name: 'qrbill-generator', version: '2.2.4+'
compile group: 'net.codecrete.qrbill', name: 'qrbill-generator', version: '2.3+'
}

2 changes: 1 addition & 1 deletion examples/gradle_example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ task execute(type: JavaExec) {
}

dependencies {
compile group: 'net.codecrete.qrbill', name: 'qrbill-generator', version: '2.2.4+'
compile group: 'net.codecrete.qrbill', name: 'qrbill-generator', version: '2.3+'
}
2 changes: 1 addition & 1 deletion examples/kotlin_example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ task execute(type: JavaExec) {

dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
compile "net.codecrete.qrbill:qrbill-generator:2.2.4+"
compile "net.codecrete.qrbill:qrbill-generator:2.3+"
}

compileKotlin {
Expand Down
2 changes: 1 addition & 1 deletion examples/maven_example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<dependency>
<groupId>net.codecrete.qrbill</groupId>
<artifactId>qrbill-generator</artifactId>
<version>[2.2.4,)</version>
<version>[2.3,)</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion generator/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repositories {
}

group = 'net.codecrete.qrbill'
version = '2.2.4'
version = '2.3'
archivesBaseName = 'qrbill-generator'

sourceCompatibility = 1.8
Expand Down

0 comments on commit bcaef90

Please sign in to comment.