From: Petter Reinholdtsen Date: Tue, 12 Feb 2013 10:25:10 +0000 (+0000) Subject: Small update. X-Git-Url: https://pere.pagekite.me/gitweb/homepage.git/commitdiff_plain/a35cdace8d826d1535abaccc34601683b0511286 Small update. --- diff --git a/blog/data/2013-02-12-qr-invoice.txt b/blog/data/2013-02-12-qr-invoice.txt index 5b4e24c69c..1f03a9cab0 100644 --- a/blog/data/2013-02-12-qr-invoice.txt +++ b/blog/data/2013-02-12-qr-invoice.txt @@ -30,6 +30,8 @@ fields:

 X-INVOICE-NUMBER:1
 X-INVOICE-AMOUNT:NOK1000.00
+X-INVOICE-KID:123412341234
+X-INVOICE-MSG:Donation to Debian Edu
 X-BANK-ACCOUNT-NUMBER:16040884339
 X-BANK-IBAN-NUMBER:NO8516040884339
 X-BANK-SWIFT-NUMBER:DNBANOKKXXX
@@ -38,7 +40,9 @@ X-BANK-SWIFT-NUMBER:DNBANOKKXXX
 

The X-BANK-ACCOUNT-NUMBER field was proposed in a stackoverflow answer regarding how -to put bank account information into a vCard.

+to put bank account information into a vCard. For payments in +Norway, either X-INVOICE-KID (payment ID) or X-INVOICE-MSG could be +used to pass on information to the seller when paying the invoice.

The complete vCard could look like this: @@ -52,6 +56,7 @@ EMAIL;PREF;INTERNET:sdl-styret@rt.nuug.no REV:20130212T095000Z X-INVOICE-NUMBER:1 X-INVOICE-AMOUNT:NOK1000.00 +X-INVOICE-MSG:Donation to Debian Edu X-BANK-ACCOUNT-NUMBER:16040884339 X-BANK-IBAN-NUMBER:NO8516040884339 X-BANK-SWIFT-NUMBER:DNBANOKKXXX @@ -71,3 +76,6 @@ system.

vCard reader, so those parts would have to go directly into a system handling invoices. I am a bit unsure how vCards without name parts are handled, but a simple test indicate that this work just fine.

+ +

Update 2013-02-12 11:30: Added KID to the proposal +based on Feedback from Sturle Sunde.

diff --git a/blog/images/2013-02-12-qr-invoice.png b/blog/images/2013-02-12-qr-invoice.png index 90cb58ece2..5be73c909d 100644 Binary files a/blog/images/2013-02-12-qr-invoice.png and b/blog/images/2013-02-12-qr-invoice.png differ