diff --git a/src/components/SwissInvoice.tsx b/src/components/SwissInvoice.tsx index d8fc5dd..78e59f0 100644 --- a/src/components/SwissInvoice.tsx +++ b/src/components/SwissInvoice.tsx @@ -53,7 +53,8 @@ const encodeSwissQrInvoice = ( invoiceData: InvoiceData, { type = "SPC" } = {} ) => { - const VERSION = "0220"; // 2.20 + // This code implements version 2.2! But the guidelines require that this stays fixed as 2.0 ;) + const VERSION = "0200"; const CODING = 1; // utf-8 const LINE_BREAK = "\n"; const END_INDICATOR = "EPD";