]> pere.pagekite.me Git - homepage.git/commitdiff
Small update.
authorPetter Reinholdtsen <pere@hungry.com>
Tue, 12 Feb 2013 10:25:10 +0000 (10:25 +0000)
committerPetter Reinholdtsen <pere@hungry.com>
Tue, 12 Feb 2013 10:25:10 +0000 (10:25 +0000)
blog/data/2013-02-12-qr-invoice.txt
blog/images/2013-02-12-qr-invoice.png

index 5b4e24c69c9a25503526e0a982119a78b7ba1a9e..1f03a9cab0d2289d911ca71fcc25e0ee73b96b37 100644 (file)
@@ -30,6 +30,8 @@ fields:</p>
 <p><pre>
 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
 <p>The X-BANK-ACCOUNT-NUMBER field was proposed in a stackoverflow
 answer regarding
 <a href="http://stackoverflow.com/questions/10045664/storing-bank-account-in-vcard-file">how
-to put bank account information into a vCard</a>.</p>
+to put bank account information into a vCard</a>.  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.</p>
 
 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.</p>
 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.</p>
+
+<p><strong>Update 2013-02-12 11:30</strong>: Added KID to the proposal
+based on Feedback from Sturle Sunde.</p>
index 90cb58ece2921fb0d7dc6193367d52393cae47c2..5be73c909d70beec94a8f2ba1108d277f174c39e 100644 (file)
Binary files a/blog/images/2013-02-12-qr-invoice.png and b/blog/images/2013-02-12-qr-invoice.png differ