klientenportal

TotalClaw 作者 totalclaw v1.5.1

自动化 RZL Klientenportal.at — RZL Software 提供的基于 Web 的门户,用于与您的税务会计师交换收据、发票和报告。登录/注销、上传文档 (Belegübergabe)、列出已发布的文件以及通过 Playwright 下载 Kanzleidokumente。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~odrobnik-klientenportal
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~odrobnik-klientenportal/file -o odrobnik-klientenportal.md
## 概述(中文)

自动化 RZL Klientenportal.at — RZL Software 提供的基于 Web 的门户,用于与您的税务会计师交换收据、发票和报告。登录/注销、上传文档 (Belegübergabe)、列出已发布的文件以及通过 Playwright 下载 Kanzleidokumente。

## 原文

# RZL Klientenportal

Automate [klientenportal.at](https://klientenportal.at) — a web portal by [RZL Software](https://www.rzl.at) for securely exchanging accounting documents between clients and their tax accountant.

**Entry point:** `{baseDir}/scripts/klientenportal.py`

## Setup

See [SETUP.md](SETUP.md) for prerequisites and setup instructions.

## Commands

### Login / Logout

```bash
python3 {baseDir}/scripts/klientenportal.py login          # Test login (validates credentials)
python3 {baseDir}/scripts/klientenportal.py logout         # Clear stored browser session
```

### Upload Documents (Belegübergabe)

Upload receipts/invoices to a specific Belegkreis category:

```bash
python3 {baseDir}/scripts/klientenportal.py upload -f invoice.pdf --belegkreis KA
python3 {baseDir}/scripts/klientenportal.py upload -f *.xml --belegkreis SP
```

| Code | Name | Use for |
|------|------|---------|
| ER | Eingangsrechnungen | Incoming invoices (default) |
| AR | Ausgangsrechnungen | Outgoing invoices |
| KA | Kassa | Credit card payments |
| SP | Sparkasse | Bank account receipts |

### List Released Files

Show files your accountant has released (freigegebene Dokumente):

```bash
python3 {baseDir}/scripts/klientenportal.py released
```

### Received Files (from Accountant)

List files received from your accountant (Kanzleidokumente / Auswertungen):

```bash
python3 {baseDir}/scripts/klientenportal.py received              # List all
python3 {baseDir}/scripts/klientenportal.py received -n 5          # Latest 5
python3 {baseDir}/scripts/klientenportal.py received --json         # JSON output
```

Output columns: Datei, Von, Dokumentbereich, Empfangen

### Download Received Files

Download specific files from the received files list:

```bash
python3 {baseDir}/scripts/klientenportal.py received-download --latest                  # Latest file
python3 {baseDir}/scripts/klientenportal.py received-download 1 2 3                     # By index (1=latest)
python3 {baseDir}/scripts/klientenportal.py received-download "10-12_2025"              # By name pattern
python3 {baseDir}/scripts/klientenportal.py received-download "10-12_2025" -o ~/Downloads  # Custom output
```

Single-file downloads are auto-extracted from ZIP wrapper.

### Download Kanzleidokumente (Legacy)

Download all available Kanzleidokumente at once:

```bash
python3 {baseDir}/scripts/klientenportal.py download                    # To default dir
python3 {baseDir}/scripts/klientenportal.py download -o /path/to/dir    # Custom output dir
```

Default output: `/tmp/openclaw/klientenportal/`

### Options

- `--visible` — Show the browser window (useful for debugging or first login)

## Recommended Flow

```
login → upload / released / download → logout
```

Always call `logout` after completing all operations to clear the stored browser session.