Zum Hauptinhalt springen

InvoiceFlow aus deinem KI-Assistenten nutzen

InvoiceFlow spricht das Model Context Protocol (MCP). Dein Assistent kann damit Rechnungen suchen, Entwürfe anlegen, Eingangsrechnungen prüfen und Zahlungen erfassen, in normaler Sprache und mit deinen Rechten.

Frühe Version: Funktionen und Werkzeuge können sich ändern.

In drei Schritten verbinden

  1. In InvoiceFlow unter Einstellungen, Reiter API / MCP, einen Token anlegen und sofort kopieren. Er wird nur einmal angezeigt.
  2. Die Konfiguration unten in deinen Assistenten eintragen und YOUR_TOKEN ersetzen.
  3. Den Assistenten neu starten und zum Beispiel fragen: "Welche Rechnungen sind überfällig?"

Konfiguration

Endpunkt

https://beleg.saits.ai/api/mcp

Authentifizierung: Header Authorization mit Bearer und deinem Token. Ein Token gehört zu genau einer Firma.

Cursor (mcp.json)

{
  "mcpServers": {
    "invoiceflow": {
      "url": "https://beleg.saits.ai/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_TOKEN"
      }
    }
  }
}

Claude Desktop (claude_desktop_config.json, über mcp-remote)

{
  "mcpServers": {
    "invoiceflow": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://beleg.saits.ai/api/mcp",
        "--header",
        "Authorization:${INVOICEFLOW_AUTH}"
      ],
      "env": {
        "INVOICEFLOW_AUTH": "Bearer YOUR_TOKEN"
      }
    }
  }
}

Diese Konfigurationen sind nicht mit jeder Version der Programme getestet. Die Schreibweise kann sich ändern: prüfe sie in der Dokumentation deines Assistenten.

Was der Assistent tun kann

Die Liste wird aus den tatsächlich verfügbaren Werkzeugen erzeugt. Schreibende Werkzeuge erscheinen nur bei einem Token mit Schreibrecht und nur, wenn deine Rolle die Aktion erlaubt.

Lesen

  • list_invoices

    List invoices (outgoing and incoming), newest first, 25 per page. Filter by direction, status, payment state (open, overdue, paid) or search text (number, counterparty, project code).

  • get_invoice

    Full invoice detail: document (parties, lines, totals), validation report, archived objects and payment state.

  • list_customers

    List customers of the company (id, name, address), optionally filtered by name.

  • inbox_list

    List received (incoming) invoices with their derived stage: to_check, to_release, released, paid, rejected, upfront; stage=open or overdue are shortcuts.

  • inbox_get

    Detail of one received invoice: parsed document, validation report, check/release trail, duplicate hint.

  • inbox_summary

    Counts and amounts per inbox stage, including overdue items.

  • list_projects

    List construction projects (contract sum, billed amounts).

  • project_overview

    One project with its Abschlagsrechnungen, final invoice, billed net and remaining contract sum.

  • list_offers

    List offers (Angebote). Offers are not tax documents. Status 'expired' is derived from validUntil.

  • list_articles

    List the article catalogue (name, unit, net price, VAT) that can be copied into invoice lines.

  • get_dashboard

    Company dashboard figures: invoice counts per status, open and overdue receivables.

  • validate_einvoice

    Validate an XRechnung XML or ZUGFeRD/Factur-X PDF with the KoSIT validator. Nothing is stored. File passed as base64 (max 5 MB decoded). Only reports; it does not import the file.

Schreiben

  • create_customer

    Create a customer from a party (name and postal address required; optional VAT id, e-mail, buyer reference).

  • create_invoice_draft

    Create an outgoing invoice DRAFT (nothing is issued, no number is consumed). Money is a decimal string, never a float. The seller defaults to the company profile when omitted. Check the draft with get_invoice, then issue it with issue_invoice.

  • update_invoice_draft

    Replace the document of an existing DRAFT (full document, not a patch). Issued invoices are immutable; correct them with create_credit_note.

  • issue_invoiceNur mit Bestätigung oder nicht umkehrbar

    Issue a draft: allocates the next gap-free invoice number, generates and archives the XRechnung XML and PDF. IRREVERSIBLE (an issued invoice can only be corrected by a credit note). Without confirm=true this only returns a dry run: the draft summary and the validator result, no number is consumed. Show the dry run to the user and set confirm=true only after the user agreed.

  • create_credit_noteNur mit Bestätigung oder nicht umkehrbar

    Create a credit note DRAFT (type 381) that fully credits an ISSUED invoice; it is not issued yet (use issue_invoice for that). Without confirm=true only a dry-run summary of the invoice to be credited is returned.

  • record_payment

    Record a payment received on an issued outgoing invoice (the invoice itself stays immutable; payment status is derived). Amount is a decimal string with at most 2 decimals.

  • inbox_check

    Step 1 of the approval workflow: mark a received invoice as factually checked (needed before it can be released).

  • inbox_release

    Step 2: release (approve) a checked received invoice for payment. Needs the approver or owner role.

  • inbox_rejectNur mit Bestätigung oder nicht umkehrbar

    Reject a received invoice, with a reason.

  • inbox_mark_paid

    Mark a released received invoice as paid by us (the payment itself happens outside InvoiceFlow).

  • inbox_set_upfront

    Flag (or unflag) a received invoice as already paid upfront, so it leaves the approval queue.

  • create_offer_draft

    Create an offer DRAFT: a document (same shape as an invoice draft) plus validUntil (ISO date) and optional intro/closing text.

Fertige Anweisungen

  • weekly_overdue_review: wöchentliche Übersicht über überfällige Rechnungen und offene Eingangsrechnungen.
  • prepare_invoice_from_offer: aus einem angenommenen Angebot einen Rechnungsentwurf vorbereiten, ohne ihn auszustellen.

Sicherheit

  • Der Assistent hat genau deine Rolle in der Firma des Tokens. Ändert sich deine Rolle oder wirst du entfernt, gilt das sofort.
  • Rechnung ausstellen und Gutschrift anlegen verlangen eine ausdrückliche Bestätigung. Ohne sie gibt es nur eine Vorschau, und es wird keine Rechnungsnummer verbraucht.
  • Texte aus Rechnungen und Dokumenten stammen von Dritten. Ein Assistent darf sie nicht als Anweisung behandeln. Prüfe Aktionen, die er vorschlägt, bevor du zustimmst.
  • Tokens lassen sich jederzeit widerrufen. Schreibzugriffe werden im Prüfprotokoll der Firma mit dem Namen des Tokens festgehalten.
  • Was du an einen Assistenten schickst, verarbeitet dessen Anbieter nach seinen eigenen Bedingungen. Nutze Lesetokens, wenn du keine Änderungen brauchst.
Zur Startseite
InvoiceFlow mit dem KI-Assistenten nutzen · InvoiceFlow