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

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

## 根因

瑞士QR-IBAN发票必须包含瑞士QR码（ISO 20022），带有结构化的收款人和付款人数据；省略条码或使用标准QR码会导致银行拒绝付款参考，造成手动处理延迟

## 版本兼容性

| 版本 | 状态 | 引入 | 弃用 |
|------|------|------|------|
| Swiss QR Code v2.0 | active | — | — |
| ISO 20022 pain.001.001.09 | active | — | — |
| SIX Interbank Clearing QR-IBAN rules 2024 | active | — | — |

## 解决方案

1. ```
   Use a Swiss QR bill generator library (e.g., 'npm install swiss-qr-bill') to produce a compliant QR code with embedded payment data in JSON format: 'qrBill.generate({creditor: {name: "Freelancer AG", iban: "CH4431999123456789012"}, debtor: {name: "Client", address: "..."}, amount: 1500.00})'
   ```
2. ```
   Integrate with a Swiss bank's e-billing API (e.g., PostFinance BillPay) that automatically generates the QR code and validates the format before issuing the invoice
   ```
3. ```
   Manually create the QR code using SIX's online validator tool (https://www.swiss-qr-code.org/validator) to ensure compliance, then embed it in the invoice PDF
   ```

## 无效尝试

- **** — Standard QR codes lack the required ISO 20022 data structure; the bank's OCR system cannot parse the payment details (90% 失败率)
- **** — ESR barcodes are deprecated for QR-IBAN since 2022; banks may reject or charge extra for processing (80% 失败率)
- **** — Manual payment entry increases error risk and delays; the QR-IBAN reference is not captured, causing reconciliation failures (85% 失败率)
