Darstellung
api-invoice-export
Endpoints
GET /api/invoices/{id}/export
Liefert die primäre E-Rechnungsdatei.
| Query | Beschreibung |
|---|---|
variant=xml | Rohes XML (CII oder ebInterface) |
variant=pdf | Human-PDF |
variant=primary (Default) | DE: ZUGFeRD-PDF, AT: ebInterface-XML |
force=true | Neuer Export auch bei vorhandenem gültigen Export |
Auth: Session (NextAuth)
Response: Datei-Download mit Content-Disposition: attachment
GET /api/invoices/{id}/export/validate
Prüft Pflichtfelder ohne Dateigenerierung.
json
{
"invoice_id": 42,
"format": "ebinterface",
"validation": { "ok": true, "errors": [] }
}Domain-Tools (WhatsApp-Agent)
invoices.export— Export auslöseninvoices.get_export_link— Download-URLs
Verwandte Notes
- compliance-e-rechnung-de-at