X-Git-Url: http://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/9bf1fd25b4c58cb0f6e74f463b00fccf831109c7..3882048f60f47ce7edb89cc3816978cff32551f9:/blog/data/2013-02-12-qr-invoice.txt?ds=sidebyside diff --git a/blog/data/2013-02-12-qr-invoice.txt b/blog/data/2013-02-12-qr-invoice.txt index 5b4e24c69c..3fc6ea02b5 100644 --- a/blog/data/2013-02-12-qr-invoice.txt +++ b/blog/data/2013-02-12-qr-invoice.txt @@ -2,7 +2,7 @@ Title: "Electronic" paper invoices - using vCard in a QR code Tags: english, standard Date: 2013-02-12 10:30 -Here in Norway, electronic invoices are spreading, and the +
Here in Norway, electronic invoices are spreading, and the solution promoted by the Norwegian government require that invoices are sent through one of the approved facilitators, and it is not possible to send @@ -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,9 +40,11 @@ X-BANK-SWIFT-NUMBER:DNBANOKKXXXThe 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: +The complete vCard could look like this:
BEGIN:VCARD @@ -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.