Files
einvoice/README.md

32 lines
821 B
Markdown

# jr-einvoice-toolchain (Folder-first Factur-X / ZUGFeRD EN16931)
## New in v0.8
`generate` kann jetzt Artefakt-Pfade für Automatisierung ausgeben:
- `--print-artifacts` → druckt Artefakt-Pfade zusätzlich nach dem OK-Panel
- `--print-artifacts-only` → druckt **nur** Pfade (je Zeile), ohne Rich-Output
- `--json` → druckt ein JSON-Objekt (ideal für CI)
## Beispiele
### CI/Script: JSON
```bash
jr-einvoice generate invoices/Rechnung_2026-0007_unicredit --json > artifacts.json
cat artifacts.json
```
### Script: Liste
```bash
jr-einvoice generate invoices/Rechnung_2026-0007_unicredit --print-artifacts-only
```
## Init quickstart
```bash
INV_DIR=$(jr-einvoice init invoices --auto-folder -c unicredit -p "Beratung" --print-path-only)
jr-einvoice generate "$INV_DIR" --json
```
Mehr: `Documentation.md`