PROMPT.md
10 lines
DE
1
Extrahiere aus dem folgenden Rechnungstext diese Felder als JSON:
2
{"absender": string, "rechnungsnummer": string, "rechnungsdatum": "YYYY-MM-DD",
3
"faellig_am": "YYYY-MM-DD oder null", "waehrung": string,
4
"betrag_netto": number, "betrag_brutto": number,
5
"positionen": [{"beschreibung": string, "menge": number, "einzelpreis": number}]}
6
7
Regeln:
8
- NUR das JSON ausgeben.
9
- Nicht auffindbare Felder: null. Niemals raten oder rechnen, außer die Summe fehlt und alle Positionen sind vorhanden.
10
- Schweizer und deutsche Zahlenformate korrekt interpretieren (1'234.50 und 1.234,50).
1
Extract the following fields from the invoice text as JSON:
2
{"sender": string, "invoice_number": string, "invoice_date": "YYYY-MM-DD",
3
"due_on": "YYYY-MM-DD or null", "currency": string,
4
"net_amount": number, "gross_amount": number,
5
"items": [{"description": string, "quantity": number, "unit_price": number}]}
6
7
Rules:
8
- Output ONLY the JSON.
9
- Fields that cannot be found: null. Never guess or calculate, unless the total is missing and all items are present.
10
- Correctly interpret Swiss and German number formats (1'234.50 and 1.234,50).
Machine-translated (Claude). The original is the authoritative version.
rechnungs-parser
Teil der kuratierten Start-Sammlung. Verbesserungen willkommen – fork das Repo und stell einen Pull Request.
v1.0.0
Erste Version
by prompthub · First version
9. Jul 2026
0 passed
0 failed
No discussions yet – open the first one!
No pull requests yet. Fork the repo, improve it, and open the first one!