# AI 告诉瑞士自由职业者使用 QR-IBAN 开具发票，未提及 QR 账单需要特定的条形码格式（瑞士 QR 码）才能被处理

- **ID:** `banking/swiss-qr-iban-barcode`
- **领域:** banking
- **类别:** config_error
- **错误码:** `QR-BILL-BARCODE-MISSING-001`
- **验证级别:** ai_generated
- **修复率:** 90%

## 根因

瑞士 QR-IBAN 是 QR 账单标准（ISO 20022）的一部分，要求发票包含瑞士 QR 码（一种二维条码），其中包含结构化支付数据（IBAN、金额、参考号、收款人信息）；没有此条码，银行无法处理发票进行自动支付，手动输入容易出错。

## 解决方案

1. ```
   Use a certified QR-bill software (e.g., Swiss QR Bill Generator from SIX, or online tools like bill.com) to generate invoices with the correct Swiss QR Code. Example command using the official Python library: `pip install swiss-qr-bill` then generate with `python -c "from swiss_qr_bill import QRBill; bill = QRBill(account='CH4431999123000889012', creditor={'name': 'Your Name', 'address': 'Street', 'city': 'City'}, amount=100.00); bill.save('invoice.pdf')"`
   ```
2. ```
   If using accounting software (e.g., Bexio, Klara), enable the QR-bill module which automatically generates the barcode; verify that the output includes the Swiss QR Code in the correct format (ISO 20022 XML embedded in the barcode)
   ```
3. ```
   For one-off invoices, use the free online QR-bill generator from SIX (https://www.swiss-qr-bill.org/) to create a compliant invoice; download the PDF and include it in your billing process
   ```

## 无效尝试

- **** — Swiss banks (e.g., UBS, Credit Suisse, PostFinance) require the Swiss QR Code for automated processing; invoices without it are treated as non-standard and may be rejected or delayed, causing payment failures (92% 失败率)
- **** — The Swiss QR Code has a specific data structure (defined by SIX Group) that includes mandatory fields like creditor address, reference type, and additional information; generic QR codes lack this structure and will not be parsed by bank systems (95% 失败率)
- **** — Manual entry defeats the purpose of QR-IBAN and increases error risk; banks may still reject manual payments if the QR-IBAN is not linked to a valid QR-bill reference (70% 失败率)
