This article reflects the situation as of November 6, 2026. The deadlines for the Swiss QR-bill and email sending are set by the banks and by Microsoft, and they have already shifted several times. What counts is what your bank and the admin center of your Microsoft 365 account tell you.
What is changing with the Swiss QR-bill?
The Swiss QR-bill is the standardized payment slip with a QR code that invoices in Switzerland carry; your customers scan the code in their banking app to pay. Since November 22, 2025, new rules have applied to it. The most important one: the Swiss QR Code may now only contain structured addresses, address type S. According to SIX, invoicing had to be switched over by November 21, 2025. This applies to both addresses on the bill: your own as the payee and your customer’s under “Payable by.”
- Address type S (structured): Street, house number, postal code, town and country each have their own field. Postal code, town and country must always be filled in, the country as a two-letter code such as
CH. - Address type K (combined): The address is in two free-text lines, such as “Musterstrasse 22” and “8999 Seldwyla.” This form has been removed from the SIX Implementation Guidelines.
You can’t see the difference between address types S and K on the printed payment part of a QR-bill; the address type is only in the QR code. So a bill can look correct and still contain the old form.
Until when will banks process QR-bills with address type K?
How long banks process QR-bills with address type K differs from bank to bank. For payment slips with address type K after November 21, 2025, SIX only provides for “a short transition period,” without an end date that applies to all banks. What the banks themselves have published (as of November 6, 2026):
| Who | What applies to address type K |
|---|---|
| SIX | Only usable for a short time after November 21, 2025. Banks must clean up existing standing orders and templates by November 13, 2026. |
| PostFinance | Processing is “guaranteed until November 13, 2026.” After that, financial institutions may reject QR-bills without a structured address. |
| Zürcher Kantonalbank | Since November 21, 2025, end-to-end processing is no longer guaranteed. Such bills may be rejected at payment, including at the post office counter. |
| Luzerner Kantonalbank | Since November 21, 2025, no longer reliably scannable in e-banking, but the details can be entered by hand. For payments from such bills via payment file, a deadline of September 30, 2026 applied. |
From November 14, 2026 at the latest, expect that your customers can no longer simply scan and pay a QR-bill with address type K. Payments arrive later, or your customer has to get back to you. You can’t know which deadline each customer’s bank sets. You’re only safe with address type S.
With the SIC release of November 13, 2026, SIX introduces version 2.4 of the Implementation Guidelines for the Swiss QR-bill, valid from November 14, 2026. According to SIX, it brings no technical changes for bills in Swiss francs.
What does your application need to change for the QR-bill?
Every place in your application that generates a Swiss QR Code is affected by the new QR-bill rules: the invoicing module in the shop, the customer portal, the PDF export for accounting or a custom build with a QR library.
- Separate the address data. In many older applications, the address sits in a single field or in two free-text lines. Address type S needs at least separate fields for postal code, town and country. PostFinance recommends keeping street and house number separate, but the house number in the “street” field is allowed until further notice. Existing customer data has to be split accordingly, ideally with a list of the records that can’t be assigned automatically.
- Watch the field lengths. In the QR-bill, name and street may be at most 70 characters, house number and postal code at most 16, town at most 35. It’s better for the application to check longer values before generating the bill than to cut them off silently.
- Switch the QR code generation. The QR code must contain address type S for both addresses. If your application uses the open-source library
sprain/swiss-qr-bill: from version 5.0 of November 2025, it only supports structured addresses, and that version requires PHP 8.1 or newer. If your application runs on an older PHP version, the PHP upgrade is part of the job. - Your own address in the configuration. The company address is often hard-coded in the template or stored in a setting, as two lines. It must be structured too.
- Replace bills already issued. If your customers received QR-bills for months in advance, for example for subscriptions, rent or installment payments, they need new payment slips with address type S. Remind them at the same time to update standing orders based on old templates.
- Bills in euros. From version 2.4 of the Implementation Guidelines, QR-IBAN and QR reference are only allowed for Swiss francs. For euros, the options are the IBAN with Creditor Reference (SCOR) or with an unstructured message.
- Payment files. If your application creates payment orders for the bank itself (pain.001), for refunds for example, the Swiss financial center requires structured or hybrid addresses there too from November 14, 2026. Zürcher Kantonalbank is granting a temporary extension for this.
How to check your QR-bills
- Generate a test bill, with a real customer address from your data, not a sample record.
- Read the QR code, with an app that shows the code’s text. The content consists of lines: the first reads
SPC, the fourth is your IBAN, the fifth is the address type of your own address. If it saysS, the address is structured; if it saysK, your application still generates the old form. Your customer’s address starts on line 21, and it must saySthere too. - Search your customer data. Records without a postal code, town or country are the ones where the bill will fail.
- Check on the test platform. PostFinance offers invoice issuers a test platform for QR-bills.
- Look at open bills. Bills with address type K that fall due after November 13, 2026 are better reissued.
What is changing for email sent via Microsoft 365?
Many PHP applications send email by signing in to smtp.office365.com with the username and password of a mailbox: contact forms, order confirmations, “forgot password,” invoices. Microsoft calls this route SMTP AUTH or Client Submission, and signing in with a username and password is called Basic Auth. That exact combination is what Microsoft is shutting off.
The schedule for ending Basic Auth with SMTP AUTH has shifted several times. Microsoft announced the end in April 2024, in the Exchange Team Blog and with notice MC786329 in the Message Center, first for September 2025, later for March to April 2026. A new schedule has applied since January 27, 2026 (as of November 6, 2026):
- Until December 2026: Everything stays as it is.
- End of December 2026: For existing Microsoft 365 environments (tenants), SMTP AUTH with Basic Auth is turned off by default. Admins can turn it back on if needed.
- New tenants after December 2026: Basic Auth is not available by default; OAuth is supported.
- Second half of 2027: Microsoft announces the final shutdown date.
Microsoft doesn’t give an exact day for “end of December 2026,” and the final date is still pending. Sending with OAuth, which Microsoft calls “Modern Authentication,” is not affected by the shutdown. Neither are applications that don’t send through Microsoft 365 at all.
What does your application need to change for email?
First check whether your application sends via SMTP AUTH through Microsoft 365 at all: its configuration will then list smtp.office365.com as the mail server, usually with port 587, plus the username and password of a mailbox. For this case, Microsoft names the following routes:
- OAuth instead of a password. The application signs in with a token (XOAUTH2). This requires an app registration in Microsoft Entra ID and a mail library that supports OAuth. For PHPMailer, there is a guide from its developers; the add-on package it uses requires at least PHP 7.3. According to that guide, the client secrets of the app registration expire after 24 months at most. The expiry date belongs in your operations calendar, or sending will fail again later.
- High Volume Email for Microsoft 365, if the application only writes to recipients in your own organization.
- Azure Communication Services Email for email to internal and external recipients.
- SMTP relay via a connector, with a fixed IP address or a certificate. Microsoft rules this route out for applications hosted with a third party such as Azure.
Outside Microsoft, your application can also send through another mail server, for example your hosting provider’s. Then your domain’s sender records, SPF and DKIM, must match the new sender. For SMTP AUTH, Microsoft also requires TLS 1.2 or 1.3.
From the end of December 2026, your Microsoft 365 admin can turn Basic Auth for SMTP AUTH back on. That buys time until the final date, but it doesn’t replace the switch to OAuth or another sending route.
How to check your email sending
- Search the configuration for
smtp.office365.com: in the.envfile, in the CMS or shop settings, in custom scripts and cron jobs. - Open the report in the Exchange admin center. Under Reports > Mail flow, the “SMTP AUTH clients” report shows which senders use SMTP AUTH, whether with Basic Auth or OAuth, and with which TLS version. By default, it shows the last 7 days.
- Test each type of email separately: contact form, registration, “forgot password,” order confirmation, invoice sending and automated emails from cron jobs.
- Watch the error log. If sending fails, the mail server’s response is usually in the application’s log, not in the browser.
- Check the sender. If the application sends on behalf of an address other than the signed-in one, the account needs the “Send As” permission.
Why does this hit older PHP applications in particular?
The changes to the Swiss QR-bill and to email sending are small on their own. They become difficult when nobody knows anymore where in the application bills and emails are created, or when the required library doesn’t run on the PHP version in use. Then the QR-bill suddenly comes with a PHP upgrade attached. Which other deadlines are coming up in the next few years is shown in the end-of-life calendar. If it’s unclear whether your hosting provider, your former developer or you will handle the change, the article Who is responsible: hosting provider, developer or you? helps.
What if nobody knows the application anymore?
If nobody knows the application anymore, the Takeover Assessment from Unique-P clarifies where your application generates bills and emails, what’s missing for the new rules and how big the change is, with a fixed price for the implementation. If payments or emails are already failing, the emergency fix helps. After that, ongoing maintenance keeps an eye on deadlines like these before they become urgent.
Sources
- [1]Neue Vorgaben QR-Rechnung: Handlungsbedarf für ERP-/Zahlungserfassungs-Softwareprovider und sonstige Provider · SIX, August 19, 2025
- [2]Neue Vorgaben QR-Rechnung: Handlungsbedarf für grosse Firmenkunden und öffentliche Verwaltung · SIX, August 19, 2025
- [3]Schweizer Implementation Guidelines QR-Rechnung, Version 2.4 · SIX, February 24, 2026
- [4]Anpassungen bei den QR-Rechnungen (Factsheet 460.445) · PostFinance, October 2025
- [5]Wichtige Änderungen und Ihr Handlungsbedarf · PostFinance
- [6]Anpassungen bei Adressen · PostFinance, July 3, 2025
- [7]Strukturierte Adressen in der QR-Rechnung · Zürcher Kantonalbank
- [8]Neuer Zahlungsverkehr · Zürcher Kantonalbank
- [9]Strukturierte Adressen · Luzerner Kantonalbank
- [10]php-swiss-qr-bill, Releases · GitHub
- [11]Updated Exchange Online SMTP AUTH Basic Authentication Deprecation Timeline · Microsoft Exchange Team Blog, January 27, 2026
- [12]Exchange Online to retire Basic auth for Client Submission (SMTP AUTH) · Microsoft Exchange Team Blog, April 15, 2024
- [13]How to set up a multifunction device or application to send email using Microsoft 365 or Office 365 · Microsoft Learn
- [14]SMTP AUTH clients report in the new EAC in Exchange Online · Microsoft Learn
- [15]Authenticate an IMAP, POP or SMTP connection using OAuth · Microsoft Learn
- [16]Microsoft Azure and XOAUTH2 setup guide · PHPMailer