API-Dokumentation

FlowAccounting API

Eine umfassende REST API zur Verwaltung von Rechnungen, Angeboten, Rechnungskorrekturen, Positionen, Transaktionen, Produkten, Steuersätzen und wiederkehrender Abrechnung sowie von Ausgaben und Belegen. Mit PDF-, ZUGFeRD- und XRechnung-Export sowie Stripe-Zahlungsabgleich.

Rechnungen
https://api.flowsuite.one/flowaccounting/invoices
Transaktionen
https://api.flowsuite.one/flowaccounting/transactions
Produkte
https://api.flowsuite.one/flowaccounting/products
Steuersätze
https://api.flowsuite.one/flowaccounting/tax-rates
Wiederkehrende Rechnungen
https://api.flowsuite.one/flowaccounting/recurring-invoices
Abrechenbare Positionen
https://api.flowsuite.one/flowaccounting/billable-items
Angebote
https://api.flowsuite.one/flowaccounting/quotes
Rechnungskorrekturen
https://api.flowsuite.one/flowaccounting/credit-notes
Ausgaben
https://api.flowsuite.one/flowaccounting/expenses
Lieferanten
https://api.flowsuite.one/flowaccounting/suppliers
Kategorien
https://api.flowsuite.one/flowaccounting/expense-categories
Berichte
https://api.flowsuite.one/flowaccounting/reports
Steuerprofil
https://api.flowsuite.one/flowaccounting/tax-profile

Pfade gelten unter https://api.flowsuite.one. Die bisherige Adresse https://creativeskyline.de/api/… funktioniert unbefristet weiter.

OpenAPI-Datei dieses Moduls

Schnellstart

Team-bezogene Daten
Alle Endpoints sind team-bezogen: Es werden ausschließlich Daten des Teams zurückgegeben, dem Ihr API-Key zugeordnet ist.

1. API-Zugangsdaten abrufen

Bevor Sie die API nutzen können, benötigen Sie Ihre persönlichen Zugangsdaten: Melden Sie sich an, navigieren Sie zu Kontomenü → API-Schlüssel und kopieren Sie Ihren persönlichen API-Key (pk_...).

2. Authentifizierung

Alle API-Anfragen benötigen diesen HTTP-Header:

Authorization: Bearer pk_dein_api_key
Accept: application/json

Rechnungen

Bearbeitungseinschränkungen
Bearbeiten ist nur bei Status draft oder sent (und Quelle manual) möglich, Löschen nur bei draft. Versendete oder bezahlte Rechnungen werden stattdessen storniert.
GET
/flowaccounting/invoices

Rechnungen auflisten

Ruft eine paginierte Liste aller Rechnungen des Teams ab (sortiert nach Rechnungsdatum, absteigend).

Bearer pk_… oder at_…

Query-Parameter

Name Typ Pflicht Beschreibung
include string Mit items werden die Rechnungspositionen einschließlich name und description eingebettet
status string Filter: draft, sent, partially_paid, paid, overdue, past_due, cancelled
client_uuid string Filter nach Kunden-UUID (cmm_clients). Breaking Change: die früheren Filter client_id und contact_id werden mit 422 abgelehnt, statt stillschweigend ignoriert zu werden
search string Suchbegriff (Rechnungsnummer, Empfängername, Firma)
from string Rechnungsdatum ab (YYYY-MM-DD)
to string Rechnungsdatum bis (YYYY-MM-DD)
per_page integer Anzahl pro Seite (1-200, Standard: 15)
curl -X GET "https://api.flowsuite.one/flowaccounting/invoices" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/invoices');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/invoices',
    headers=headers,
)

data = response.json()
{
    "success": true,
    "data": [
        {
            "uuid": "550e8400-e29b-41d4-a716-446655440000",
            "invoice_number": "RE-2026-0042",
            "status": "sent",
            "recipient_name": "Mustermann GmbH",
            "total": 1190,
            "allowed_transitions": [
                "paid",
                "cancelled"
            ]
        }
    ],
    "meta": {
        "current_page": 1,
        "per_page": 15,
        "total": 42
    }
}
POST
/flowaccounting/invoices

Rechnung erstellen

Erstellt eine neue Rechnung. Die Rechnungsnummer wird automatisch aus dem Nummernkreis des Teams vergeben, und zwar erst beim Ausstellen (Statuswechsel nach sent, Versand per E-Mail oder send beim Anlegen): Ein Entwurf hat invoice_number: null, und ein gelöschter Entwurf verbraucht keine Nummer. Wer die Nummer braucht, liest sie nach dem Ausstellen aus der Antwort oder per GET. Für den Import von Altrechnungen kann sie über invoice_number vorgegeben werden. Eine Rechnung mit vorgegebener Nummer erhält ohne payment_method die Zahlungsart bank_transfer; die Standard-Zahlungsart des Kunden wird dann nicht übernommen. Die vollständige Reihenfolge einer Übernahme steht im Abschnitt „Belege aus einem Fremdsystem übernehmen“. Kollidiert der Nummernkreis beim Ausstellen mit vorhandenen Belegen, antwortet der ausstellende Endpunkt mit 409 und error_code: document_number_conflict. Positionen können entweder direkt beim Erstellen über items mitgegeben oder nachträglich über den Positionen-Endpoint hinzugefügt werden, beide Wege sind gültig. Ohne send entsteht die Rechnung im Status draft. Mit send wird sie unmittelbar nach dem Anlegen per E-Mail versendet und wechselt dabei in den Status sent. Die Antwort führt in diesem Fall zusätzlich das Feld sent, bei einem gescheiterten Versand ergänzt um send_error_code und send_message. Die Rechnung bleibt auch dann mit 201 angelegt. Wird billing_operation_key mitgegeben und existiert die Rechnung dazu bereits, liefert die API den vorhandenen Stand zurück und wendet weder items noch send ein zweites Mal an, so dass ein wiederholter Aufruf keinen Doppelversand auslöst. Breaking Change: Die früheren numerischen Felder client_id, contact_id und items.*.product_id werden nicht mehr akzeptiert (Validierungsfehler); Kunde, Kontakt und Produkt werden ausschließlich über client_uuid, contact_uuid und items.*.product_uuid angegeben. § 19-Hinweis: Ist das Team laut bestätigtem Steuerprofil Kleinunternehmer in Deutschland und würde der noch offene Betrag der Rechnung, sobald bezahlt, die Umsatzgrenze des laufenden Jahres überschreiten (oder ist sie schon überschritten), enthält die Antwort zusätzlich das Feld notices: eine Liste mit code small_business_limit, level would_exceed oder already_exceeded, context invoice, year, den Beträgen in Euro (limit_eur, known_turnover_eur, amount_eur, turnover_after_eur), complete (false, wenn Zahlungen ungeklärt sind), blocking (immer false) und message. Der Hinweis blockiert nie und ändert das Steuerprofil nicht; ohne Hinweis fehlt das Feld.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
recipient_name string
Pflicht
Name des Rechnungsempfängers
invoice_date string
Pflicht
Rechnungsdatum (YYYY-MM-DD)
due_date string Fälligkeitsdatum (>= invoice_date). Wenn leer: invoice_date + Zahlungsziel des Teams (Standard 14 Tage)
currency_code string
Pflicht
ISO 4217 Währungscode (3 Zeichen, z.B. EUR)
client_uuid string Optional: Kunden-UUID (cmm_clients, teamgebunden)
contact_uuid string Optional: Kontakt-UUID (teamgebunden)
invoice_number string Optional: eigene Rechnungsnummer, nur für den Import von Altrechnungen gedacht. Im Normalfall weglassen, dann vergibt der Nummernkreis die Nummer. KI-Assistenten und Agenten setzen das Feld nur, wenn der Nutzer ausdrücklich auf einer eigenen Nummer besteht. Höchstens 40 Zeichen aus den Buchstaben A bis Z, Ziffern, Leerzeichen, Punkt, Unterstrich und Bindestrich, am Anfang und Ende ein Buchstabe oder eine Ziffer. Muss im Team eindeutig sein, auch gegenüber gelöschten Entwürfen und stornierten Rechnungen. Liegt die Nummer im laufenden Nummernkreis, muss sie unter dem nächsten Zählerstand liegen; dafür vorher in den FlowAccounting-Einstellungen die nächste Rechnungsnummer über die höchste Importnummer setzen. Der Zähler bleibt unverändert. Nach dem Anlegen lässt sich die Nummer nicht mehr ändern
notes string Sichtbare Notiz auf der Rechnung
payment_method string Zahlungsart: bank_transfer | sepa | stripe | paypal | cash | other. Ohne Angabe gilt die Standard-Zahlungsart des Kunden aus FlowCRM (nicht gesetzt = Banküberweisung); Kreditkarte oder SEPA werden also nur übernommen, wenn sie dort als Standard hinterlegt oder hier explizit angegeben sind. Ausnahme: Mit vorgegebener invoice_number gilt ohne Angabe immer bank_transfer, damit eine übernommene Altrechnung nicht auf ein hinterlegtes Zahlungsmittel des Kunden läuft; eine ausdrücklich angegebene Zahlungsart gilt auch dann. stripe, sepa und paypal setzen eine gespeicherte Stripe-Zahlungsmethode des Kunden vom passenden Typ voraus (sonst 422).
stripe_pm_id string Optional: konkrete Stripe-Zahlungsmethode (pm_...) des Kunden. Ohne Angabe wird sie bei stripe, sepa und paypal aus der Standard-Zahlungsmethode des Kunden ergänzt.
tax_treatment string Steuerbehandlung dieser Rechnung: standard | reverse_charge | reverse_charge_domestic | intra_community_supply | export | non_taxable_abroad | tax_exempt. Ohne Angabe gilt bei manuellen Rechnungen die Steuerbehandlung des Kunden aus FlowCRM. Bei jedem Wert außer standard weist die Rechnung keine Umsatzsteuer aus und trägt den passenden Pflichthinweis: Positionen mit tax_rate über 0 oder mit unit_price_gross werden mit 422 abgelehnt. Nur für source manual. reverse_charge_domestic und tax_exempt gibt es nur nach deutschem Recht: Ein Team, für das laut Steuerprofil kein deutsches Recht gilt, kann sie nicht neu setzen (422), ein schon gespeicherter Wert bleibt erlaubt.
tax_exemption_basis string Vorschrift der Steuerbefreiung bei tax_exempt, z. B. „§ 4 Nr. 14“ (max. 40 Zeichen). Steht im Hinweis „Steuerfrei nach … UStG“; ohne Angabe ein allgemeiner Hinweis auf § 4 UStG. Bei anderen Steuerbehandlungen ignoriert
property_retention_notice boolean Leistung im Zusammenhang mit einem Grundstück an eine Privatperson: druckt den Hinweis auf die zweijährige Aufbewahrungspflicht (§ 14b Abs. 1 Satz 5 UStG)
document_language string Belegsprache der Rechnung: de | en | pt. Ohne Angabe gilt bei manuellen Rechnungen die Rechnungssprache des Kunden aus FlowCRM, sonst de
send boolean Rechnung sofort nach dem Anlegen per E-Mail versenden. Ohne dieses Flag bleibt es beim Entwurf
items array Rechnungspositionen direkt mitgeben, 1 bis 200 Stück. Je Position sind <code>quantity</code> und <code>unit_price</code> verpflichtend, optional sind <code>name</code>, <code>description</code>, <code>tax_rate</code>, <code>unit</code>, <code>position</code>, <code>product_uuid</code>, <code>discount_percent</code> und <code>type</code>. Ohne <code>position</code> werden die Positionen fortlaufend nummeriert
curl -X POST "https://api.flowsuite.one/flowaccounting/invoices" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"recipient_name": "value", "invoice_date": "value", "due_date": "value", "currency_code": "value", "client_uuid": "value", "contact_uuid": "value", "invoice_number": "value", "notes": "value", "payment_method": "value", "stripe_pm_id": "value", "tax_treatment": "value", "tax_exemption_basis": "value", "property_retention_notice": true, "document_language": "value", "send": true, "items": []}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/invoices', [
        'recipient_name' => 'value',
        'invoice_date' => 'value',
        'due_date' => 'value',
        'currency_code' => 'value',
        'client_uuid' => 'value',
        'contact_uuid' => 'value',
        'invoice_number' => 'value',
        'notes' => 'value',
        'payment_method' => 'value',
        'stripe_pm_id' => 'value',
        'tax_treatment' => 'value',
        'tax_exemption_basis' => 'value',
        'property_retention_notice' => true,
        'document_language' => 'value',
        'send' => true,
        'items' => [],
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    recipient_name: 'value',
    invoice_date: 'value',
    due_date: 'value',
    currency_code: 'value',
    client_uuid: 'value',
    contact_uuid: 'value',
    invoice_number: 'value',
    notes: 'value',
    payment_method: 'value',
    stripe_pm_id: 'value',
    tax_treatment: 'value',
    tax_exemption_basis: 'value',
    property_retention_notice: true,
    document_language: 'value',
    send: true,
    items: [],
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'recipient_name': 'value',
    'invoice_date': 'value',
    'due_date': 'value',
    'currency_code': 'value',
    'client_uuid': 'value',
    'contact_uuid': 'value',
    'invoice_number': 'value',
    'notes': 'value',
    'payment_method': 'value',
    'stripe_pm_id': 'value',
    'tax_treatment': 'value',
    'tax_exemption_basis': 'value',
    'property_retention_notice': True,
    'document_language': 'value',
    'send': True,
    'items': [],
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/invoices',
    headers=headers,
    json=payload,
)

data = response.json()
{
    "success": true,
    "data": {
        "uuid": "550e8400-e29b-41d4-a716-446655440000",
        "invoice_number": null,
        "status": "draft"
    }
}
GET
/flowaccounting/invoices/{uuid}

Rechnungs-Details abrufen

Rechnungs-Details abrufen, inklusive Positionen, Transaktionen sowie total_paid, remaining_amount und allowed_transitions. sent_date nennt den Tag des Versands und ist im Entwurf null. kind ist invoice oder cancellation (Stornorechnung). Eine Stornorechnung ist ein eigener Beleg mit eigener Nummer aus dem Rechnungskreis und negativen Beträgen; cancels_invoice nennt die stornierte Rechnung (uuid, invoice_number, invoice_date). Eine stornierte Rechnung behält Nummer und Inhalt, cancelled_by_invoice verweist auf ihre Stornorechnung und cancelled_at nennt den Zeitpunkt. original_invoice_number ist nur bei Stornos aus der Zeit vor den Stornorechnungen gesetzt: Damals bekam die stornierte Rechnung selbst eine neue Nummer, das Feld nennt die Nummer, unter der sie ausgestellt war. Unter credit_notes stehen die Rechnungskorrekturen, die zu dieser Rechnung angelegt wurden, aufsteigend nach Datum der Rechnungskorrektur und jeweils mit uuid, credit_note_number, status, credit_note_date, total und currency_code; die vollständige Rechnungskorrektur liefert der Rechnungskorrekturen-Endpoint. credit_notes gibt es nur in dieser Detailantwort, nicht in der Liste.

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/invoices/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/invoices/{uuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices/{uuid}', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/invoices/{uuid}',
    headers=headers,
)

data = response.json()
{
    "success": true,
    "data": {
        "uuid": "550e8400-e29b-41d4-a716-446655440000",
        "invoice_number": "RE-2026-0042",
        "original_invoice_number": null,
        "kind": "invoice",
        "cancels_invoice": null,
        "cancelled_by_invoice": null,
        "cancelled_at": null,
        "status": "paid",
        "invoice_date": "2026-01-10T00:00:00+01:00",
        "due_date": "2026-01-24T00:00:00+01:00",
        "sent_date": "2026-01-10",
        "paid_date": "2026-01-20",
        "total": 1190,
        "currency_code": "EUR",
        "payment_method": "bank_transfer",
        "total_paid": 1190,
        "remaining_amount": 0,
        "allowed_transitions": [
            "cancelled"
        ],
        "items": [
            {
                "uuid": "3f2b1c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
                "name": "Beratung",
                "quantity": 10,
                "unit_price": 100,
                "tax_rate": 19,
                "total": 1190
            }
        ],
        "transactions": [
            {
                "uuid": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
                "type": "payment",
                "amount": 952,
                "currency_code": "EUR",
                "transaction_date": "2026-01-16T00:00:00+01:00"
            },
            {
                "uuid": "1d4e5f6a-7b8c-4d9e-a0b1-c2d3e4f5a6b7",
                "type": "credit",
                "amount": 238,
                "currency_code": "EUR",
                "transaction_date": "2026-01-20T00:00:00+01:00"
            }
        ],
        "credit_notes": [
            {
                "uuid": "9b2e4f6a-1c3d-4e5f-8a7b-6c5d4e3f2a1b",
                "credit_note_number": "GS-2026-0003",
                "status": "settled",
                "credit_note_date": "2026-01-20",
                "total": 238,
                "currency_code": "EUR"
            }
        ]
    }
}
PUT
/flowaccounting/invoices/{uuid}

Rechnung aktualisieren

Rechnung aktualisieren. Nur möglich bei Status draft oder sent und Quelle manual (sonst 422). Ein Entwurf akzeptiert dieselben Kopffelder wie beim Erstellen. Eine ausgestellte Rechnung ist inhaltlich festgeschrieben (GoBD): änderbar sind nur noch internal_notes, payment_method und stripe_pm_id, wie in der Weboberfläche. Enthält die Anfrage ein anderes Feld (z. B. client_uuid, recipient_*, invoice_date, due_date, service_date_*, currency_code, document_language, notes, greeting_text, closing_text, payment_reference), antwortet der Endpoint mit 422 und error_code invoice_locked, nennt die Felder in locked_fields, die erlaubten in allowed_fields und die Korrekturwege in correction und schreibt nichts, auch die erlaubten Felder derselben Anfrage nicht. Das gilt auch für einen Entwurf, solange eine Zahlung läuft oder ein Zahlungslink offen ist. Inhaltliche Korrekturen laufen über POST /invoices/{uuid}/correct (Rechnung berichtigen), eine Rechnungskorrektur (POST /credit-notes) oder ein Storno. Breaking Change: client_id und contact_id werden nicht mehr akzeptiert; ausschließlich client_uuid und contact_uuid.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
recipient_name string Name des Rechnungsempfängers. Nur im Entwurf änderbar
due_date string Fälligkeitsdatum. Nur im Entwurf änderbar
notes string Sichtbare Notiz auf der Rechnung. Nur im Entwurf änderbar
tax_exemption_basis string Vorschrift der Steuerbefreiung bei tax_exempt, z. B. „§ 4 Nr. 14“ (max. 40 Zeichen). Nur im Entwurf änderbar
property_retention_notice boolean Hinweis auf die Aufbewahrungspflicht bei Grundstücksleistungen an Privatpersonen (§ 14b Abs. 1 Satz 5 UStG). Nur im Entwurf änderbar
document_language string Belegsprache der Rechnung: de | en | pt. Nur im Entwurf änderbar
internal_notes string Interne Notiz, erscheint nicht auf der Rechnung. Auch nach dem Ausstellen änderbar
payment_method string Zahlart (bank_transfer | stripe | sepa | paypal | cash | other). Auch nach dem Ausstellen änderbar
stripe_pm_id string Gespeicherte Stripe-Zahlungsmethode des Kunden (pm_…), passend zur Zahlart. Auch nach dem Ausstellen änderbar
curl -X PUT "https://api.flowsuite.one/flowaccounting/invoices/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"recipient_name": "value", "due_date": "value", "notes": "value", "tax_exemption_basis": "value", "property_retention_notice": true, "document_language": "value", "internal_notes": "value", "payment_method": "value", "stripe_pm_id": "value"}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->put('https://api.flowsuite.one/flowaccounting/invoices/{uuid}', [
        'recipient_name' => 'value',
        'due_date' => 'value',
        'notes' => 'value',
        'tax_exemption_basis' => 'value',
        'property_retention_notice' => true,
        'document_language' => 'value',
        'internal_notes' => 'value',
        'payment_method' => 'value',
        'stripe_pm_id' => 'value',
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices/{uuid}', {
  method: 'PUT',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    recipient_name: 'value',
    due_date: 'value',
    notes: 'value',
    tax_exemption_basis: 'value',
    property_retention_notice: true,
    document_language: 'value',
    internal_notes: 'value',
    payment_method: 'value',
    stripe_pm_id: 'value',
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'recipient_name': 'value',
    'due_date': 'value',
    'notes': 'value',
    'tax_exemption_basis': 'value',
    'property_retention_notice': True,
    'document_language': 'value',
    'internal_notes': 'value',
    'payment_method': 'value',
    'stripe_pm_id': 'value',
}

response = requests.put(
    'https://api.flowsuite.one/flowaccounting/invoices/{uuid}',
    headers=headers,
    json=payload,
)

data = response.json()
{
    "success": false,
    "error_code": "invoice_locked",
    "message": "Die Rechnung ist ausgestellt und inhaltlich festgeschrieben. …",
    "locked_fields": [
        "recipient_name"
    ],
    "allowed_fields": [
        "internal_notes",
        "payment_method",
        "stripe_pm_id"
    ],
    "correction": [
        {
            "action": "correct",
            "method": "POST",
            "path": "/api/flowaccounting/invoices/{uuid}/correct"
        },
        {
            "action": "credit_note",
            "method": "POST",
            "path": "/api/flowaccounting/credit-notes",
            "body": {
                "invoice_uuid": "{uuid}"
            }
        },
        {
            "action": "cancel",
            "method": "POST",
            "path": "/api/flowaccounting/invoices/{uuid}/status",
            "body": {
                "status": "cancelled"
            }
        }
    ]
}
DELETE
/flowaccounting/invoices/{uuid}

Rechnung löschen

Rechnung löschen. Nur möglich im Status draft (sonst 422). Ein Entwurf ohne Nummer wird gelöscht und verbraucht keine Nummer. Trägt der Entwurf schon eine Nummer (vor dem 2026-11-22 gespeichert, mit vorgegebener invoice_number übernommen oder ein Korrekturentwurf), wird er verworfen: Die Nummer bleibt belegt und wird nicht erneut vergeben, die Antwort nennt sie in retained_invoice_number.

Bearer pk_… oder at_…

curl -X DELETE "https://api.flowsuite.one/flowaccounting/invoices/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->delete('https://api.flowsuite.one/flowaccounting/invoices/{uuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices/{uuid}', {
  method: 'DELETE',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.delete(
    'https://api.flowsuite.one/flowaccounting/invoices/{uuid}',
    headers=headers,
)

data = response.json()
{
    "success": true,
    "message": "Entwurf verworfen. Die Rechnungsnummer RE-2026-0041 bleibt belegt und wird nicht erneut vergeben.",
    "retained_invoice_number": "RE-2026-0041"
}
POST
/flowaccounting/invoices/{uuid}/status

Rechnungsstatus setzen

Direkter Statuswechsel. Über diesen Endpoint sind nur die Übergänge nach sent (versenden) und cancelled (stornieren) möglich. Bei unzulässigem Übergang: 422 mit Feld allowed_transitions. Beim Wechsel nach sent erhält eine Rechnung ohne Nummer ihre Rechnungsnummer aus dem Nummernkreis, und der heutige Tag gilt als Versanddatum; eine E-Mail wird dabei nicht verschickt. Beim Wechsel einer ausgestellten Rechnung nach cancelled entsteht eine eigene Stornorechnung (kind cancellation) mit neuer Nummer und negativen Positionen; die Rechnung selbst behält Nummer und Inhalt und verweist über cancelled_by_invoice darauf. Ein Entwurf wird ohne Stornorechnung storniert. Eine Stornorechnung selbst lässt sich nicht stornieren, korrigieren oder duplizieren. Für Altrechnungen aus einem Fremdsystem kann das tatsächliche Versanddatum über sent_date mitgegeben werden. Eine Rechnung mit einem Versanddatum vor dem Tag ihrer Erfassung gilt als übernommener Altbeleg: Sie wird nicht automatisch gemahnt und nicht automatisch abgebucht. Von Hand geht beides weiter. § 19-Hinweis: Ist das Team laut bestätigtem Steuerprofil Kleinunternehmer in Deutschland und würde der noch offene Betrag der Rechnung, sobald bezahlt, die Umsatzgrenze des laufenden Jahres überschreiten (oder ist sie schon überschritten), enthält die Antwort zusätzlich das Feld notices: eine Liste mit code small_business_limit, level would_exceed oder already_exceeded, context invoice, year, den Beträgen in Euro (limit_eur, known_turnover_eur, amount_eur, turnover_after_eur), complete (false, wenn Zahlungen ungeklärt sind), blocking (immer false) und message. Der Hinweis blockiert nie und ändert das Steuerprofil nicht; ohne Hinweis fehlt das Feld.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
status string
Pflicht
Zielstatus: sent oder cancelled
sent_date string Optional: tatsächliches Versanddatum (YYYY-MM-DD), nur für die Übernahme von Altrechnungen aus einem Fremdsystem gedacht. Im Normalfall weglassen, dann gilt der heutige Tag. Nur zusammen mit status sent, nur beim Wechsel aus dem Entwurf und nur für manuelle Rechnungen (source manual), sonst 422. Frühestens das Rechnungsdatum, spätestens heute. Liegt das Datum vor dem Tag, an dem die Rechnung hier erfasst wurde, gilt sie als übernommener Altbeleg und wird nicht automatisch gemahnt oder abgebucht
curl -X POST "https://api.flowsuite.one/flowaccounting/invoices/{uuid}/status" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"status": "value", "sent_date": "value"}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/status', [
        'status' => 'value',
        'sent_date' => 'value',
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/status', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    status: 'value',
    sent_date: 'value',
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'status': 'value',
    'sent_date': 'value',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/invoices/{uuid}/status',
    headers=headers,
    json=payload,
)

data = response.json()
POST
/flowaccounting/invoices/{uuid}/send

Rechnung per E-Mail versenden

Versendet die Rechnung per E-Mail an den hinterlegten Empfänger. Eine stornierte Rechnung wird nicht erneut versendet (422, error_code: not_sendable); ihre Stornorechnung (kind cancellation, UUID aus cancelled_by_invoice) lässt sich über diesen Endpoint versenden und bleibt dabei im Status cancelled. Beim Erstversand wechselt eine Rechnung im Status draft automatisch nach sent und erhält dabei ihre Rechnungsnummer; kollidiert der Nummernkreis, antwortet der Endpoint mit 409 und error_code: document_number_conflict, und die Rechnung bleibt ein Entwurf ohne Nummer. Eine bereits versendete Rechnung kann erneut verschickt werden, der Status bleibt dabei unverändert. Der Endpoint ist auf 10 Anfragen pro Minute je API-Key begrenzt, darüber hinausgehende Anfragen werden mit 429 beantwortet. Nicht versandfähig sind stornierte Rechnungen, Rechnungen ohne hinterlegte Empfänger-E-Mail sowie E-Rechnungsformate mit offenen Validierungsfehlern. Versendbar sind außerdem nur Rechnungen aus den Quellen manual, hosting_checkout und hosting_renewal, weil automatisch abgerechnete Quellen ihre Rechnungsmail bereits selbst verschicken. In all diesen Fällen antwortet die API mit 422 und dem Feld error_code, das die Werte not_sendable, no_recipient_email oder einvoice_invalid annehmen kann. Eine unbekannte UUID ergibt 404. § 19-Hinweis: Ist das Team laut bestätigtem Steuerprofil Kleinunternehmer in Deutschland und würde der noch offene Betrag der Rechnung, sobald bezahlt, die Umsatzgrenze des laufenden Jahres überschreiten (oder ist sie schon überschritten), enthält die Antwort zusätzlich das Feld notices: eine Liste mit code small_business_limit, level would_exceed oder already_exceeded, context invoice, year, den Beträgen in Euro (limit_eur, known_turnover_eur, amount_eur, turnover_after_eur), complete (false, wenn Zahlungen ungeklärt sind), blocking (immer false) und message. Der Hinweis blockiert nie und ändert das Steuerprofil nicht; ohne Hinweis fehlt das Feld.

Bearer pk_… oder at_…

curl -X POST "https://api.flowsuite.one/flowaccounting/invoices/{uuid}/send" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/send');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/send', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/invoices/{uuid}/send',
    headers=headers,
)

data = response.json()
GET
/flowaccounting/invoices/{uuid}/pdf

Rechnung als PDF herunterladen

Lädt die Rechnung als Standard-PDF herunter (Team-Einstellung einvoice_format=pdf). Antwort ist ein Datei-Download, kein JSON. Ausgestellte Rechnungen liefern die beim Ausstellen gespeicherte Datei Byte für Byte (Header X-FlowAccounting-Document-Source: frozen und X-FlowAccounting-Document-SHA256); Entwürfe und Rechnungen, die vor dem Einfrieren ausgestellt wurden, werden mit den aktuellen Daten erzeugt (regenerated).

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/invoices/{uuid}/pdf" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/pdf" \
  --output rechnung.pdf
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->withHeaders(['Accept' => 'application/pdf'])
    ->get('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/pdf');

file_put_contents('rechnung.pdf', $response->body());
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/pdf', {
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/pdf',
  },
});

const blob = await response.blob();
const url = URL.createObjectURL(blob);
import requests

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/invoices/{uuid}/pdf',
    headers={'Authorization': 'Bearer YOUR_API_TOKEN', 'Accept': 'application/pdf'},
)

with open('rechnung.pdf', 'wb') as f:
    f.write(response.content)
Die Antwort ist ein Datei-Download (Content-Type: application/pdf), kein JSON.
GET
/flowaccounting/invoices/{uuid}/pdf

Rechnung als ZUGFeRD herunterladen

Lädt die Rechnung als ZUGFeRD 2.x herunter (PDF mit eingebettetem XML nach EN 16931). Team-Einstellung einvoice_format=zugferd erforderlich.

Bearer pk_… oder at_…

# Team-Einstellung: einvoice_format = zugferd
curl -X GET "https://api.flowsuite.one/flowaccounting/invoices/{uuid}/pdf" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/pdf" \
  --output rechnung-zugferd.pdf
use Illuminate\Support\Facades\Http;

// Team-Einstellung: einvoice_format = zugferd
$response = Http::withToken('YOUR_API_TOKEN')
    ->withHeaders(['Accept' => 'application/pdf'])
    ->get('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/pdf');

file_put_contents('rechnung-zugferd.pdf', $response->body());
// Team-Einstellung: einvoice_format = zugferd
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/pdf', {
  headers: {'Authorization': 'Bearer YOUR_API_TOKEN', 'Accept': 'application/pdf'},
});

const blob = await response.blob();
# Team-Einstellung: einvoice_format = zugferd
response = requests.get(
    'https://api.flowsuite.one/flowaccounting/invoices/{uuid}/pdf',
    headers={'Authorization': 'Bearer YOUR_API_TOKEN', 'Accept': 'application/pdf'},
)

with open('rechnung-zugferd.pdf', 'wb') as f:
    f.write(response.content)
Die Antwort ist ein PDF-Download mit eingebettetem ZUGFeRD-XML (PDF/A-3).
GET
/flowaccounting/invoices/{uuid}/pdf

Rechnung als XRechnung herunterladen

Lädt die Rechnung als XRechnung (reines XML nach CIUS-DE) herunter. Team-Einstellung einvoice_format=xrechnung erforderlich. Pflichtformat für Rechnungen an Bundesbehörden.

Bearer pk_… oder at_…

# Team-Einstellung: einvoice_format = xrechnung
curl -X GET "https://api.flowsuite.one/flowaccounting/invoices/{uuid}/pdf" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/xml" \
  --output rechnung.xml
use Illuminate\Support\Facades\Http;

// Team-Einstellung: einvoice_format = xrechnung
$response = Http::withToken('YOUR_API_TOKEN')
    ->withHeaders(['Accept' => 'application/xml'])
    ->get('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/pdf');

file_put_contents('rechnung.xml', $response->body());
// Team-Einstellung: einvoice_format = xrechnung
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/pdf', {
  headers: {'Authorization': 'Bearer YOUR_API_TOKEN', 'Accept': 'application/xml'},
});

const xml = await response.text();
# Team-Einstellung: einvoice_format = xrechnung
response = requests.get(
    'https://api.flowsuite.one/flowaccounting/invoices/{uuid}/pdf',
    headers={'Authorization': 'Bearer YOUR_API_TOKEN', 'Accept': 'application/xml'},
)

with open('rechnung.xml', 'wb') as f:
    f.write(response.content)
Die Antwort ist ein XML-Download (Content-Type: application/xml).
POST
/flowaccounting/invoices/{uuid}/duplicate

Rechnung duplizieren

Dupliziert die Rechnung inklusive Positionen als neuen draft ohne Rechnungsnummer; die Nummer wird beim Ausstellen vergeben. Antwort: 201 mit der neuen Rechnung.

Bearer pk_… oder at_…

curl -X POST "https://api.flowsuite.one/flowaccounting/invoices/{uuid}/duplicate" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/duplicate');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/duplicate', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/invoices/{uuid}/duplicate',
    headers=headers,
)

data = response.json()
POST
/flowaccounting/invoices/{uuid}/correct

Rechnung berichtigen

Storniert die versendete Rechnung mit einer eigenen Stornorechnung und erstellt eine inhaltsgleiche berichtigte Rechnung als Entwurf. Die Korrektur trägt die Nummer des Originals mit angehängter Korrekturziffer, das Original behält seine Nummer, wird auf cancelled gesetzt und auf Stornorechnung und Korrektur verwiesen. Möglich bei sent, overdue, past_due und partially_paid und ausschließlich bei manuell geführten Rechnungen; sonst 422. Antwort: 201 mit der berichtigten Rechnung.

Bearer pk_… oder at_…

curl -X POST "https://api.flowsuite.one/flowaccounting/invoices/{uuid}/correct" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/correct');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/correct', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/invoices/{uuid}/correct',
    headers=headers,
)

data = response.json()
{
    "success": true,
    "data": {
        "uuid": "550e8400-e29b-41d4-a716-446655440000",
        "invoice_number": "RE-2026-0042-1",
        "status": "draft"
    }
}
POST
/flowaccounting/invoices/{uuid}/dunning

Mahnung versenden

Beauftragt eine Zahlungserinnerung oder Mahnung. level muss genau die nächste fällige Stufe sein: eine übersprungene oder wiederholte Stufe wird mit 422 und dunning_level_not_due abgelehnt. Welche Stufe fällig ist, richtet sich nach den Mahnfristen der Teameinstellungen und den bereits versendeten Stufen, also nach denselben Regeln wie der automatische Mahnlauf. Ohne recipient_emails gelten die Empfänger des Kunden.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
level string
Pflicht
Mahnstufe: reminder, dunning_1, dunning_2 oder dunning_3
recipient_emails array Abweichende Empfängeradressen, höchstens 50
curl -X POST "https://api.flowsuite.one/flowaccounting/invoices/{uuid}/dunning" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"level": "value", "recipient_emails": []}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/dunning', [
        'level' => 'value',
        'recipient_emails' => [],
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/dunning', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    level: 'value',
    recipient_emails: [],
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'level': 'value',
    'recipient_emails': [],
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/invoices/{uuid}/dunning',
    headers=headers,
    json=payload,
)

data = response.json()
{
    "success": true,
    "level": "reminder",
    "data": {
        "uuid": "550e8400-e29b-41d4-a716-446655440000",
        "status": "overdue"
    }
}
POST
/flowaccounting/invoices/{uuid}/mark-paid

Rechnung als bezahlt markieren

Markiert die Rechnung über eine Stripe-PaymentIntent-ID als vollständig bezahlt. Idempotent: Eine erneute Anfrage mit derselben PaymentIntent-ID gibt den aktuellen Stand zurück (200). Zulässige Ausgangsstatus: sent, requires_action, past_due.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
stripe_payment_intent_id string
Pflicht
Stripe-PaymentIntent-ID (pi_3Q...)
date_paid string Zahlungsdatum (YYYY-MM-DD), spätestens heute (Kalendertag in Deutschland)
curl -X POST "https://api.flowsuite.one/flowaccounting/invoices/{uuid}/mark-paid" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"stripe_payment_intent_id": "value", "date_paid": "value"}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/mark-paid', [
        'stripe_payment_intent_id' => 'value',
        'date_paid' => 'value',
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/mark-paid', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    stripe_payment_intent_id: 'value',
    date_paid: 'value',
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'stripe_payment_intent_id': 'value',
    'date_paid': 'value',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/invoices/{uuid}/mark-paid',
    headers=headers,
    json=payload,
)

data = response.json()
POST
/flowaccounting/invoices/{uuid}/record-payment-intent

PaymentIntent speichern

Speichert eine Stripe-PaymentIntent-ID an der Rechnung, ohne den Zahlstatus auf paid zu setzen. Für 3DS-ausstehende oder überfällige Zahlungen.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
stripe_payment_intent_id string
Pflicht
Stripe-PaymentIntent-ID
status string Optional: past_due | requires_action
curl -X POST "https://api.flowsuite.one/flowaccounting/invoices/{uuid}/record-payment-intent" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"stripe_payment_intent_id": "value", "status": "value"}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/record-payment-intent', [
        'stripe_payment_intent_id' => 'value',
        'status' => 'value',
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/record-payment-intent', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    stripe_payment_intent_id: 'value',
    status: 'value',
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'stripe_payment_intent_id': 'value',
    'status': 'value',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/invoices/{uuid}/record-payment-intent',
    headers=headers,
    json=payload,
)

data = response.json()
POST
/flowaccounting/invoices/{uuid}/charge

Rechnung per Stripe abbuchen

Löst die Abbuchung der Rechnung über die hinterlegte Stripe-Zahlungsart aus (Karte oder SEPA-Lastschrift). Voraussetzung: Die Rechnung hat einen Kunden und eine Stripe-gestützte Zahlungsart, sonst antwortet der Endpoint mit 422 und einem error_code (no_client, wrong_payment_method). Ein Entwurf wird vor der Abbuchung ausgestellt (Rechnungsnummer, Status sent, ohne E-Mail), denn eine Zahlung läuft nie gegen eine Rechnung ohne Nummer; kollidiert dabei der Nummernkreis, antwortet der Endpoint mit 409 und error_code: document_number_conflict, und der Entwurf bleibt unverändert. Eine abgelehnte Zahlung ist kein Anfragefehler: Die Antwort ist 200 mit charged: false. Ein wiederholter Aufruf bucht nicht doppelt ab. Ist Stripe vorübergehend nicht erreichbar, antwortet der Endpoint mit 503. Der Aufruf ist pro API-Key begrenzt.

Bearer pk_… oder at_…

curl -X POST "https://api.flowsuite.one/flowaccounting/invoices/{uuid}/charge" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/charge');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/charge', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/invoices/{uuid}/charge',
    headers=headers,
)

data = response.json()
GET
/flowaccounting/invoices/{uuid}/payment-status

Zahlstatus abfragen

Schlanke Statusabfrage für das Polling nach einer Abbuchung, ohne Positionen und Transaktionen. Liefert uuid, status, payment_intent_status, last_charge_error und stripe_charge_id. SEPA-Lastschriften werden erst nach Tagen endgültig bestätigt, der Status ändert sich dann ohne weiteren Aufruf.

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/invoices/{uuid}/payment-status" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/payment-status');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/payment-status', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/invoices/{uuid}/payment-status',
    headers=headers,
)

data = response.json()
GET
/flowaccounting/invoices/{uuid}/issue-check

Prüfliste vor dem Ausstellen

Prüft eine Rechnung vor dem Ausstellen auf Pflichtangaben nach § 14 und § 14a UStG (Anschrift von Aussteller und Kunde, Steuernummer oder USt-IdNr., Positionen, Leistungsdatum, Reverse Charge, § 19 UStG, Fristen) und liefert die Befunde. Nur lesend. findings ist eine Liste mit code (z. B. seller.address, buyer.vat_id, tax.small_business_limit), severity (error, warning oder info), message in der Sprache des Key-Inhabers, legal_basis und target (wo der Befund behoben wird: invoice, recipient, company, tax_profile). blocks_manual_issue sagt, ob die Weboberfläche das Ausstellen wegen Fehlern verweigert, requires_confirmation, ob dort Hinweise zu bestätigen sind. Das Ausstellen über die API (POST /invoices/{uuid}/status, POST /invoices/{uuid}/send) wird nie blockiert (blocks_api_issue ist immer false); die Befunde werden beim Ausstellen mit der Rechnung gespeichert und stehen danach in issued_snapshot. Ohne bestätigtes Steuerprofil sind die Befunde, die vom Umsatzsteuerstatus abhängen (z. B. Steuernummer, Leistungsdatum, Reverse Charge, Fristen), nur info. Die Pflichtangaben jeder Rechnung bleiben auch dann Fehler und sperren das Ausstellen in der Weboberfläche: Anschrift des Ausstellers, Name und Anschrift des Kunden, Rechnungsdatum und Positionen mit Menge; ebenso die Prüfung der E-Rechnung. Die § 19-Warnung (tax.small_business_limit) bleibt eine Warnung; tax_profile nennt den verwendeten Stand (confirmed, vat_regime, governs). Teams, die laut Steuerprofil in Deutschland nicht umsatzsteuerlich registriert sind, erhalten keine deutschen USt-Befunde. Eine unbekannte UUID ergibt 404.

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/invoices/{uuid}/issue-check" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/issue-check');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/issue-check', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/invoices/{uuid}/issue-check',
    headers=headers,
)

data = response.json()
{
    "success": true,
    "data": {
        "uuid": "550e8400-e29b-41d4-a716-446655440000",
        "status": "draft",
        "is_draft": true,
        "blocks_api_issue": false,
        "checked_at": "2026-11-23T10:00:00+01:00",
        "blocks_manual_issue": true,
        "requires_confirmation": true,
        "summary": {
            "errors": 1,
            "warnings": 1,
            "infos": 0
        },
        "tax_profile": {
            "version_uuid": "0f6d…",
            "confirmed": true,
            "vat_regime": "standard",
            "governs": true
        },
        "findings": [
            {
                "code": "seller.tax_id",
                "severity": "error",
                "message": "Deine Steuernummer oder USt-IdNr. fehlt. Eine davon muss auf jeder Rechnung stehen.",
                "legal_basis": "§ 14 Abs. 4 Nr. 2 UStG",
                "target": "company"
            },
            {
                "code": "service_date.missing",
                "severity": "warning",
                "message": "Es ist kein Leistungsdatum angegeben. Trage den Leistungszeitraum ein, oder bestätige, dass die Leistung am Rechnungsdatum erbracht wurde.",
                "legal_basis": "§ 14 Abs. 4 Nr. 6 UStG",
                "target": "invoice"
            }
        ],
        "issued_snapshot": null
    }
}
GET
/flowaccounting/invoices/{uuid}/einvoice

Archivierte E-Rechnung herunterladen

Liefert die beim Ausstellen archivierte E-Rechnung der Rechnung Byte für Byte: bei XRechnung die XML-Datei (application/xml), bei ZUGFeRD das PDF/A-3 mit eingebetteter XML (application/pdf). Antwort ist ein Datei-Download, kein JSON; es wird nie neu erzeugt. Header: X-FlowAccounting-Einvoice-SHA256 (SHA-256 der gelieferten Datei), X-FlowAccounting-Einvoice-XML-SHA256 (SHA-256 der Rechnungs-XML, bei ZUGFeRD der eingebetteten), X-FlowAccounting-Einvoice-Uuid (Archiveintrag). Ohne archivierte E-Rechnung (Entwurf, klassisches PDF, vor der Archivierung ausgestellt) antwortet der Endpoint mit 404 und error: einvoice_not_archived; besteht die Datei die Hash-Prüfung nicht, mit 409 und error: einvoice_integrity_failed. Eine unbekannte UUID oder eine Rechnung eines anderen Teams ergibt 404.

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/invoices/{uuid}/einvoice" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/einvoice');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/einvoice', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/invoices/{uuid}/einvoice',
    headers=headers,
)

data = response.json()
Die Antwort ist eine Datei, kein JSON.
GET
/flowaccounting/invoices/{uuid}/einvoice/validation

Prüfbericht der archivierten E-Rechnung

Liefert den letzten Prüfbericht der archivierten E-Rechnung der Rechnung. Nur lesend. Die Prüfung lief beim Archivieren auf genau den ausgestellten Bytes (Wohlgeformtheit, XSD, Geschäftsregeln nach EN 16931 und XRechnung, Pflichtangaben nach § 14 Abs. 4 UStG). validation_status ist valid, valid_with_warnings, business_rule_errors, mandatory_field_errors oder format_error. report.messages ist eine Liste mit code (z. B. BR-DE-2, FAC-PFLICHT-6), severity (error oder warning), category (format, business_rule, mandatory_vat) und message. Ohne archivierte E-Rechnung 404 mit error: einvoice_not_archived; eine unbekannte UUID oder eine Rechnung eines anderen Teams ergibt 404.

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/invoices/{uuid}/einvoice/validation" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/einvoice/validation');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/einvoice/validation', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/invoices/{uuid}/einvoice/validation',
    headers=headers,
)

data = response.json()
{
    "success": true,
    "data": {
        "uuid": "8d1f2c4e-6a0b-4c1d-9e2f-3a4b5c6d7e8f",
        "document_uuid": "550e8400-e29b-41d4-a716-446655440000",
        "format": "xrechnung",
        "profile": "xrechnung_3",
        "specification_id": "urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0",
        "type_code": "380",
        "invoice_number": "RE-00042",
        "xml_sha256": "3f5a…",
        "file_sha256": "3f5a…",
        "archived_at": "2026-11-24T10:00:00+01:00",
        "validation_status": "valid_with_warnings",
        "report": {
            "uuid": "0c9e…",
            "engine": "internal",
            "engine_version": "internal-1.0",
            "status": "valid_with_warnings",
            "errors_count": 0,
            "warnings_count": 1,
            "messages": [
                {
                    "code": "FAC-FX-2",
                    "severity": "warning",
                    "category": "mandatory_vat",
                    "message": "Die Umsatzsteuer in Euro (BT-111) beruht auf einem vorläufigen Kurs, der BMF-Monatskurs ist noch nicht veröffentlicht."
                }
            ],
            "created_at": "2026-11-24T10:00:00+01:00"
        }
    }
}

Rechnungspositionen

Nur bei draft bearbeitbar
Positionen können nur verändert werden, solange sich die Rechnung im Status draft befindet. Nach jeder Änderung werden die Rechnungssummen neu berechnet.
GET
/flowaccounting/invoices/{uuid}/items

Positionen auflisten

Alle Positionen einer Rechnung auflisten.

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/invoices/{uuid}/items" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/items');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/items', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/invoices/{uuid}/items',
    headers=headers,
)

data = response.json()
POST
/flowaccounting/invoices/{uuid}/items

Position hinzufügen

Fügt der Rechnung eine Position hinzu. Breaking Change: Das frühere numerische Feld product_id wird nicht mehr akzeptiert; das Produkt wird ausschließlich über product_uuid angegeben.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
quantity number
Pflicht
Menge (min 0.01)
unit_price number
Pflicht
Einzelpreis (negativ erlaubt für Rechnungskorrekturen)
name string Positionsbezeichnung (max 255)
description string Beschreibung (max 1000)
tax_rate number Steuersatz in Prozent (0-100). Ohne Angabe 0 %
unit string Einheit (z.B. Std.)
product_uuid string Produkt-UUID (fac_products, teamgebunden)
curl -X POST "https://api.flowsuite.one/flowaccounting/invoices/{uuid}/items" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"quantity": 0, "unit_price": 0, "name": "value", "description": "value", "tax_rate": 0, "unit": "value", "product_uuid": "value"}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/items', [
        'quantity' => 0,
        'unit_price' => 0,
        'name' => 'value',
        'description' => 'value',
        'tax_rate' => 0,
        'unit' => 'value',
        'product_uuid' => 'value',
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/items', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    quantity: 0,
    unit_price: 0,
    name: 'value',
    description: 'value',
    tax_rate: 0,
    unit: 'value',
    product_uuid: 'value',
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'quantity': 0,
    'unit_price': 0,
    'name': 'value',
    'description': 'value',
    'tax_rate': 0,
    'unit': 'value',
    'product_uuid': 'value',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/invoices/{uuid}/items',
    headers=headers,
    json=payload,
)

data = response.json()
PUT
/flowaccounting/invoices/{uuid}/items/{itemUuid}

Position bearbeiten

Position bearbeiten. Die Position wird über ihre UUID adressiert; numerische IDs werden nicht mehr akzeptiert (HTTP 404). Nur bei draft.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
quantity number Menge
unit_price number Einzelpreis
name string Positionsbezeichnung
curl -X PUT "https://api.flowsuite.one/flowaccounting/invoices/{uuid}/items/{itemUuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"quantity": 0, "unit_price": 0, "name": "value"}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->put('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/items/{itemUuid}', [
        'quantity' => 0,
        'unit_price' => 0,
        'name' => 'value',
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/items/{itemUuid}', {
  method: 'PUT',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    quantity: 0,
    unit_price: 0,
    name: 'value',
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'quantity': 0,
    'unit_price': 0,
    'name': 'value',
}

response = requests.put(
    'https://api.flowsuite.one/flowaccounting/invoices/{uuid}/items/{itemUuid}',
    headers=headers,
    json=payload,
)

data = response.json()
DELETE
/flowaccounting/invoices/{uuid}/items/{itemUuid}

Position löschen

Position löschen. Die Position wird über ihre UUID adressiert. Nur bei draft.

Bearer pk_… oder at_…

curl -X DELETE "https://api.flowsuite.one/flowaccounting/invoices/{uuid}/items/{itemUuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->delete('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/items/{itemUuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/items/{itemUuid}', {
  method: 'DELETE',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.delete(
    'https://api.flowsuite.one/flowaccounting/invoices/{uuid}/items/{itemUuid}',
    headers=headers,
)

data = response.json()

Transaktionen

Zahlungen und Rechnungskorrekturen werden als Transaktionen einer Rechnung erfasst. Der Zahlstatus der Rechnung (partially_paid, paid) wird automatisch neu berechnet.

GET
/flowaccounting/invoices/{uuid}/transactions

Transaktionen einer Rechnung auflisten

Alle Transaktionen einer Rechnung auflisten (sortiert nach Datum, absteigend).

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/invoices/{uuid}/transactions" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/transactions');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/transactions', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/invoices/{uuid}/transactions',
    headers=headers,
)

data = response.json()
POST
/flowaccounting/invoices/{uuid}/transactions

Transaktion erfassen

Erfasst eine Transaktion. Nur zulässig, wenn die Rechnung im Status sent, partially_paid oder overdue ist. Die Transaktion wird in der Währung der Rechnung gebucht. Gleicht sie die Rechnung aus, übernimmt die Rechnung das transaction_date dieser Zahlung als paid_date, auch bei nachträglich erfassten Zahlungen. § 19-Hinweis: Nur Zahlungen vom Typ payment lösen ihn aus. Ist das Team laut bestätigtem Steuerprofil Kleinunternehmer in Deutschland und würde diese Zahlung die Umsatzgrenze ihres Kalenderjahres überschreiten (oder ist sie schon überschritten), enthält die Antwort zusätzlich das Feld notices: eine Liste mit code small_business_limit, level would_exceed oder already_exceeded, context payment, year, den Beträgen in Euro (limit_eur, known_turnover_eur, amount_eur, turnover_after_eur), complete (false, wenn Zahlungen ungeklärt sind), blocking (immer false) und message. Der Hinweis blockiert nie und ändert das Steuerprofil nicht; ohne Hinweis fehlt das Feld.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
type string
Pflicht
Transaktionstyp: payment | refund | credit
amount number
Pflicht
Betrag (min 0.01)
transaction_date string
Pflicht
Transaktionsdatum (YYYY-MM-DD), spätestens heute (Kalendertag in Deutschland)
payment_method string
Pflicht
Zahlungsmethode: bank_transfer | sepa | stripe | paypal | cash | other
reference string Referenz (max 255)
notes string Notiz (max 1000)
curl -X POST "https://api.flowsuite.one/flowaccounting/invoices/{uuid}/transactions" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"type": "value", "amount": 0, "transaction_date": "value", "payment_method": "value", "reference": "value", "notes": "value"}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/transactions', [
        'type' => 'value',
        'amount' => 0,
        'transaction_date' => 'value',
        'payment_method' => 'value',
        'reference' => 'value',
        'notes' => 'value',
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/transactions', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    type: 'value',
    amount: 0,
    transaction_date: 'value',
    payment_method: 'value',
    reference: 'value',
    notes: 'value',
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'type': 'value',
    'amount': 0,
    'transaction_date': 'value',
    'payment_method': 'value',
    'reference': 'value',
    'notes': 'value',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/invoices/{uuid}/transactions',
    headers=headers,
    json=payload,
)

data = response.json()
{
    "success": true,
    "data": {
        "uuid": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
        "amount": 1190,
        "currency_code": "EUR",
        "type": "payment",
        "transaction_date": "2026-01-16T00:00:00+00:00"
    },
    "invoice": {
        "uuid": "550e8400-...",
        "status": "paid",
        "paid_date": "2026-01-16",
        "total_paid": 1190,
        "remaining_amount": 0
    }
}
DELETE
/flowaccounting/invoices/{uuid}/transactions/{transactionUuid}

Transaktion löschen

Transaktion löschen. Die Transaktion wird über ihre UUID adressiert; numerische IDs werden nicht mehr akzeptiert (HTTP 404). Nicht möglich bei Rechnungen im Status draft oder cancelled.

Bearer pk_… oder at_…

curl -X DELETE "https://api.flowsuite.one/flowaccounting/invoices/{uuid}/transactions/{transactionUuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->delete('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/transactions/{transactionUuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/invoices/{uuid}/transactions/{transactionUuid}', {
  method: 'DELETE',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.delete(
    'https://api.flowsuite.one/flowaccounting/invoices/{uuid}/transactions/{transactionUuid}',
    headers=headers,
)

data = response.json()
GET
/flowaccounting/transactions

Team-weite Transaktionsübersicht

Team-weite Transaktions-Übersicht über alle Rechnungen (paginiert, 25 pro Seite).

Bearer pk_… oder at_…

Query-Parameter

Name Typ Pflicht Beschreibung
from string Transaktionsdatum ab (YYYY-MM-DD)
to string Transaktionsdatum bis (YYYY-MM-DD)
search string Suchbegriff (Notiz, Referenz, Rechnungsnummer)
curl -X GET "https://api.flowsuite.one/flowaccounting/transactions" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/transactions');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/transactions', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/transactions',
    headers=headers,
)

data = response.json()

Produkte

GET
/flowaccounting/products

Produkte auflisten

Produkte auflisten (paginiert, sortiert nach Nutzungshäufigkeit).

Bearer pk_… oder at_…

Query-Parameter

Name Typ Pflicht Beschreibung
type string Filter nach Quelle (z.B. manual)
search string Suchbegriff (Titel/Beschreibung)
per_page integer Anzahl pro Seite (1-200, Standard: 50)
curl -X GET "https://api.flowsuite.one/flowaccounting/products" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/products');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/products', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/products',
    headers=headers,
)

data = response.json()
GET
/flowaccounting/products/{uuid}

Produkt abrufen

Ruft ein einzelnes Produkt Ihres Teams über die uuid ab. Unbekannte oder teamfremde Einträge führen zu 404.

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/products/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/products/{uuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/products/{uuid}', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/products/{uuid}',
    headers=headers,
)

data = response.json()
POST
/flowaccounting/products

Produkt anlegen

Neues Produkt anlegen.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
title string
Pflicht
Produktname (max 255)
unit_price number
Pflicht
Netto-Einzelpreis (min 0). Pflicht, wenn <code>unit_price_gross</code> fehlt; nicht zusammen mit <code>unit_price_gross</code>
unit_price_gross number Brutto-Einzelpreis inkl. MwSt. (min 0), alternativ zu <code>unit_price</code>. Wird exakt gespeichert, der Nettopreis wird daraus abgeleitet
tax_rate number
Pflicht
Steuersatz (0-100)
description string Beschreibung
unit string Einheit (max 50)
is_active boolean Aktiv (Standard: true)
curl -X POST "https://api.flowsuite.one/flowaccounting/products" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"title": "value", "unit_price": 0, "unit_price_gross": 0, "tax_rate": 0, "description": "value", "unit": "value", "is_active": true}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/products', [
        'title' => 'value',
        'unit_price' => 0,
        'unit_price_gross' => 0,
        'tax_rate' => 0,
        'description' => 'value',
        'unit' => 'value',
        'is_active' => true,
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/products', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    title: 'value',
    unit_price: 0,
    unit_price_gross: 0,
    tax_rate: 0,
    description: 'value',
    unit: 'value',
    is_active: true,
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'title': 'value',
    'unit_price': 0,
    'unit_price_gross': 0,
    'tax_rate': 0,
    'description': 'value',
    'unit': 'value',
    'is_active': True,
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/products',
    headers=headers,
    json=payload,
)

data = response.json()
PUT
/flowaccounting/products/{uuid}

Produkt aktualisieren

Produkt aktualisieren.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
title string Produktname
unit_price number Netto-Einzelpreis, macht das Produkt zu einem Netto-Produkt
unit_price_gross number Brutto-Einzelpreis inkl. MwSt., wird exakt gespeichert; nicht zusammen mit <code>unit_price</code>
tax_rate number Steuersatz
is_active boolean Aktiv
curl -X PUT "https://api.flowsuite.one/flowaccounting/products/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"title": "value", "unit_price": 0, "unit_price_gross": 0, "tax_rate": 0, "is_active": true}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->put('https://api.flowsuite.one/flowaccounting/products/{uuid}', [
        'title' => 'value',
        'unit_price' => 0,
        'unit_price_gross' => 0,
        'tax_rate' => 0,
        'is_active' => true,
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/products/{uuid}', {
  method: 'PUT',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    title: 'value',
    unit_price: 0,
    unit_price_gross: 0,
    tax_rate: 0,
    is_active: true,
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'title': 'value',
    'unit_price': 0,
    'unit_price_gross': 0,
    'tax_rate': 0,
    'is_active': True,
}

response = requests.put(
    'https://api.flowsuite.one/flowaccounting/products/{uuid}',
    headers=headers,
    json=payload,
)

data = response.json()
DELETE
/flowaccounting/products/{uuid}

Produkt löschen

Produkt löschen.

Bearer pk_… oder at_…

curl -X DELETE "https://api.flowsuite.one/flowaccounting/products/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->delete('https://api.flowsuite.one/flowaccounting/products/{uuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/products/{uuid}', {
  method: 'DELETE',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.delete(
    'https://api.flowsuite.one/flowaccounting/products/{uuid}',
    headers=headers,
)

data = response.json()

Steuersätze

Adressierung per UUID
Steuersätze werden ausschließlich über ihre UUID adressiert. Die frühere numerische ID wird nicht mehr akzeptiert (HTTP 404).
GET
/flowaccounting/tax-rates

Steuersätze auflisten

Alle Steuersätze des Teams abrufen (unpaginiert, sortiert nach sort_order).

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/tax-rates" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/tax-rates');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/tax-rates', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/tax-rates',
    headers=headers,
)

data = response.json()
GET
/flowaccounting/tax-rates/{uuid}

Steuersatz abrufen

Ruft einen einzelnen Steuersatz Ihres Teams über die uuid ab. Unbekannte oder teamfremde Einträge führen zu 404.

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/tax-rates/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/tax-rates/{uuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/tax-rates/{uuid}', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/tax-rates/{uuid}',
    headers=headers,
)

data = response.json()
POST
/flowaccounting/tax-rates

Steuersatz anlegen

Neuen Steuersatz anlegen.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
name string
Pflicht
Bezeichnung (max 255)
rate number
Pflicht
Steuersatz in Prozent (0-100)
description string Beschreibung
is_default boolean Als Standard setzen
is_active boolean Aktiv
sort_order integer Sortierreihenfolge (>= 0)
curl -X POST "https://api.flowsuite.one/flowaccounting/tax-rates" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"name": "value", "rate": 0, "description": "value", "is_default": true, "is_active": true, "sort_order": 0}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/tax-rates', [
        'name' => 'value',
        'rate' => 0,
        'description' => 'value',
        'is_default' => true,
        'is_active' => true,
        'sort_order' => 0,
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/tax-rates', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    name: 'value',
    rate: 0,
    description: 'value',
    is_default: true,
    is_active: true,
    sort_order: 0,
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'name': 'value',
    'rate': 0,
    'description': 'value',
    'is_default': True,
    'is_active': True,
    'sort_order': 0,
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/tax-rates',
    headers=headers,
    json=payload,
)

data = response.json()
PUT
/flowaccounting/tax-rates/{uuid}

Steuersatz aktualisieren

Steuersatz aktualisieren.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
name string Bezeichnung
rate number Steuersatz
is_active boolean Aktiv
curl -X PUT "https://api.flowsuite.one/flowaccounting/tax-rates/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"name": "value", "rate": 0, "is_active": true}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->put('https://api.flowsuite.one/flowaccounting/tax-rates/{uuid}', [
        'name' => 'value',
        'rate' => 0,
        'is_active' => true,
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/tax-rates/{uuid}', {
  method: 'PUT',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    name: 'value',
    rate: 0,
    is_active: true,
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'name': 'value',
    'rate': 0,
    'is_active': True,
}

response = requests.put(
    'https://api.flowsuite.one/flowaccounting/tax-rates/{uuid}',
    headers=headers,
    json=payload,
)

data = response.json()
DELETE
/flowaccounting/tax-rates/{uuid}

Steuersatz löschen

Steuersatz löschen. Nicht möglich, wenn er in Rechnungspositionen verwendet wird (422).

Bearer pk_… oder at_…

curl -X DELETE "https://api.flowsuite.one/flowaccounting/tax-rates/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->delete('https://api.flowsuite.one/flowaccounting/tax-rates/{uuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/tax-rates/{uuid}', {
  method: 'DELETE',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.delete(
    'https://api.flowsuite.one/flowaccounting/tax-rates/{uuid}',
    headers=headers,
)

data = response.json()
POST
/flowaccounting/tax-rates/{uuid}/default

Als Standard setzen

Setzt diesen Steuersatz als Team-Standard (alle anderen verlieren das Standard-Flag).

Bearer pk_… oder at_…

curl -X POST "https://api.flowsuite.one/flowaccounting/tax-rates/{uuid}/default" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/tax-rates/{uuid}/default');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/tax-rates/{uuid}/default', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/tax-rates/{uuid}/default',
    headers=headers,
)

data = response.json()

Wiederkehrende Rechnungen

Automatische Rechnungserzeugung
Aus aktiven Vorlagen werden in festen Intervallen automatisch Rechnungen erzeugt. Pausieren Sie Vorlagen, wenn keine Rechnungen erzeugt werden sollen.
GET
/flowaccounting/recurring-invoices

Auflisten

Auflisten (paginiert, 25 pro Seite).

Bearer pk_… oder at_…

Query-Parameter

Name Typ Pflicht Beschreibung
status string Filter: active, paused
client_uuid string Filter nach Kunden-UUID. Breaking Change: der frühere Filter client_id wird mit 422 abgelehnt, statt stillschweigend ignoriert zu werden
curl -X GET "https://api.flowsuite.one/flowaccounting/recurring-invoices" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/recurring-invoices');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/recurring-invoices', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/recurring-invoices',
    headers=headers,
)

data = response.json()
GET
/flowaccounting/recurring-invoices/{uuid}

Wiederkehrende Rechnung abrufen

Ruft eine einzelne wiederkehrende Rechnung Ihres Teams über die uuid ab. Unbekannte oder teamfremde Einträge führen zu 404.

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/recurring-invoices/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/recurring-invoices/{uuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/recurring-invoices/{uuid}', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/recurring-invoices/{uuid}',
    headers=headers,
)

data = response.json()
POST
/flowaccounting/recurring-invoices

Neue wiederkehrende Rechnung anlegen

Neue wiederkehrende Rechnung anlegen. Breaking Change: Das frühere numerische Feld client_id wird nicht mehr akzeptiert; der Kunde wird ausschließlich über client_uuid angegeben.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
tax_exemption_basis string Vorschrift der Steuerbefreiung, wenn der Kunde die Steuerbehandlung tax_exempt hat, z. B. „§ 4 Nr. 14“ (max. 40 Zeichen). Wird in die erzeugten Rechnungen übernommen und im Hinweis gedruckt
client_uuid string
Pflicht
Kunden-UUID (cmm_clients, teamgebunden)
interval_value integer
Pflicht
Intervallwert (>= 1)
interval_unit string
Pflicht
Intervalleinheit: day | week | month | year
start_date string
Pflicht
Startdatum (YYYY-MM-DD)
template_items array
Pflicht
Positionen der Vorlage (min 1)
auto_send boolean Automatisch versenden
end_date string Enddatum (>= start_date)
status string Status: active | paused
curl -X POST "https://api.flowsuite.one/flowaccounting/recurring-invoices" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"tax_exemption_basis": "value", "client_uuid": "value", "interval_value": 0, "interval_unit": "value", "start_date": "value", "template_items": [], "auto_send": true, "end_date": "value", "status": "value"}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/recurring-invoices', [
        'tax_exemption_basis' => 'value',
        'client_uuid' => 'value',
        'interval_value' => 0,
        'interval_unit' => 'value',
        'start_date' => 'value',
        'template_items' => [],
        'auto_send' => true,
        'end_date' => 'value',
        'status' => 'value',
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/recurring-invoices', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    tax_exemption_basis: 'value',
    client_uuid: 'value',
    interval_value: 0,
    interval_unit: 'value',
    start_date: 'value',
    template_items: [],
    auto_send: true,
    end_date: 'value',
    status: 'value',
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'tax_exemption_basis': 'value',
    'client_uuid': 'value',
    'interval_value': 0,
    'interval_unit': 'value',
    'start_date': 'value',
    'template_items': [],
    'auto_send': True,
    'end_date': 'value',
    'status': 'value',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/recurring-invoices',
    headers=headers,
    json=payload,
)

data = response.json()
PUT
/flowaccounting/recurring-invoices/{uuid}

Aktualisieren

Wiederkehrende Rechnung aktualisieren.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
tax_exemption_basis string Vorschrift der Steuerbefreiung, wenn der Kunde die Steuerbehandlung tax_exempt hat, z. B. „§ 4 Nr. 14“ (max. 40 Zeichen). Wird in die erzeugten Rechnungen übernommen und im Hinweis gedruckt
interval_value integer Intervallwert
interval_unit string Intervalleinheit
auto_send boolean Automatisch versenden
curl -X PUT "https://api.flowsuite.one/flowaccounting/recurring-invoices/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"tax_exemption_basis": "value", "interval_value": 0, "interval_unit": "value", "auto_send": true}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->put('https://api.flowsuite.one/flowaccounting/recurring-invoices/{uuid}', [
        'tax_exemption_basis' => 'value',
        'interval_value' => 0,
        'interval_unit' => 'value',
        'auto_send' => true,
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/recurring-invoices/{uuid}', {
  method: 'PUT',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    tax_exemption_basis: 'value',
    interval_value: 0,
    interval_unit: 'value',
    auto_send: true,
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'tax_exemption_basis': 'value',
    'interval_value': 0,
    'interval_unit': 'value',
    'auto_send': True,
}

response = requests.put(
    'https://api.flowsuite.one/flowaccounting/recurring-invoices/{uuid}',
    headers=headers,
    json=payload,
)

data = response.json()
DELETE
/flowaccounting/recurring-invoices/{uuid}

Löschen

Wiederkehrende Rechnung löschen.

Bearer pk_… oder at_…

curl -X DELETE "https://api.flowsuite.one/flowaccounting/recurring-invoices/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->delete('https://api.flowsuite.one/flowaccounting/recurring-invoices/{uuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/recurring-invoices/{uuid}', {
  method: 'DELETE',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.delete(
    'https://api.flowsuite.one/flowaccounting/recurring-invoices/{uuid}',
    headers=headers,
)

data = response.json()
POST
/flowaccounting/recurring-invoices/{uuid}/pause

Pausieren

Pausiert die Vorlage (Status paused) - es werden keine neuen Rechnungen erzeugt.

Bearer pk_… oder at_…

curl -X POST "https://api.flowsuite.one/flowaccounting/recurring-invoices/{uuid}/pause" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/recurring-invoices/{uuid}/pause');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/recurring-invoices/{uuid}/pause', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/recurring-invoices/{uuid}/pause',
    headers=headers,
)

data = response.json()
POST
/flowaccounting/recurring-invoices/{uuid}/activate

Aktivieren

Aktiviert die Vorlage wieder (Status active) und legt dabei fest, was der automatische Lauf tun darf. auto_send, auto_charge und recipient_emails sind die eigentliche Freigabe: ohne sie entstehen nur Entwürfe. auto_send ist standardmäßig aktiv, auto_charge standardmäßig aus und setzt eine Stripe- oder SEPA-Zahlungsart auf der Serie voraus (sonst 422). Ohne recipient_emails gelten die Empfänger des Kunden; ist dort keine Adresse hinterlegt und soll versendet werden, antwortet die API mit 422.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
auto_send boolean Erzeugte Rechnungen automatisch versenden (Standard: true)
auto_charge boolean Erzeugte Rechnungen automatisch einziehen (Standard: false, benötigt Zahlungsart stripe oder sepa)
recipient_emails array Empfängeradressen des automatischen Versands, höchstens 50
curl -X POST "https://api.flowsuite.one/flowaccounting/recurring-invoices/{uuid}/activate" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"auto_send": true, "auto_charge": true, "recipient_emails": []}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/recurring-invoices/{uuid}/activate', [
        'auto_send' => true,
        'auto_charge' => true,
        'recipient_emails' => [],
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/recurring-invoices/{uuid}/activate', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    auto_send: true,
    auto_charge: true,
    recipient_emails: [],
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'auto_send': True,
    'auto_charge': True,
    'recipient_emails': [],
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/recurring-invoices/{uuid}/activate',
    headers=headers,
    json=payload,
)

data = response.json()
POST
/flowaccounting/recurring-invoices/{uuid}/generate

Nächste Rechnung erzeugen

Erzeugt die fällige Rechnung der Serie sofort, ohne auf den nächtlichen Lauf zu warten. Ist derzeit keine Rechnung fällig oder die Freigabe der Serie nicht mehr gültig, antwortet die API mit 422 und nothing_to_generate.

Bearer pk_… oder at_…

curl -X POST "https://api.flowsuite.one/flowaccounting/recurring-invoices/{uuid}/generate" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/recurring-invoices/{uuid}/generate');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/recurring-invoices/{uuid}/generate', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/recurring-invoices/{uuid}/generate',
    headers=headers,
)

data = response.json()
{
    "success": true,
    "data": {
        "uuid": "550e8400-e29b-41d4-a716-446655440000",
        "invoice_number": "RE-2026-0042",
        "status": "sent"
    }
}

Ratenzahlungen

Teilrechnungen statt doppeltem Steuerausweis
Die umgewandelte Rechnung wird storniert oder per Rechnungskorrektur ausgeglichen. Jede Rate wird zu ihrem Termin als eigene, nummerierte Teilrechnung mit anteiliger Umsatzsteuer gestellt und läuft danach durch Versand, Abbuchung und Mahnwesen wie jede andere Rechnung.
GET
/flowaccounting/installment-plans

Auflisten

Ratenzahlungen des Teams (paginiert, 25 pro Seite) mit Beträgen, umgewandelten Rechnungen und Ratenplan.

Bearer pk_… oder at_…

Query-Parameter

Name Typ Pflicht Beschreibung
status string Filter: active, paused, completed, cancelled
client_uuid string Filter nach Kunden-UUID
curl -X GET "https://api.flowsuite.one/flowaccounting/installment-plans" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/installment-plans');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/installment-plans', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/installment-plans',
    headers=headers,
)

data = response.json()
GET
/flowaccounting/installment-plans/{uuid}

Ratenzahlung abrufen

Eine Ratenzahlung mit allen Raten und Teilrechnungen. public_url ist der Link zur öffentlichen Kundenseite (null, solange kein Link erzeugt wurde oder er gesperrt ist). Raten mit kind=extra sind Sonderzahlungen, die der Kunde dort geleistet hat. Unbekannte oder teamfremde Einträge führen zu 404.

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}',
    headers=headers,
)

data = response.json()
POST
/flowaccounting/installment-plans

Rechnungen in Ratenzahlung umwandeln

Wandelt offene, versendete Rechnungen (Quelle manual oder quote_accepted) eines Kunden in eine Ratenzahlung um. Unbezahlte Rechnungen werden storniert, teilweise bezahlte per Rechnungskorrektur über den offenen Rest ausgeglichen. Der offene Betrag wird anschließend zu jedem Termin als nummerierte Teilrechnung gestellt. Abgelehnte Umwandlungen antworten mit 422 und error=installment_plan_refused.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
invoice_uuids array
Pflicht
UUIDs der Rechnungen (teamgebunden, gleicher Kunde und gleiche Währung)
start_date string
Pflicht
Erste Rate am (YYYY-MM-DD)
schedule_mode string
Pflicht
Aufteilung: amount (fester Ratenbetrag, kleinere Schlussrate) | count (Anzahl gleicher Raten) | end_date (bis Enddatum)
installment_amount number Betrag je Rate, Pflicht bei schedule_mode=amount
installment_count integer Anzahl Raten (1 bis 240), Pflicht bei schedule_mode=count
end_date string Letzte Rate spätestens am (YYYY-MM-DD), Pflicht bei schedule_mode=end_date
interval_unit string month (Standard) | week
interval_value integer Intervall (1 bis 12), z. B. 3 mit month = quartalsweise
payment_method string bank_transfer | stripe | sepa | paypal | cash | other (Standard: Zahlungsart der Rechnung)
auto_charge boolean Teilrechnungen am Erstellungstag automatisch einziehen (nur stripe/sepa)
auto_send boolean Teilrechnungen nummerieren und automatisch versenden (Standard true; false = Entwurf)
notes string Hinweis auf jeder Teilrechnung und der Ratenvereinbarung
curl -X POST "https://api.flowsuite.one/flowaccounting/installment-plans" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"invoice_uuids": [], "start_date": "value", "schedule_mode": "value", "installment_amount": 0, "installment_count": 0, "end_date": "value", "interval_unit": "value", "interval_value": 0, "payment_method": "value", "auto_charge": true, "auto_send": true, "notes": "value"}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/installment-plans', [
        'invoice_uuids' => [],
        'start_date' => 'value',
        'schedule_mode' => 'value',
        'installment_amount' => 0,
        'installment_count' => 0,
        'end_date' => 'value',
        'interval_unit' => 'value',
        'interval_value' => 0,
        'payment_method' => 'value',
        'auto_charge' => true,
        'auto_send' => true,
        'notes' => 'value',
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/installment-plans', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    invoice_uuids: [],
    start_date: 'value',
    schedule_mode: 'value',
    installment_amount: 0,
    installment_count: 0,
    end_date: 'value',
    interval_unit: 'value',
    interval_value: 0,
    payment_method: 'value',
    auto_charge: true,
    auto_send: true,
    notes: 'value',
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'invoice_uuids': [],
    'start_date': 'value',
    'schedule_mode': 'value',
    'installment_amount': 0,
    'installment_count': 0,
    'end_date': 'value',
    'interval_unit': 'value',
    'interval_value': 0,
    'payment_method': 'value',
    'auto_charge': True,
    'auto_send': True,
    'notes': 'value',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/installment-plans',
    headers=headers,
    json=payload,
)

data = response.json()
POST
/flowaccounting/installment-plans/{uuid}/invoices

Rechnung hinzufügen

Fügt eine weitere offene Rechnung desselben Kunden hinzu. keep_rate verlängert den Plan bei gleicher Rate, new_rate verteilt den gesamten Rest mit den übergebenen Planwerten neu, separate legt eine zweite Ratenzahlung an und gibt diese zurück.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
invoice_uuid string
Pflicht
UUID der Rechnung (teamgebunden)
add_mode string
Pflicht
keep_rate | new_rate | separate
start_date string Erste Rate, Pflicht bei add_mode=separate
schedule_mode string Aufteilung: amount (fester Ratenbetrag, kleinere Schlussrate) | count (Anzahl gleicher Raten) | end_date (bis Enddatum)
installment_amount number Betrag je Rate, Pflicht bei schedule_mode=amount
installment_count integer Anzahl Raten (1 bis 240), Pflicht bei schedule_mode=count
end_date string Letzte Rate spätestens am (YYYY-MM-DD), Pflicht bei schedule_mode=end_date
interval_unit string month (Standard) | week
interval_value integer Intervall (1 bis 12), z. B. 3 mit month = quartalsweise
payment_method string bank_transfer | stripe | sepa | paypal | cash | other (Standard: Zahlungsart der Rechnung)
auto_charge boolean Teilrechnungen am Erstellungstag automatisch einziehen (nur stripe/sepa)
auto_send boolean Teilrechnungen nummerieren und automatisch versenden (Standard true; false = Entwurf)
notes string Hinweis auf jeder Teilrechnung und der Ratenvereinbarung
curl -X POST "https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}/invoices" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"invoice_uuid": "value", "add_mode": "value", "start_date": "value", "schedule_mode": "value", "installment_amount": 0, "installment_count": 0, "end_date": "value", "interval_unit": "value", "interval_value": 0, "payment_method": "value", "auto_charge": true, "auto_send": true, "notes": "value"}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}/invoices', [
        'invoice_uuid' => 'value',
        'add_mode' => 'value',
        'start_date' => 'value',
        'schedule_mode' => 'value',
        'installment_amount' => 0,
        'installment_count' => 0,
        'end_date' => 'value',
        'interval_unit' => 'value',
        'interval_value' => 0,
        'payment_method' => 'value',
        'auto_charge' => true,
        'auto_send' => true,
        'notes' => 'value',
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}/invoices', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    invoice_uuid: 'value',
    add_mode: 'value',
    start_date: 'value',
    schedule_mode: 'value',
    installment_amount: 0,
    installment_count: 0,
    end_date: 'value',
    interval_unit: 'value',
    interval_value: 0,
    payment_method: 'value',
    auto_charge: true,
    auto_send: true,
    notes: 'value',
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'invoice_uuid': 'value',
    'add_mode': 'value',
    'start_date': 'value',
    'schedule_mode': 'value',
    'installment_amount': 0,
    'installment_count': 0,
    'end_date': 'value',
    'interval_unit': 'value',
    'interval_value': 0,
    'payment_method': 'value',
    'auto_charge': True,
    'auto_send': True,
    'notes': 'value',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}/invoices',
    headers=headers,
    json=payload,
)

data = response.json()
POST
/flowaccounting/installment-plans/{uuid}/reschedule

Raten neu berechnen

Verteilt den noch nicht berechneten Rest neu. Bereits gestellte Teilrechnungen bleiben unverändert.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
schedule_mode string
Pflicht
Aufteilung: amount (fester Ratenbetrag, kleinere Schlussrate) | count (Anzahl gleicher Raten) | end_date (bis Enddatum)
installment_amount number Betrag je Rate, Pflicht bei schedule_mode=amount
installment_count integer Anzahl Raten (1 bis 240), Pflicht bei schedule_mode=count
end_date string Letzte Rate spätestens am (YYYY-MM-DD), Pflicht bei schedule_mode=end_date
interval_unit string month (Standard) | week
interval_value integer Intervall (1 bis 12), z. B. 3 mit month = quartalsweise
start_date string Nächste Rate am (Standard: nächster offener Termin)
curl -X POST "https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}/reschedule" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"schedule_mode": "value", "installment_amount": 0, "installment_count": 0, "end_date": "value", "interval_unit": "value", "interval_value": 0, "start_date": "value"}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}/reschedule', [
        'schedule_mode' => 'value',
        'installment_amount' => 0,
        'installment_count' => 0,
        'end_date' => 'value',
        'interval_unit' => 'value',
        'interval_value' => 0,
        'start_date' => 'value',
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}/reschedule', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    schedule_mode: 'value',
    installment_amount: 0,
    installment_count: 0,
    end_date: 'value',
    interval_unit: 'value',
    interval_value: 0,
    start_date: 'value',
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'schedule_mode': 'value',
    'installment_amount': 0,
    'installment_count': 0,
    'end_date': 'value',
    'interval_unit': 'value',
    'interval_value': 0,
    'start_date': 'value',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}/reschedule',
    headers=headers,
    json=payload,
)

data = response.json()
PUT
/flowaccounting/installment-plans/{uuid}/installments

Raten einzeln setzen

Ersetzt alle noch offenen Raten. Die Summe muss genau dem noch nicht berechneten Rest entsprechen, sonst 422.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
installments array
Pflicht
Liste aus Objekten mit date (YYYY-MM-DD, ab heute) und amount (ab 0,01)
curl -X PUT "https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}/installments" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"installments": []}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->put('https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}/installments', [
        'installments' => [],
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}/installments', {
  method: 'PUT',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    installments: [],
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'installments': [],
}

response = requests.put(
    'https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}/installments',
    headers=headers,
    json=payload,
)

data = response.json()
POST
/flowaccounting/installment-plans/{uuid}/pause

Pausieren

Pausiert eine aktive Ratenzahlung. Es entstehen keine Teilrechnungen, bis sie fortgesetzt wird.

Bearer pk_… oder at_…

curl -X POST "https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}/pause" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}/pause');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}/pause', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}/pause',
    headers=headers,
)

data = response.json()
POST
/flowaccounting/installment-plans/{uuid}/resume

Fortsetzen

Setzt eine pausierte Ratenzahlung fort. Die offenen Raten behalten ihre Beträge und beginnen am neuen Datum.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
next_date string
Pflicht
Nächste Rate am (YYYY-MM-DD, ab heute)
curl -X POST "https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}/resume" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"next_date": "value"}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}/resume', [
        'next_date' => 'value',
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}/resume', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    next_date: 'value',
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'next_date': 'value',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}/resume',
    headers=headers,
    json=payload,
)

data = response.json()
POST
/flowaccounting/installment-plans/{uuid}/cancel

Beenden

Beendet die Ratenzahlung vorzeitig. bill_rest stellt den Rest sofort als letzte Teilrechnung, waive erlässt ihn ohne weitere Rechnung.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
mode string
Pflicht
bill_rest | waive
curl -X POST "https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}/cancel" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"mode": "value"}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}/cancel', [
        'mode' => 'value',
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}/cancel', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    mode: 'value',
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'mode': 'value',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/installment-plans/{uuid}/cancel',
    headers=headers,
    json=payload,
)

data = response.json()

Abrechenbare Positionen

Bereits abgerechnete Positionen
Positionen, die bereits zu einer Rechnung konsolidiert wurden, können weder bearbeitet noch gelöscht werden (422).
GET
/flowaccounting/billable-items

Auflisten

Auflisten (paginiert, 25 pro Seite).

Bearer pk_… oder at_…

Query-Parameter

Name Typ Pflicht Beschreibung
open boolean true = nur offene, false = nur abgerechnete
client_uuid string Filter nach Kunden-UUID. Breaking Change: der frühere Filter client_id wird mit 422 abgelehnt, statt stillschweigend ignoriert zu werden
curl -X GET "https://api.flowsuite.one/flowaccounting/billable-items" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/billable-items');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/billable-items', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/billable-items',
    headers=headers,
)

data = response.json()
GET
/flowaccounting/billable-items/{uuid}

Abrechenbare Position abrufen

Ruft eine einzelne abrechenbare Position Ihres Teams über die uuid ab. Unbekannte oder teamfremde Einträge führen zu 404.

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/billable-items/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/billable-items/{uuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/billable-items/{uuid}', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/billable-items/{uuid}',
    headers=headers,
)

data = response.json()
POST
/flowaccounting/billable-items

Neue Position anlegen

Neue abrechenbare Position anlegen. Breaking Change: Das frühere numerische Feld client_id wird nicht mehr akzeptiert; der Kunde wird ausschließlich über client_uuid angegeben.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
tax_exemption_basis string Vorschrift der Steuerbefreiung, wenn der Kunde die Steuerbehandlung tax_exempt hat, z. B. „§ 4 Nr. 14“ (max. 40 Zeichen). Wird in die erzeugten Rechnungen übernommen und im Hinweis gedruckt
client_uuid string
Pflicht
Kunden-UUID (cmm_clients, teamgebunden)
description string
Pflicht
Beschreibung (max 255)
unit_price number
Pflicht
Einzelpreis
quantity number Menge (min 0.01)
unit string Einheit (max 50)
tax_rate number Steuersatz
due_date string Fälligkeitsdatum
auto_bill boolean Automatisch abrechnen
curl -X POST "https://api.flowsuite.one/flowaccounting/billable-items" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"tax_exemption_basis": "value", "client_uuid": "value", "description": "value", "unit_price": 0, "quantity": 0, "unit": "value", "tax_rate": 0, "due_date": "value", "auto_bill": true}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/billable-items', [
        'tax_exemption_basis' => 'value',
        'client_uuid' => 'value',
        'description' => 'value',
        'unit_price' => 0,
        'quantity' => 0,
        'unit' => 'value',
        'tax_rate' => 0,
        'due_date' => 'value',
        'auto_bill' => true,
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/billable-items', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    tax_exemption_basis: 'value',
    client_uuid: 'value',
    description: 'value',
    unit_price: 0,
    quantity: 0,
    unit: 'value',
    tax_rate: 0,
    due_date: 'value',
    auto_bill: true,
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'tax_exemption_basis': 'value',
    'client_uuid': 'value',
    'description': 'value',
    'unit_price': 0,
    'quantity': 0,
    'unit': 'value',
    'tax_rate': 0,
    'due_date': 'value',
    'auto_bill': True,
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/billable-items',
    headers=headers,
    json=payload,
)

data = response.json()
PUT
/flowaccounting/billable-items/{uuid}

Position bearbeiten

Bearbeiten. Nur möglich, solange die Position nicht abgerechnet ist (422).

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
tax_exemption_basis string Vorschrift der Steuerbefreiung, wenn der Kunde die Steuerbehandlung tax_exempt hat, z. B. „§ 4 Nr. 14“ (max. 40 Zeichen). Wird in die erzeugten Rechnungen übernommen und im Hinweis gedruckt
description string Beschreibung
unit_price number Einzelpreis
quantity number Menge
curl -X PUT "https://api.flowsuite.one/flowaccounting/billable-items/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"tax_exemption_basis": "value", "description": "value", "unit_price": 0, "quantity": 0}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->put('https://api.flowsuite.one/flowaccounting/billable-items/{uuid}', [
        'tax_exemption_basis' => 'value',
        'description' => 'value',
        'unit_price' => 0,
        'quantity' => 0,
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/billable-items/{uuid}', {
  method: 'PUT',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    tax_exemption_basis: 'value',
    description: 'value',
    unit_price: 0,
    quantity: 0,
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'tax_exemption_basis': 'value',
    'description': 'value',
    'unit_price': 0,
    'quantity': 0,
}

response = requests.put(
    'https://api.flowsuite.one/flowaccounting/billable-items/{uuid}',
    headers=headers,
    json=payload,
)

data = response.json()
DELETE
/flowaccounting/billable-items/{uuid}

Position löschen

Löschen. Nur möglich, solange nicht abgerechnet (422).

Bearer pk_… oder at_…

curl -X DELETE "https://api.flowsuite.one/flowaccounting/billable-items/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->delete('https://api.flowsuite.one/flowaccounting/billable-items/{uuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/billable-items/{uuid}', {
  method: 'DELETE',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.delete(
    'https://api.flowsuite.one/flowaccounting/billable-items/{uuid}',
    headers=headers,
)

data = response.json()
POST
/flowaccounting/billable-items/consolidate

Positionen konsolidieren

Fasst mehrere offene Positionen zu Rechnungen zusammen - pro Kunde wird eine Entwurfs-Rechnung erzeugt. Antwort: 201 mit den erstellten Rechnungen.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
uuids array
Pflicht
UUIDs der zu konsolidierenden Positionen (min 1, eindeutig)
curl -X POST "https://api.flowsuite.one/flowaccounting/billable-items/consolidate" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"uuids": []}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/billable-items/consolidate', [
        'uuids' => [],
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/billable-items/consolidate', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    uuids: [],
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'uuids': [],
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/billable-items/consolidate',
    headers=headers,
    json=payload,
)

data = response.json()
POST
/flowaccounting/billable-items/{uuid}/generate

Position einzeln abrechnen

Rechnet genau diese Position sofort ab und liefert den Rechnungsentwurf. Das Fälligkeitsdatum wird dabei bewusst übergangen, es wird nichts versendet. Eine bereits abgerechnete Position liefert mit 200 ihre vorhandene Rechnung statt einer zweiten.

Bearer pk_… oder at_…

curl -X POST "https://api.flowsuite.one/flowaccounting/billable-items/{uuid}/generate" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/billable-items/{uuid}/generate');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/billable-items/{uuid}/generate', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/billable-items/{uuid}/generate',
    headers=headers,
)

data = response.json()
{
    "success": true,
    "data": {
        "uuid": "550e8400-e29b-41d4-a716-446655440000",
        "status": "draft"
    }
}

Angebote

Bearbeitungseinschränkungen
Ein Angebot lässt sich nur im Status draft ändern oder löschen. Sobald es beim Kunden ist, ist sein Inhalt das, was der Kunde erhalten hat; danach sind nur noch die Aktionen erlaubt, die das Feld available_actions der Antwort nennt.
GET
/flowaccounting/quotes

Angebote auflisten

Ruft eine paginierte Liste aller Angebote des Teams ab, sortiert nach Angebotsdatum, absteigend.

Bearer pk_… oder at_…

Query-Parameter

Name Typ Pflicht Beschreibung
status string Filter: draft, sent, accepted, declined, expired, withdrawn
client_uuid string Filter nach Kunden-UUID
search string Suchbegriff (Angebotsnummer, Empfängername, Firma)
from string Angebotsdatum ab (YYYY-MM-DD)
to string Angebotsdatum bis (YYYY-MM-DD)
per_page integer Anzahl pro Seite (1-200, Standard: 25)
curl -X GET "https://api.flowsuite.one/flowaccounting/quotes" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/quotes');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/quotes', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/quotes',
    headers=headers,
)

data = response.json()
{
    "success": true,
    "data": [
        {
            "uuid": "550e8400-e29b-41d4-a716-446655440000",
            "quote_number": "AN-2026-0007",
            "status": "sent",
            "total": 1190,
            "available_actions": [
                "send",
                "withdraw"
            ]
        }
    ],
    "meta": {
        "current_page": 1,
        "per_page": 25,
        "total": 7
    }
}
POST
/flowaccounting/quotes

Angebot erstellen

Erstellt ein Angebot im Status draft. Die Angebotsnummer wird automatisch aus dem Nummernkreis des Teams vergeben; für die Übernahme bestehender Angebote aus einem Fremdsystem kann sie über quote_number vorgegeben werden. Nicht angegebene Felder werden aus den Teameinstellungen und den Kundendaten ergänzt, etwa Währung, Sprache, Gültigkeitsdauer sowie Anschreiben- und Schlusstext. Die vollständige Liste der schreibbaren Felder liefert GET /flowaccounting/context. Die Steuerbehandlung übernimmt das Angebot vom Kunden aus FlowCRM und gibt sie als tax_treatment zurück (standard, reverse_charge, reverse_charge_domestic, intra_community_supply, export, non_taxable_abroad oder tax_exempt). Bei jedem Wert außer standard weist das Angebot keine Umsatzsteuer aus: Ein übergebener tax_rate wird auf 0 gesetzt. Die Rechnung aus einem angenommenen Angebot übernimmt dessen Steuerbehandlung.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
client_uuid string
Pflicht
Kunden-UUID (teamgebunden)
contact_uuid string Kontakt-UUID des Kunden
quote_number string Optional: eigene Angebotsnummer, nur für die Übernahme bestehender Angebote aus einem Fremdsystem gedacht. Im Normalfall weglassen, dann vergibt der Nummernkreis die Nummer beim Anlegen. KI-Assistenten und Agenten setzen das Feld nur, wenn der Nutzer ausdrücklich auf einer eigenen Nummer besteht. Höchstens 40 Zeichen aus den Buchstaben A bis Z, Ziffern, Leerzeichen, Punkt, Unterstrich und Bindestrich, am Anfang und Ende ein Buchstabe oder eine Ziffer. Muss im Team eindeutig sein, auch gegenüber gelöschten Entwürfen und zurückgezogenen Angeboten. Liegt die Nummer im laufenden Nummernkreis, muss sie unter dem nächsten Zählerstand liegen; dafür vorher in den FlowAccounting-Einstellungen die nächste Angebotsnummer über die höchste Importnummer setzen. Der Zähler bleibt unverändert. Nach dem Anlegen lässt sich die Nummer nicht mehr ändern
quote_date string Angebotsdatum (YYYY-MM-DD, Standard: heute)
valid_until string Gültig bis (YYYY-MM-DD, Standard: Gültigkeitsdauer des Teams)
signature_type string Annahmeart: button oder canvas
currency_code string EUR, USD, CHF oder GBP
document_language string de, en oder pt
discount_percent number Gesamtrabatt in Prozent
greeting_text string Anschreiben über den Positionen
closing_text string Schlusstext unter den Positionen
notes string Sichtbare Notiz auf dem Angebot
tax_exemption_basis string Vorschrift der Steuerbefreiung bei der Steuerbehandlung tax_exempt, z. B. „§ 4 Nr. 14“ (max. 40 Zeichen), gedruckt im Hinweis auf dem Beleg
internal_notes string Interne Notiz, nicht auf dem Dokument
items array
Pflicht
Positionen, 1 bis 200 Stück. Je Position <code>name</code>, <code>quantity</code>, <code>unit_price</code> und <code>tax_rate</code>; optional <code>description</code>, <code>unit</code>, <code>discount_percent</code>, <code>type</code>, <code>unit_code</code>, <code>product_uuid</code> und <code>project_uuid</code>
recipient_name string Abweichender Empfängername
recipient_company string Abweichende Empfängerfirma
recipient_email string Abweichende Empfängeradresse
curl -X POST "https://api.flowsuite.one/flowaccounting/quotes" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"client_uuid": "value", "contact_uuid": "value", "quote_number": "value", "quote_date": "value", "valid_until": "value", "signature_type": "value", "currency_code": "value", "document_language": "value", "discount_percent": 0, "greeting_text": "value", "closing_text": "value", "notes": "value", "tax_exemption_basis": "value", "internal_notes": "value", "items": [], "recipient_name": "value", "recipient_company": "value", "recipient_email": "value"}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/quotes', [
        'client_uuid' => 'value',
        'contact_uuid' => 'value',
        'quote_number' => 'value',
        'quote_date' => 'value',
        'valid_until' => 'value',
        'signature_type' => 'value',
        'currency_code' => 'value',
        'document_language' => 'value',
        'discount_percent' => 0,
        'greeting_text' => 'value',
        'closing_text' => 'value',
        'notes' => 'value',
        'tax_exemption_basis' => 'value',
        'internal_notes' => 'value',
        'items' => [],
        'recipient_name' => 'value',
        'recipient_company' => 'value',
        'recipient_email' => 'value',
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/quotes', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    client_uuid: 'value',
    contact_uuid: 'value',
    quote_number: 'value',
    quote_date: 'value',
    valid_until: 'value',
    signature_type: 'value',
    currency_code: 'value',
    document_language: 'value',
    discount_percent: 0,
    greeting_text: 'value',
    closing_text: 'value',
    notes: 'value',
    tax_exemption_basis: 'value',
    internal_notes: 'value',
    items: [],
    recipient_name: 'value',
    recipient_company: 'value',
    recipient_email: 'value',
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'client_uuid': 'value',
    'contact_uuid': 'value',
    'quote_number': 'value',
    'quote_date': 'value',
    'valid_until': 'value',
    'signature_type': 'value',
    'currency_code': 'value',
    'document_language': 'value',
    'discount_percent': 0,
    'greeting_text': 'value',
    'closing_text': 'value',
    'notes': 'value',
    'tax_exemption_basis': 'value',
    'internal_notes': 'value',
    'items': [],
    'recipient_name': 'value',
    'recipient_company': 'value',
    'recipient_email': 'value',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/quotes',
    headers=headers,
    json=payload,
)

data = response.json()
{
    "success": true,
    "data": {
        "uuid": "550e8400-e29b-41d4-a716-446655440000",
        "quote_number": "AN-2026-0007",
        "status": "draft"
    }
}
GET
/flowaccounting/quotes/{uuid}

Angebots-Details abrufen

Angebots-Details einschließlich Positionen, Summen, available_actions und allowed_transitions.

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/quotes/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/quotes/{uuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/quotes/{uuid}', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/quotes/{uuid}',
    headers=headers,
)

data = response.json()
PUT
/flowaccounting/quotes/{uuid}

Angebot aktualisieren

Ändert ein Angebot im Status draft; sonst 422. Es werden nur die gesendeten Felder geändert, alle übrigen bleiben stehen. Wird items mitgegeben, ersetzt die Liste sämtliche Positionen. Die Angebotsnummer lässt sich nicht ändern: quote_number wird hier mit 422 abgelehnt.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
valid_until string Gültig bis (YYYY-MM-DD)
notes string Sichtbare Notiz auf dem Angebot
tax_exemption_basis string Vorschrift der Steuerbefreiung bei der Steuerbehandlung tax_exempt, z. B. „§ 4 Nr. 14“ (max. 40 Zeichen), gedruckt im Hinweis auf dem Beleg
items array Ersetzt alle Positionen
curl -X PUT "https://api.flowsuite.one/flowaccounting/quotes/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"valid_until": "value", "notes": "value", "tax_exemption_basis": "value", "items": []}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->put('https://api.flowsuite.one/flowaccounting/quotes/{uuid}', [
        'valid_until' => 'value',
        'notes' => 'value',
        'tax_exemption_basis' => 'value',
        'items' => [],
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/quotes/{uuid}', {
  method: 'PUT',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    valid_until: 'value',
    notes: 'value',
    tax_exemption_basis: 'value',
    items: [],
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'valid_until': 'value',
    'notes': 'value',
    'tax_exemption_basis': 'value',
    'items': [],
}

response = requests.put(
    'https://api.flowsuite.one/flowaccounting/quotes/{uuid}',
    headers=headers,
    json=payload,
)

data = response.json()
DELETE
/flowaccounting/quotes/{uuid}

Angebot löschen

Löscht ein Angebot im Status draft; sonst 422.

Bearer pk_… oder at_…

curl -X DELETE "https://api.flowsuite.one/flowaccounting/quotes/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->delete('https://api.flowsuite.one/flowaccounting/quotes/{uuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/quotes/{uuid}', {
  method: 'DELETE',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.delete(
    'https://api.flowsuite.one/flowaccounting/quotes/{uuid}',
    headers=headers,
)

data = response.json()
POST
/flowaccounting/quotes/{uuid}/send

Angebot per E-Mail versenden

Versendet das Angebot und setzt es dabei auf sent. Erfordert einen Header Idempotency-Key im UUID-Format; derselbe Schlüssel versendet nicht zweimal. Ohne recipient_emails gelten die Empfänger des Kunden. Ist die Absenderdomain nicht verifiziert, antwortet die API mit 409 und sender_domain_not_verified.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
recipient_emails array Abweichende Empfängeradressen, höchstens 50
curl -X POST "https://api.flowsuite.one/flowaccounting/quotes/{uuid}/send" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"recipient_emails": []}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/quotes/{uuid}/send', [
        'recipient_emails' => [],
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/quotes/{uuid}/send', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    recipient_emails: [],
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'recipient_emails': [],
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/quotes/{uuid}/send',
    headers=headers,
    json=payload,
)

data = response.json()
{
    "success": true,
    "sent": true,
    "data": {
        "uuid": "550e8400-e29b-41d4-a716-446655440000",
        "status": "sent"
    }
}
POST
/flowaccounting/quotes/{uuid}/withdraw

Angebot zurückziehen

Zieht ein versendetes Angebot zurück. Nur aus dem Status sent möglich; sonst 422.

Bearer pk_… oder at_…

curl -X POST "https://api.flowsuite.one/flowaccounting/quotes/{uuid}/withdraw" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/quotes/{uuid}/withdraw');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/quotes/{uuid}/withdraw', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/quotes/{uuid}/withdraw',
    headers=headers,
)

data = response.json()
POST
/flowaccounting/quotes/{uuid}/accept

Annahme erfassen

Hält fest, dass der Kunde das Angebot angenommen hat, etwa telefonisch oder per E-Mail. Nur aus dem Status sent möglich und nur einmal; sonst 422. Für die Annahme über den Angebotslink des Kunden ist dieser Endpoint nicht gedacht, dort wird zusätzlich die Unterschrift erfasst.

Bearer pk_… oder at_…

curl -X POST "https://api.flowsuite.one/flowaccounting/quotes/{uuid}/accept" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/quotes/{uuid}/accept');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/quotes/{uuid}/accept', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/quotes/{uuid}/accept',
    headers=headers,
)

data = response.json()
{
    "success": true,
    "data": {
        "uuid": "550e8400-e29b-41d4-a716-446655440000",
        "status": "accepted"
    }
}
POST
/flowaccounting/quotes/{uuid}/convert

In Rechnung umwandeln

Erzeugt aus einem angenommenen Angebot einen Rechnungsentwurf. Nur im Status accepted möglich; sonst 422 mit quote_not_accepted. Ein zweiter Aufruf liefert mit 200 die bereits erzeugte Rechnung statt einer weiteren.

Bearer pk_… oder at_…

curl -X POST "https://api.flowsuite.one/flowaccounting/quotes/{uuid}/convert" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/quotes/{uuid}/convert');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/quotes/{uuid}/convert', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/quotes/{uuid}/convert',
    headers=headers,
)

data = response.json()
{
    "success": true,
    "data": {
        "uuid": "550e8400-e29b-41d4-a716-446655440000",
        "status": "draft"
    }
}
GET
/flowaccounting/quotes/{uuid}/pdf

Angebots-PDF herunterladen

Liefert das Angebot als PDF-Datei (application/pdf), im Dokumentlayout des Teams und in der auf dem Dokument festgehaltenen Sprache.

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/quotes/{uuid}/pdf" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/quotes/{uuid}/pdf');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/quotes/{uuid}/pdf', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/quotes/{uuid}/pdf',
    headers=headers,
)

data = response.json()
Die Antwort ist eine Datei, kein JSON.

Angebotspositionen

Summen
Nach jeder Änderung an einer Position werden die Summen des Angebots neu berechnet. Positionen lassen sich nur ändern, solange das Angebot ein Entwurf ist.
GET
/flowaccounting/quotes/{uuid}/items

Positionen auflisten

Listet die Positionen eines Angebots, sortiert nach ihrer Reihenfolge.

Bearer pk_… oder at_…

Query-Parameter

Name Typ Pflicht Beschreibung
per_page integer Anzahl pro Seite (1-200, Standard: 50)
curl -X GET "https://api.flowsuite.one/flowaccounting/quotes/{uuid}/items" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/quotes/{uuid}/items');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/quotes/{uuid}/items', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/quotes/{uuid}/items',
    headers=headers,
)

data = response.json()
POST
/flowaccounting/quotes/{uuid}/items

Position hinzufügen

Fügt dem Angebot eine Position hinzu. Ohne position wird sie hinten angefügt. Ein project_uuid muss zu einem Projekt des Angebotskunden gehören; sonst 422.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
name string
Pflicht
Bezeichnung der Position
quantity number
Pflicht
Menge
unit_price number
Pflicht
Einzelpreis netto
tax_rate number
Pflicht
Steuersatz in Prozent
description string Beschreibungstext
unit string Einheit, etwa Stunde oder Stück
discount_percent number Positionsrabatt in Prozent
type string service, product oder hours
position integer Reihenfolge
product_uuid string Produkt-UUID aus dem Produktkatalog
project_uuid string Projekt-UUID des Angebotskunden
curl -X POST "https://api.flowsuite.one/flowaccounting/quotes/{uuid}/items" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"name": "value", "quantity": 0, "unit_price": 0, "tax_rate": 0, "description": "value", "unit": "value", "discount_percent": 0, "type": "value", "position": 0, "product_uuid": "value", "project_uuid": "value"}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/quotes/{uuid}/items', [
        'name' => 'value',
        'quantity' => 0,
        'unit_price' => 0,
        'tax_rate' => 0,
        'description' => 'value',
        'unit' => 'value',
        'discount_percent' => 0,
        'type' => 'value',
        'position' => 0,
        'product_uuid' => 'value',
        'project_uuid' => 'value',
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/quotes/{uuid}/items', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    name: 'value',
    quantity: 0,
    unit_price: 0,
    tax_rate: 0,
    description: 'value',
    unit: 'value',
    discount_percent: 0,
    type: 'value',
    position: 0,
    product_uuid: 'value',
    project_uuid: 'value',
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'name': 'value',
    'quantity': 0,
    'unit_price': 0,
    'tax_rate': 0,
    'description': 'value',
    'unit': 'value',
    'discount_percent': 0,
    'type': 'value',
    'position': 0,
    'product_uuid': 'value',
    'project_uuid': 'value',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/quotes/{uuid}/items',
    headers=headers,
    json=payload,
)

data = response.json()
PUT
/flowaccounting/quotes/{uuid}/items/{itemUuid}

Position aktualisieren

Ändert eine einzelne Position. Es werden nur die gesendeten Felder geändert.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
quantity number Menge
unit_price number Einzelpreis netto
tax_rate number Steuersatz in Prozent
curl -X PUT "https://api.flowsuite.one/flowaccounting/quotes/{uuid}/items/{itemUuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"quantity": 0, "unit_price": 0, "tax_rate": 0}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->put('https://api.flowsuite.one/flowaccounting/quotes/{uuid}/items/{itemUuid}', [
        'quantity' => 0,
        'unit_price' => 0,
        'tax_rate' => 0,
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/quotes/{uuid}/items/{itemUuid}', {
  method: 'PUT',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    quantity: 0,
    unit_price: 0,
    tax_rate: 0,
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'quantity': 0,
    'unit_price': 0,
    'tax_rate': 0,
}

response = requests.put(
    'https://api.flowsuite.one/flowaccounting/quotes/{uuid}/items/{itemUuid}',
    headers=headers,
    json=payload,
)

data = response.json()
DELETE
/flowaccounting/quotes/{uuid}/items/{itemUuid}

Position löschen

Entfernt eine Position aus dem Angebot und berechnet die Summen neu.

Bearer pk_… oder at_…

curl -X DELETE "https://api.flowsuite.one/flowaccounting/quotes/{uuid}/items/{itemUuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->delete('https://api.flowsuite.one/flowaccounting/quotes/{uuid}/items/{itemUuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/quotes/{uuid}/items/{itemUuid}', {
  method: 'DELETE',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.delete(
    'https://api.flowsuite.one/flowaccounting/quotes/{uuid}/items/{itemUuid}',
    headers=headers,
)

data = response.json()

Rechnungskorrekturen

Ausstellen ist endgültig
Mit dem Ausstellen erhält die Rechnungskorrektur ihre Nummer, sofern beim Anlegen keine vorgegeben wurde, und ist nicht mehr änderbar. Wurde die zugrunde liegende Rechnung über Stripe bezahlt, wird dabei die Erstattung angestoßen. Eine fehlgeschlagene Erstattung nimmt das Ausstellen nicht zurück, sondern wird im Feld refund_status gemeldet.
GET
/flowaccounting/credit-notes

Rechnungskorrekturen auflisten

Ruft eine paginierte Liste aller Rechnungskorrekturen des Teams ab, sortiert nach Datum der Rechnungskorrektur, absteigend.

Bearer pk_… oder at_…

Query-Parameter

Name Typ Pflicht Beschreibung
status string Filter: draft, issued, settled, cancelled
client_uuid string Filter nach Kunden-UUID
from string Datum der Rechnungskorrektur ab (YYYY-MM-DD)
to string Datum der Rechnungskorrektur bis (YYYY-MM-DD)
per_page integer Anzahl pro Seite (1-200, Standard: 25)
curl -X GET "https://api.flowsuite.one/flowaccounting/credit-notes" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/credit-notes');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/credit-notes', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/credit-notes',
    headers=headers,
)

data = response.json()
POST
/flowaccounting/credit-notes

Rechnungskorrektur erstellen

Erstellt eine Rechnungskorrektur im Status draft. Mit invoice_uuid wird sie der gutzuschreibenden Rechnung zugeordnet; diese muss demselben Kunden gehören und dieselbe Währung führen. Rechnungskorrekturpositionen sind freie Zeilen ohne Produkt- oder Projektverknüpfung. Eine Rechnungskorrektur zu einer Rechnung übernimmt deren Steuerbehandlung, eine freie Rechnungskorrektur die des Kunden; die Antwort nennt sie als tax_treatment. Bei jedem Wert außer standard (z. B. reverse_charge, tax_exempt) weist die Rechnungskorrektur keine Umsatzsteuer aus: Ein übergebener tax_rate wird auf 0 gesetzt. Ihre Nummer erhält die Rechnungskorrektur erst beim Ausstellen aus dem Nummernkreis des Teams; für die Übernahme bestehender Rechnungskorrekturen aus einem Fremdsystem kann sie über credit_note_number vorgegeben werden.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
client_uuid string
Pflicht
Kunden-UUID (teamgebunden)
invoice_uuid string UUID der gutzuschreibenden Rechnung
contact_uuid string Kontakt-UUID des Kunden
credit_note_number string Optional: eigene Nummer der Rechnungskorrektur, nur für die Übernahme bestehender Rechnungskorrekturen aus einem Fremdsystem gedacht. Im Normalfall weglassen, dann vergibt der Nummernkreis die Nummer beim Ausstellen. KI-Assistenten und Agenten setzen das Feld nur, wenn der Nutzer ausdrücklich auf einer eigenen Nummer besteht. Höchstens 40 Zeichen aus den Buchstaben A bis Z, Ziffern, Leerzeichen, Punkt, Unterstrich und Bindestrich, am Anfang und Ende ein Buchstabe oder eine Ziffer. Muss im Team eindeutig sein, auch gegenüber gelöschten Entwürfen und stornierten Rechnungskorrekturen. Liegt die Nummer im laufenden Nummernkreis, muss sie unter dem nächsten Zählerstand liegen; dafür vorher in den FlowAccounting-Einstellungen die nächste Nummer der Rechnungskorrektur über die höchste Importnummer setzen. Der Zähler bleibt unverändert, auch beim Ausstellen. Nach dem Anlegen lässt sich die Nummer nicht mehr ändern
credit_note_date string Datum der Rechnungskorrektur (YYYY-MM-DD, Standard: heute)
currency_code string EUR, USD, CHF oder GBP
document_language string de, en oder pt
einvoice_format string pdf, zugferd oder xrechnung
notes string Sichtbare Notiz auf der Rechnungskorrektur
tax_exemption_basis string Vorschrift der Steuerbefreiung bei der Steuerbehandlung tax_exempt, z. B. „§ 4 Nr. 14“ (max. 40 Zeichen), gedruckt im Hinweis auf dem Beleg. Eine Rechnungskorrektur zu einer Rechnung übernimmt die Vorschrift der Rechnung
items array
Pflicht
Positionen, 1 bis 200 Stück, mit <code>name</code>, <code>quantity</code>, <code>unit_price</code> und <code>tax_rate</code>
curl -X POST "https://api.flowsuite.one/flowaccounting/credit-notes" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"client_uuid": "value", "invoice_uuid": "value", "contact_uuid": "value", "credit_note_number": "value", "credit_note_date": "value", "currency_code": "value", "document_language": "value", "einvoice_format": "value", "notes": "value", "tax_exemption_basis": "value", "items": []}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/credit-notes', [
        'client_uuid' => 'value',
        'invoice_uuid' => 'value',
        'contact_uuid' => 'value',
        'credit_note_number' => 'value',
        'credit_note_date' => 'value',
        'currency_code' => 'value',
        'document_language' => 'value',
        'einvoice_format' => 'value',
        'notes' => 'value',
        'tax_exemption_basis' => 'value',
        'items' => [],
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/credit-notes', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    client_uuid: 'value',
    invoice_uuid: 'value',
    contact_uuid: 'value',
    credit_note_number: 'value',
    credit_note_date: 'value',
    currency_code: 'value',
    document_language: 'value',
    einvoice_format: 'value',
    notes: 'value',
    tax_exemption_basis: 'value',
    items: [],
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'client_uuid': 'value',
    'invoice_uuid': 'value',
    'contact_uuid': 'value',
    'credit_note_number': 'value',
    'credit_note_date': 'value',
    'currency_code': 'value',
    'document_language': 'value',
    'einvoice_format': 'value',
    'notes': 'value',
    'tax_exemption_basis': 'value',
    'items': [],
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/credit-notes',
    headers=headers,
    json=payload,
)

data = response.json()
{
    "success": true,
    "data": {
        "uuid": "550e8400-e29b-41d4-a716-446655440000",
        "status": "draft"
    }
}
GET
/flowaccounting/credit-notes/{uuid}

Details der Rechnungskorrektur abrufen

Details der Rechnungskorrektur einschließlich Positionen, Summen und available_actions.

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}',
    headers=headers,
)

data = response.json()
PUT
/flowaccounting/credit-notes/{uuid}

Rechnungskorrektur aktualisieren

Ändert eine Rechnungskorrektur im Status draft; sonst 422. Wird items mitgegeben, ersetzt die Liste sämtliche Positionen. Die Nummer der Rechnungskorrektur lässt sich nicht ändern: credit_note_number wird hier mit 422 abgelehnt.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
notes string Sichtbare Notiz auf der Rechnungskorrektur
tax_exemption_basis string Vorschrift der Steuerbefreiung bei der Steuerbehandlung tax_exempt, z. B. „§ 4 Nr. 14“ (max. 40 Zeichen), gedruckt im Hinweis auf dem Beleg. Eine Rechnungskorrektur zu einer Rechnung übernimmt die Vorschrift der Rechnung
items array Ersetzt alle Positionen
curl -X PUT "https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"notes": "value", "tax_exemption_basis": "value", "items": []}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->put('https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}', [
        'notes' => 'value',
        'tax_exemption_basis' => 'value',
        'items' => [],
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}', {
  method: 'PUT',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    notes: 'value',
    tax_exemption_basis: 'value',
    items: [],
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'notes': 'value',
    'tax_exemption_basis': 'value',
    'items': [],
}

response = requests.put(
    'https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}',
    headers=headers,
    json=payload,
)

data = response.json()
DELETE
/flowaccounting/credit-notes/{uuid}

Rechnungskorrektur löschen

Löscht eine Rechnungskorrektur im Status draft; sonst 422.

Bearer pk_… oder at_…

curl -X DELETE "https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->delete('https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}', {
  method: 'DELETE',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.delete(
    'https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}',
    headers=headers,
)

data = response.json()
POST
/flowaccounting/credit-notes/{uuid}/issue

Rechnungskorrektur ausstellen

Stellt die Rechnungskorrektur aus und vergibt ihre Nummer, sofern beim Anlegen keine vorgegeben wurde. Ist die zugrunde liegende Rechnung über Stripe bezahlt, wird die Erstattung angestoßen. Das Feld refund_status meldet started, not_required oder review_required. Nur im Status draft möglich; sonst 422. Ebenfalls 422, wenn die verknüpfte Rechnung noch ein Entwurf ist (zuerst die Rechnung ausstellen), wenn sie storniert wurde oder wenn sie ihre Steuerbehandlung geändert hat, seit die Rechnungskorrektur gespeichert wurde: Dann die Rechnungskorrektur zuerst per PUT mit ihren Positionen neu speichern.

Bearer pk_… oder at_…

curl -X POST "https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/issue" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/issue');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/issue', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/issue',
    headers=headers,
)

data = response.json()
{
    "success": true,
    "refund_status": "not_required",
    "data": {
        "uuid": "550e8400-e29b-41d4-a716-446655440000",
        "status": "issued"
    }
}
POST
/flowaccounting/credit-notes/{uuid}/settle

Rechnungskorrektur verrechnen

Verrechnet eine ausgestellte Rechnungskorrektur und bucht dafür genau eine Transaktion vom Typ credit. Mit mode offset wird der Betrag auf die verknüpfte Rechnung gebucht: Er darf weder die Summe der Rechnungskorrektur noch den offenen Betrag der Rechnung übersteigen, und Rechnung und Rechnungskorrektur müssen dieselbe Währung führen. Deckt die Buchung den offenen Betrag, gilt die Rechnung als bezahlt (paid), sonst als teilweise bezahlt (partially_paid); eine Rechnung im Entwurf oder eine stornierte Rechnung wird abgelehnt. Mit pool wandert der Betrag ohne Rechnungsbezug ins Guthaben des Kunden und steht dort für spätere Rechnungen zur Verfügung. In beiden Fällen ist die Rechnungskorrektur danach vollständig verrechnet (settled), auch bei einem Teilbetrag: Der Rest wandert nicht ins Guthaben und lässt sich nicht nachträglich verrechnen. Ohne amount wird der höchste zulässige Betrag gebucht. transaction_date ist für die Übernahme historischer Belege gedacht und legt das Buchungsdatum der Transaktion fest. Die Antwort enthält die Rechnungskorrektur in data, die gebuchte Transaktion in transaction und bei offset den Stand der Rechnung in invoice (uuid, invoice_number, status, paid_date, remaining_amount); bei pool ist invoice null. Der Aufruf ist über den Status abgesichert: Eine Wiederholung bucht nichts und liefert 422 mit credit_note_already_settled, ein Entwurf oder eine stornierte Rechnungskorrektur 422 mit credit_note_not_issued. Weitere Ablehnungen mit 422: credit_note_without_invoice, invoice_not_settleable, currency_mismatch, amount_exceeds_limit und transaction_date_out_of_range.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
mode string
Pflicht
<code>offset</code> (mit der verknüpften Rechnung verrechnen) oder <code>pool</code> (dem Guthaben des Kunden gutschreiben)
amount number Zu buchender Betrag, mindestens 0,01. Standard: die Summe der Rechnungskorrektur, bei <code>offset</code> höchstens der offene Betrag der Rechnung
transaction_date string Buchungsdatum (YYYY-MM-DD, Standard: heute). Frühestens das Datum der Rechnungskorrektur, spätestens heute
curl -X POST "https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/settle" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"mode": "value", "amount": 0, "transaction_date": "value"}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/settle', [
        'mode' => 'value',
        'amount' => 0,
        'transaction_date' => 'value',
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/settle', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    mode: 'value',
    amount: 0,
    transaction_date: 'value',
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'mode': 'value',
    'amount': 0,
    'transaction_date': 'value',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/settle',
    headers=headers,
    json=payload,
)

data = response.json()
{
    "success": true,
    "data": {
        "uuid": "550e8400-e29b-41d4-a716-446655440000",
        "status": "settled"
    },
    "transaction": {
        "uuid": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
        "type": "credit",
        "amount": 238,
        "credit_note_uuid": "550e8400-e29b-41d4-a716-446655440000",
        "invoice_uuid": "9b2e4f6a-1c3d-4e5f-8a7b-6c5d4e3f2a1b"
    },
    "invoice": {
        "uuid": "9b2e4f6a-1c3d-4e5f-8a7b-6c5d4e3f2a1b",
        "invoice_number": "RE-2026-0042",
        "status": "partially_paid",
        "paid_date": null,
        "remaining_amount": 952
    }
}
POST
/flowaccounting/credit-notes/{uuid}/cancel

Rechnungskorrektur stornieren

Storniert eine Rechnungskorrektur im Status draft oder issued; der Aufruf hat keinen Body. Die Stornierung ist endgültig. Beleg und Nummer bleiben erhalten: Die Rechnungskorrektur lässt sich weiter abrufen, und ihre Nummer wird nicht wieder frei. Das gilt auch für einen Entwurf, der mit vorgegebener credit_note_number angelegt wurde; er belegt diese Nummer weiter. Eine verrechnete oder bereits stornierte Rechnungskorrektur liefert 422 mit action_not_available. Ebenfalls 422, mit credit_note_refund_started, wenn für die verknüpfte Rechnung eine Stripe-Erstattung angestoßen wurde, die nicht fehlgeschlagen ist: Das Geld ist dann an den Kunden zurückgeflossen, und der Beleg dazu muss bestehen bleiben.

Bearer pk_… oder at_…

curl -X POST "https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/cancel" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/cancel');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/cancel', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/cancel',
    headers=headers,
)

data = response.json()
{
    "success": true,
    "data": {
        "uuid": "550e8400-e29b-41d4-a716-446655440000",
        "status": "cancelled"
    }
}
POST
/flowaccounting/credit-notes/{uuid}/send

Rechnungskorrektur per E-Mail versenden

Versendet die ausgestellte Rechnungskorrektur an genau eine Adresse; mehrere Empfänger werden mit 422 abgelehnt. Erfordert einen Header Idempotency-Key im UUID-Format. Ohne recipient_emails gilt die hinterlegte Adresse des Kunden.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
recipient_emails array Genau eine abweichende Empfängeradresse
curl -X POST "https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/send" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"recipient_emails": []}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/send', [
        'recipient_emails' => [],
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/send', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    recipient_emails: [],
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'recipient_emails': [],
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/send',
    headers=headers,
    json=payload,
)

data = response.json()
GET
/flowaccounting/credit-notes/{uuid}/pdf

PDF der Rechnungskorrektur herunterladen

Liefert die Rechnungskorrektur als PDF-Datei (application/pdf) im Dokumentlayout des Teams. Ausgestellte Rechnungskorrekturen liefern die beim Ausstellen gespeicherte Datei (Header X-FlowAccounting-Document-Source: frozen), sonst regenerated.

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/pdf" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/pdf');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/pdf', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/pdf',
    headers=headers,
)

data = response.json()
Die Antwort ist eine Datei, kein JSON.
GET
/flowaccounting/credit-notes/{uuid}/einvoice

Archivierte E-Rechnung herunterladen

Liefert die beim Ausstellen archivierte E-Rechnung der Rechnungskorrektur Byte für Byte: bei XRechnung die XML-Datei (application/xml), bei ZUGFeRD das PDF/A-3 mit eingebetteter XML (application/pdf). Antwort ist ein Datei-Download, kein JSON; es wird nie neu erzeugt. Header: X-FlowAccounting-Einvoice-SHA256 (SHA-256 der gelieferten Datei), X-FlowAccounting-Einvoice-XML-SHA256 (SHA-256 der Rechnungs-XML, bei ZUGFeRD der eingebetteten), X-FlowAccounting-Einvoice-Uuid (Archiveintrag). Ohne archivierte E-Rechnung (Entwurf, klassisches PDF, vor der Archivierung ausgestellt) antwortet der Endpoint mit 404 und error: einvoice_not_archived; besteht die Datei die Hash-Prüfung nicht, mit 409 und error: einvoice_integrity_failed. Eine unbekannte UUID oder eine Rechnungskorrektur eines anderen Teams ergibt 404.

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/einvoice" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/einvoice');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/einvoice', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/einvoice',
    headers=headers,
)

data = response.json()
Die Antwort ist eine Datei, kein JSON.
GET
/flowaccounting/credit-notes/{uuid}/einvoice/validation

Prüfbericht der archivierten E-Rechnung

Liefert den letzten Prüfbericht der archivierten E-Rechnung der Rechnungskorrektur. Nur lesend. Die Prüfung lief beim Archivieren auf genau den ausgestellten Bytes (Wohlgeformtheit, XSD, Geschäftsregeln nach EN 16931 und XRechnung, Pflichtangaben nach § 14 Abs. 4 UStG). validation_status ist valid, valid_with_warnings, business_rule_errors, mandatory_field_errors oder format_error. report.messages ist eine Liste mit code (z. B. BR-DE-2, FAC-PFLICHT-6), severity (error oder warning), category (format, business_rule, mandatory_vat) und message. Ohne archivierte E-Rechnung 404 mit error: einvoice_not_archived; eine unbekannte UUID oder eine Rechnungskorrektur eines anderen Teams ergibt 404.

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/einvoice/validation" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/einvoice/validation');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/einvoice/validation', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/credit-notes/{uuid}/einvoice/validation',
    headers=headers,
)

data = response.json()
{
    "success": true,
    "data": {
        "uuid": "8d1f2c4e-6a0b-4c1d-9e2f-3a4b5c6d7e8f",
        "document_uuid": "550e8400-e29b-41d4-a716-446655440000",
        "format": "xrechnung",
        "profile": "xrechnung_3",
        "specification_id": "urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0",
        "type_code": "380",
        "invoice_number": "RE-00042",
        "xml_sha256": "3f5a…",
        "file_sha256": "3f5a…",
        "archived_at": "2026-11-24T10:00:00+01:00",
        "validation_status": "valid_with_warnings",
        "report": {
            "uuid": "0c9e…",
            "engine": "internal",
            "engine_version": "internal-1.0",
            "status": "valid_with_warnings",
            "errors_count": 0,
            "warnings_count": 1,
            "messages": [
                {
                    "code": "FAC-FX-2",
                    "severity": "warning",
                    "category": "mandatory_vat",
                    "message": "Die Umsatzsteuer in Euro (BT-111) beruht auf einem vorläufigen Kurs, der BMF-Monatskurs ist noch nicht veröffentlicht."
                }
            ],
            "created_at": "2026-11-24T10:00:00+01:00"
        }
    }
}

Ausgaben

Belege
Ein Beleg wird als Datei hochgeladen (multipart/form-data), nicht als Link: erlaubt sind PDF, JPEG und PNG bis 10 MB. Die Datei liegt auf einem privaten Speicher und ist ausschließlich über den Download-Endpoint erreichbar, nie über eine öffentliche Adresse.
GET
/flowaccounting/expenses

Ausgaben auflisten

Ruft eine paginierte Liste aller Ausgaben des Teams ab, sortiert nach Buchungsdatum, absteigend.

Bearer pk_… oder at_…

Query-Parameter

Name Typ Pflicht Beschreibung
status string Filter: pending oder booked
supplier_uuid string Filter nach Lieferanten-UUID
expense_category_uuid string Filter nach Kategorie-UUID
search string Suchbegriff (Beschreibung, Lieferanten-Rechnungsnummer)
intake_status string Filter nach Eingangsstatus: needs_review liefert die Prüf-Queue (alle offenen Belege vor der Prüfung), außerdem received, processing, failed oder reviewed
missing_receipt boolean Nur Belege mit Vorsteuer, aber ohne Rechnungsdatei (Aufgabe „Beleg fehlt“)
from string Buchungsdatum ab (YYYY-MM-DD)
to string Buchungsdatum bis (YYYY-MM-DD)
per_page integer Anzahl pro Seite (1-200, Standard: 25)
curl -X GET "https://api.flowsuite.one/flowaccounting/expenses" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/expenses');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/expenses', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/expenses',
    headers=headers,
)

data = response.json()
POST
/flowaccounting/expenses

Ausgabe erfassen

Erfasst eine Ausgabe im Status pending; gebucht wird sie in einem eigenen Schritt über POST /flowaccounting/expenses/{uuid}/book. Netto-, Steuer- und Bruttobetrag werden aus gross_amount, tax_rate und vat_mode berechnet. Eine zweite Ausgabe mit derselben Lieferanten-Rechnungsnummer desselben Lieferanten (oder derselben Nummer und derselben USt-IdNr. auf dem Beleg) wird mit 422 abgelehnt, außer der Aufruf bestätigt mit confirm_not_duplicate und einer Begründung in duplicate_reason (mindestens 10 Zeichen), dass es keine Dublette ist. Die Entscheidung wird mit Begründung, Zeitpunkt und Bearbeiter an der Ausgabe gespeichert. Eine Rechnungskorrektur mit umgekehrtem Vorzeichen gilt nicht als Dublette.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
booking_date string
Pflicht
Buchungsdatum (YYYY-MM-DD)
gross_amount number
Pflicht
Bruttobetrag
tax_rate number Steuersatz in Prozent (Standard: Steuersatz des Teams)
vat_mode string full, none oder reverse_charge (Standard: full)
currency_code string EUR, USD, CHF oder GBP
supplier_uuid string Lieferanten-UUID
expense_category_uuid string Kategorie-UUID
supplier_invoice_number string Rechnungsnummer des Lieferanten
description string Kurze Beschreibung
notes string Interne Notiz
confirm_not_duplicate boolean Bestätigt, dass ein Beleg mit derselben Rechnungsnummer keine Dublette ist (nur mit duplicate_reason)
duplicate_reason string Begründung zu confirm_not_duplicate, 10 bis 500 Zeichen
curl -X POST "https://api.flowsuite.one/flowaccounting/expenses" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"booking_date": "value", "gross_amount": 0, "tax_rate": 0, "vat_mode": "value", "currency_code": "value", "supplier_uuid": "value", "expense_category_uuid": "value", "supplier_invoice_number": "value", "description": "value", "notes": "value", "confirm_not_duplicate": true, "duplicate_reason": "value"}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/expenses', [
        'booking_date' => 'value',
        'gross_amount' => 0,
        'tax_rate' => 0,
        'vat_mode' => 'value',
        'currency_code' => 'value',
        'supplier_uuid' => 'value',
        'expense_category_uuid' => 'value',
        'supplier_invoice_number' => 'value',
        'description' => 'value',
        'notes' => 'value',
        'confirm_not_duplicate' => true,
        'duplicate_reason' => 'value',
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/expenses', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    booking_date: 'value',
    gross_amount: 0,
    tax_rate: 0,
    vat_mode: 'value',
    currency_code: 'value',
    supplier_uuid: 'value',
    expense_category_uuid: 'value',
    supplier_invoice_number: 'value',
    description: 'value',
    notes: 'value',
    confirm_not_duplicate: true,
    duplicate_reason: 'value',
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'booking_date': 'value',
    'gross_amount': 0,
    'tax_rate': 0,
    'vat_mode': 'value',
    'currency_code': 'value',
    'supplier_uuid': 'value',
    'expense_category_uuid': 'value',
    'supplier_invoice_number': 'value',
    'description': 'value',
    'notes': 'value',
    'confirm_not_duplicate': True,
    'duplicate_reason': 'value',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/expenses',
    headers=headers,
    json=payload,
)

data = response.json()
{
    "success": true,
    "data": {
        "uuid": "550e8400-e29b-41d4-a716-446655440000",
        "status": "pending",
        "has_receipt": false
    }
}
GET
/flowaccounting/expenses/{uuid}

Ausgaben-Details abrufen

Ausgaben-Details einschließlich der berechneten Beträge sowie has_receipt und receipt_name. intake_status zeigt den Weg durch die Prüf-Queue (needs_review, failed, reviewed …), reviewed_at den Zeitpunkt der Prüfung, duplicate_decision eine Dublettenentscheidung (not_duplicate) und missing_receipt, ob Vorsteuer angesetzt ist, aber die Rechnungsdatei fehlt.

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/expenses/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/expenses/{uuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/expenses/{uuid}', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/expenses/{uuid}',
    headers=headers,
)

data = response.json()
PUT
/flowaccounting/expenses/{uuid}

Ausgabe aktualisieren

Ändert eine Ausgabe im Status pending. Bereits gebuchte Ausgaben bleiben unverändert und werden mit 422 abgelehnt. Eine geänderte Lieferanten-Rechnungsnummer wird wie beim Erfassen auf Dubletten geprüft (confirm_not_duplicate, duplicate_reason).

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
gross_amount number Bruttobetrag
expense_category_uuid string Kategorie-UUID
description string Kurze Beschreibung
confirm_not_duplicate boolean Bestätigt, dass ein Beleg mit derselben Rechnungsnummer keine Dublette ist (nur mit duplicate_reason)
duplicate_reason string Begründung zu confirm_not_duplicate, 10 bis 500 Zeichen
curl -X PUT "https://api.flowsuite.one/flowaccounting/expenses/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"gross_amount": 0, "expense_category_uuid": "value", "description": "value", "confirm_not_duplicate": true, "duplicate_reason": "value"}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->put('https://api.flowsuite.one/flowaccounting/expenses/{uuid}', [
        'gross_amount' => 0,
        'expense_category_uuid' => 'value',
        'description' => 'value',
        'confirm_not_duplicate' => true,
        'duplicate_reason' => 'value',
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/expenses/{uuid}', {
  method: 'PUT',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    gross_amount: 0,
    expense_category_uuid: 'value',
    description: 'value',
    confirm_not_duplicate: true,
    duplicate_reason: 'value',
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'gross_amount': 0,
    'expense_category_uuid': 'value',
    'description': 'value',
    'confirm_not_duplicate': True,
    'duplicate_reason': 'value',
}

response = requests.put(
    'https://api.flowsuite.one/flowaccounting/expenses/{uuid}',
    headers=headers,
    json=payload,
)

data = response.json()
DELETE
/flowaccounting/expenses/{uuid}

Ausgabe löschen

Löscht eine Ausgabe im Status pending; sonst 422.

Bearer pk_… oder at_…

curl -X DELETE "https://api.flowsuite.one/flowaccounting/expenses/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->delete('https://api.flowsuite.one/flowaccounting/expenses/{uuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/expenses/{uuid}', {
  method: 'DELETE',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.delete(
    'https://api.flowsuite.one/flowaccounting/expenses/{uuid}',
    headers=headers,
)

data = response.json()
POST
/flowaccounting/expenses/{uuid}/receipt

Beleg hochladen

Hängt den Beleg als multipart/form-data an die Ausgabe. Erlaubt sind PDF, JPEG und PNG bis 10 MB; der Typ wird aus dem Dateiinhalt bestimmt. Ein vorhandener Beleg wird ersetzt, sobald der neue gespeichert ist, und bleibt als frühere Fassung erhalten. Eine gebuchte Ausgabe ohne Belegdatei nimmt die fehlende Rechnung einmal auf (Aufgabe „Beleg fehlt“); hat sie schon einen Beleg, antwortet die API mit 422 expense_booked, ist dieselbe Datei schon Beleg einer anderen Ausgabe des Teams mit 422 receipt_duplicate, bei einer Datei, die kein Beleg ist, mit 422 invalid_receipt.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
file file
Pflicht
Belegdatei (PDF, JPEG oder PNG, höchstens 10 MB)
curl -X POST "https://api.flowsuite.one/flowaccounting/expenses/{uuid}/receipt" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"file": "value"}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/expenses/{uuid}/receipt', [
        'file' => 'value',
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/expenses/{uuid}/receipt', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    file: 'value',
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'file': 'value',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/expenses/{uuid}/receipt',
    headers=headers,
    json=payload,
)

data = response.json()
{
    "success": true,
    "data": {
        "uuid": "550e8400-e29b-41d4-a716-446655440000",
        "has_receipt": true,
        "receipt_name": "beleg.pdf"
    }
}
POST
/flowaccounting/expenses/{uuid}/book

Ausgabe buchen

Bucht eine Ausgabe im Status pending: Sie wechselt in den Status booked und erhält das Zahlungsdatum paid_date. Erst eine gebuchte Ausgabe zählt in den Berichten, und zwar im Zeitraum ihres Zahlungsdatums. Die Reihenfolge ist: Ausgabe anlegen, Beleg hochladen, buchen. Nach dem Buchen sind Ändern, Löschen und der Austausch des Belegs über die API gesperrt (422). Das Buchen lässt sich über die API nicht rückgängig machen; eine gebuchte Ausgabe wird in der Weboberfläche korrigiert. Der Aufruf ist über den Status abgesichert: Eine Wiederholung bucht nichts und liefert 422 mit expense_booked.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
paid_date string
Pflicht
Zahlungsdatum (YYYY-MM-DD), höchstens heute
curl -X POST "https://api.flowsuite.one/flowaccounting/expenses/{uuid}/book" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"paid_date": "value"}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/expenses/{uuid}/book', [
        'paid_date' => 'value',
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/expenses/{uuid}/book', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    paid_date: 'value',
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'paid_date': 'value',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/expenses/{uuid}/book',
    headers=headers,
    json=payload,
)

data = response.json()
{
    "success": true,
    "data": {
        "uuid": "550e8400-e29b-41d4-a716-446655440000",
        "status": "booked",
        "paid_date": "2026-03-14",
        "available_actions": []
    }
}
POST
/flowaccounting/expenses/{uuid}/review

Beleg als geprüft markieren

Markiert eine offene Ausgabe aus der Prüf-Queue als geprüft (intake_status wird reviewed, reviewed_at und der Bearbeiter werden gespeichert). Gebucht wird weiter nur über POST /flowaccounting/expenses/{uuid}/book. Voraussetzung sind ein Bruttobetrag und ein Belegdatum, sonst 422 review_incomplete. Hat ein früherer Beleg denselben Lieferanten und dieselbe Rechnungsnummer (oder dieselbe Nummer und USt-IdNr.), antwortet die API mit 422 duplicate_undecided, bis der Aufruf confirm_not_duplicate mit duplicate_reason mitgibt; ohne Bestätigung bucht auch /book eine solche Ausgabe nicht (422 duplicate_undecided). Bereits gebuchte Ausgaben: 422 expense_booked.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
confirm_not_duplicate boolean Bestätigt, dass ein Beleg mit derselben Rechnungsnummer keine Dublette ist
duplicate_reason string Begründung zu confirm_not_duplicate, 10 bis 500 Zeichen
curl -X POST "https://api.flowsuite.one/flowaccounting/expenses/{uuid}/review" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"confirm_not_duplicate": true, "duplicate_reason": "value"}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/expenses/{uuid}/review', [
        'confirm_not_duplicate' => true,
        'duplicate_reason' => 'value',
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/expenses/{uuid}/review', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    confirm_not_duplicate: true,
    duplicate_reason: 'value',
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'confirm_not_duplicate': True,
    'duplicate_reason': 'value',
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/expenses/{uuid}/review',
    headers=headers,
    json=payload,
)

data = response.json()
{
    "success": true,
    "data": {
        "uuid": "550e8400-e29b-41d4-a716-446655440000",
        "status": "pending",
        "intake_status": "reviewed",
        "reviewed_at": "2026-11-26T10:00:00+01:00",
        "duplicate_decision": null
    }
}
GET
/flowaccounting/expenses/{uuid}/receipt

Beleg herunterladen

Liefert die hinterlegte Belegdatei. Ohne Beleg antwortet die API mit 404. Die Datei wird vor der Auslieferung gegen ihren SHA-256 geprüft; fehlt sie oder stimmt sie nicht mehr, antwortet die API mit 409 receipt_integrity_failed. Hat die Sicherheitsprüfung beim Eingang etwas gefunden (Skript, Startaktion, Schadcode), antwortet die API mit 409 receipt_flagged und den Befunden in security_flags, bis der Aufruf acknowledge_security_findings=1 mitgibt.

Bearer pk_… oder at_…

Query-Parameter

Name Typ Pflicht Beschreibung
acknowledge_security_findings boolean Bestätigt, dass eine Datei mit Sicherheitsbefund trotzdem geliefert werden soll
curl -X GET "https://api.flowsuite.one/flowaccounting/expenses/{uuid}/receipt" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/expenses/{uuid}/receipt');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/expenses/{uuid}/receipt', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/expenses/{uuid}/receipt',
    headers=headers,
)

data = response.json()
Die Antwort ist eine Datei, kein JSON.

Lieferanten

Verwendete Lieferanten
Ein Lieferant, auf den bereits Ausgaben gebucht sind, lässt sich nicht löschen. Er wird stattdessen über is_active deaktiviert und verschwindet aus den Auswahllisten, ohne die Historie zu verändern.
GET
/flowaccounting/suppliers

Lieferanten auflisten

Ruft eine paginierte Liste aller Lieferanten des Teams ab, alphabetisch sortiert.

Bearer pk_… oder at_…

Query-Parameter

Name Typ Pflicht Beschreibung
is_active boolean Filter: nur aktive oder nur inaktive Lieferanten
search string Suchbegriff im Namen
per_page integer Anzahl pro Seite (1-200, Standard: 25)
curl -X GET "https://api.flowsuite.one/flowaccounting/suppliers" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/suppliers');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/suppliers', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/suppliers',
    headers=headers,
)

data = response.json()
POST
/flowaccounting/suppliers

Lieferant anlegen

Legt einen Lieferanten an.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
name string
Pflicht
Name des Lieferanten
address string Anschrift
vat_id string Umsatzsteuer-Identifikationsnummer
tax_id string Steuernummer
email string E-Mail-Adresse
phone string Telefonnummer
is_active boolean Aktiv (Standard: true)
curl -X POST "https://api.flowsuite.one/flowaccounting/suppliers" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"name": "value", "address": "value", "vat_id": "value", "tax_id": "value", "email": "value", "phone": "value", "is_active": true}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/suppliers', [
        'name' => 'value',
        'address' => 'value',
        'vat_id' => 'value',
        'tax_id' => 'value',
        'email' => 'value',
        'phone' => 'value',
        'is_active' => true,
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/suppliers', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    name: 'value',
    address: 'value',
    vat_id: 'value',
    tax_id: 'value',
    email: 'value',
    phone: 'value',
    is_active: true,
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'name': 'value',
    'address': 'value',
    'vat_id': 'value',
    'tax_id': 'value',
    'email': 'value',
    'phone': 'value',
    'is_active': True,
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/suppliers',
    headers=headers,
    json=payload,
)

data = response.json()
GET
/flowaccounting/suppliers/{uuid}

Lieferanten-Details abrufen

Lieferanten-Details abrufen.

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/suppliers/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/suppliers/{uuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/suppliers/{uuid}', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/suppliers/{uuid}',
    headers=headers,
)

data = response.json()
PUT
/flowaccounting/suppliers/{uuid}

Lieferant aktualisieren

Ändert einen Lieferanten. Es werden nur die gesendeten Felder geändert.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
name string Name des Lieferanten
is_active boolean Aktiv
curl -X PUT "https://api.flowsuite.one/flowaccounting/suppliers/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"name": "value", "is_active": true}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->put('https://api.flowsuite.one/flowaccounting/suppliers/{uuid}', [
        'name' => 'value',
        'is_active' => true,
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/suppliers/{uuid}', {
  method: 'PUT',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    name: 'value',
    is_active: true,
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'name': 'value',
    'is_active': True,
}

response = requests.put(
    'https://api.flowsuite.one/flowaccounting/suppliers/{uuid}',
    headers=headers,
    json=payload,
)

data = response.json()
DELETE
/flowaccounting/suppliers/{uuid}

Lieferant löschen

Löscht einen Lieferanten, auf den noch keine Ausgabe gebucht ist. Andernfalls antwortet die API mit 422 und dem Hinweis, den Lieferanten zu deaktivieren.

Bearer pk_… oder at_…

curl -X DELETE "https://api.flowsuite.one/flowaccounting/suppliers/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->delete('https://api.flowsuite.one/flowaccounting/suppliers/{uuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/suppliers/{uuid}', {
  method: 'DELETE',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.delete(
    'https://api.flowsuite.one/flowaccounting/suppliers/{uuid}',
    headers=headers,
)

data = response.json()

Ausgabenkategorien

Kategorien werden deaktiviert
Kategorien lassen sich nicht löschen: eine entfernte Kategorie würde sich von jeder Ausgabe lösen, die je unter ihr gebucht wurde, und damit vergangene Auswertungen verändern. Der Löschaufruf antwortet deshalb mit 422; zum Ausblenden dient is_active.
GET
/flowaccounting/expense-categories

Ausgabenkategorien auflisten

Ruft eine paginierte Liste aller Ausgabenkategorien des Teams ab, alphabetisch sortiert.

Bearer pk_… oder at_…

Query-Parameter

Name Typ Pflicht Beschreibung
is_active boolean Filter: nur aktive oder nur inaktive Kategorien
search string Suchbegriff im Namen
per_page integer Anzahl pro Seite (1-200, Standard: 25)
curl -X GET "https://api.flowsuite.one/flowaccounting/expense-categories" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/expense-categories');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/expense-categories', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/expense-categories',
    headers=headers,
)

data = response.json()
POST
/flowaccounting/expense-categories

Ausgabenkategorie anlegen

Legt eine Ausgabenkategorie an. Mit parent_uuid wird sie einer übergeordneten Kategorie untergeordnet; eine Verkettung im Kreis wird mit 422 abgelehnt.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
name string
Pflicht
Name der Kategorie
number string Kontonummer
parent_uuid string UUID der übergeordneten Kategorie
euer_group string Zuordnung in der Einnahmenüberschussrechnung
is_active boolean Aktiv (Standard: true)
curl -X POST "https://api.flowsuite.one/flowaccounting/expense-categories" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"name": "value", "number": "value", "parent_uuid": "value", "euer_group": "value", "is_active": true}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/expense-categories', [
        'name' => 'value',
        'number' => 'value',
        'parent_uuid' => 'value',
        'euer_group' => 'value',
        'is_active' => true,
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/expense-categories', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    name: 'value',
    number: 'value',
    parent_uuid: 'value',
    euer_group: 'value',
    is_active: true,
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'name': 'value',
    'number': 'value',
    'parent_uuid': 'value',
    'euer_group': 'value',
    'is_active': True,
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/expense-categories',
    headers=headers,
    json=payload,
)

data = response.json()
GET
/flowaccounting/expense-categories/{uuid}

Ausgabenkategorie abrufen

Details einer Ausgabenkategorie einschließlich parent_uuid.

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/expense-categories/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/expense-categories/{uuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/expense-categories/{uuid}', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/expense-categories/{uuid}',
    headers=headers,
)

data = response.json()
PUT
/flowaccounting/expense-categories/{uuid}

Ausgabenkategorie aktualisieren

Ändert eine Ausgabenkategorie. Es werden nur die gesendeten Felder geändert.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
name string Name der Kategorie
is_active boolean Aktiv
curl -X PUT "https://api.flowsuite.one/flowaccounting/expense-categories/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"name": "value", "is_active": true}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->put('https://api.flowsuite.one/flowaccounting/expense-categories/{uuid}', [
        'name' => 'value',
        'is_active' => true,
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/expense-categories/{uuid}', {
  method: 'PUT',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    name: 'value',
    is_active: true,
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'name': 'value',
    'is_active': True,
}

response = requests.put(
    'https://api.flowsuite.one/flowaccounting/expense-categories/{uuid}',
    headers=headers,
    json=payload,
)

data = response.json()
DELETE
/flowaccounting/expense-categories/{uuid}

Ausgabenkategorie löschen

Antwortet mit 422: Kategorien werden deaktiviert und nicht gelöscht. Der Endpoint besteht, damit der Grund benannt wird statt stillschweigend zu wirken.

Bearer pk_… oder at_…

curl -X DELETE "https://api.flowsuite.one/flowaccounting/expense-categories/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->delete('https://api.flowsuite.one/flowaccounting/expense-categories/{uuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/expense-categories/{uuid}', {
  method: 'DELETE',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.delete(
    'https://api.flowsuite.one/flowaccounting/expense-categories/{uuid}',
    headers=headers,
)

data = response.json()

Einnahmenkategorien

GET
/flowaccounting/income-categories

Einnahmenkategorien auflisten

Ruft eine paginierte Liste aller Einnahmenkategorien des Teams ab, alphabetisch sortiert.

Bearer pk_… oder at_…

Query-Parameter

Name Typ Pflicht Beschreibung
is_active boolean Filter: nur aktive oder nur inaktive Kategorien
income_group string Filter: umsatz, kapital, privat oder sonstige
search string Suchbegriff im Namen
per_page integer Anzahl pro Seite (1-200, Standard: 25)
curl -X GET "https://api.flowsuite.one/flowaccounting/income-categories" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/income-categories');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/income-categories', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/income-categories',
    headers=headers,
)

data = response.json()
POST
/flowaccounting/income-categories

Einnahmenkategorie anlegen

Legt eine Einnahmenkategorie an.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
name string
Pflicht
Name der Kategorie
number string Kontonummer
income_group string umsatz, kapital, privat oder sonstige
is_active boolean Aktiv (Standard: true)
curl -X POST "https://api.flowsuite.one/flowaccounting/income-categories" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"name": "value", "number": "value", "income_group": "value", "is_active": true}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->post('https://api.flowsuite.one/flowaccounting/income-categories', [
        'name' => 'value',
        'number' => 'value',
        'income_group' => 'value',
        'is_active' => true,
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/income-categories', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    name: 'value',
    number: 'value',
    income_group: 'value',
    is_active: true,
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'name': 'value',
    'number': 'value',
    'income_group': 'value',
    'is_active': True,
}

response = requests.post(
    'https://api.flowsuite.one/flowaccounting/income-categories',
    headers=headers,
    json=payload,
)

data = response.json()
GET
/flowaccounting/income-categories/{uuid}

Einnahmenkategorie abrufen

Details einer Einnahmenkategorie.

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/income-categories/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/income-categories/{uuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/income-categories/{uuid}', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/income-categories/{uuid}',
    headers=headers,
)

data = response.json()
PUT
/flowaccounting/income-categories/{uuid}

Einnahmenkategorie aktualisieren

Ändert eine Einnahmenkategorie. Es werden nur die gesendeten Felder geändert.

Bearer pk_… oder at_…

Request-Body

Name Typ Pflicht Beschreibung
name string Name der Kategorie
is_active boolean Aktiv
curl -X PUT "https://api.flowsuite.one/flowaccounting/income-categories/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"name": "value", "is_active": true}'
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->put('https://api.flowsuite.one/flowaccounting/income-categories/{uuid}', [
        'name' => 'value',
        'is_active' => true,
    ]);

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/income-categories/{uuid}', {
  method: 'PUT',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    name: 'value',
    is_active: true,
  }),
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

payload = {
    'name': 'value',
    'is_active': True,
}

response = requests.put(
    'https://api.flowsuite.one/flowaccounting/income-categories/{uuid}',
    headers=headers,
    json=payload,
)

data = response.json()
DELETE
/flowaccounting/income-categories/{uuid}

Einnahmenkategorie löschen

Antwortet mit 422: Kategorien werden deaktiviert und nicht gelöscht.

Bearer pk_… oder at_…

curl -X DELETE "https://api.flowsuite.one/flowaccounting/income-categories/{uuid}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->delete('https://api.flowsuite.one/flowaccounting/income-categories/{uuid}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/income-categories/{uuid}', {
  method: 'DELETE',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.delete(
    'https://api.flowsuite.one/flowaccounting/income-categories/{uuid}',
    headers=headers,
)

data = response.json()

Berichte und Kontext

Währungen bleiben getrennt
Berichte rechnen nichts um. Jede Währung wird einzeln ausgewiesen, damit keine erfundene Umrechnung in die Auswertung gerät. Das Feld basis jeder Antwort benennt, worauf die Zahlen beruhen, etwa Rechnungsdatum oder Zahlungseingang.
GET
/flowaccounting/reports/{kind}

Bericht abrufen

Liefert einen Bericht für den angegebenen Zeitraum. Mögliche Werte für kind: open_items (offene Posten), revenue (Rechnungsumsatz), revenue_per_client (Umsatz je Kunde), cash_flow (Einnahmen und Ausgaben nach Zahlungseingang), euer (Einnahmenüberschussrechnung) und profit_loss (Gewinn und Verlust). client_uuid ist nur bei open_items, revenue und revenue_per_client zulässig, sonst 422. Entwürfe und stornierte Rechnungen bleiben in jedem Bericht außen vor.

Bearer pk_… oder at_…

Query-Parameter

Name Typ Pflicht Beschreibung
from string
Pflicht
Beginn des Zeitraums (YYYY-MM-DD)
to string
Pflicht
Ende des Zeitraums (YYYY-MM-DD, nicht vor from)
client_uuid string Auf einen Kunden einschränken
page integer Seite der Ergebnisliste, 50 Zeilen je Seite
curl -X GET "https://api.flowsuite.one/flowaccounting/reports/{kind}" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/reports/{kind}');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/reports/{kind}', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/reports/{kind}',
    headers=headers,
)

data = response.json()
{
    "success": true,
    "data": {
        "report": "revenue",
        "from": "2026-01-01",
        "to": "2026-12-31",
        "basis": "invoice_date_excluding_drafts_and_cancellations",
        "totals": [
            {
                "currency_code": "EUR",
                "net_amount": 48250,
                "gross_amount": 57417.5,
                "invoice_count": 37
            }
        ]
    }
}
GET
/flowaccounting/context

Schreibkontext abrufen

Liefert die Dokumentvorgaben des Teams, die Steuersätze, die Kurzform des heute geltenden Steuerprofils (tax_profile), die Funktionen mit allowed und reason (features) und je Datensatzart die vollständige Liste der schreibbaren Felder. Damit lässt sich ein gültiger Rumpf für Angebote, Rechnungen, Rechnungskorrekturen, Ausgaben, Lieferanten und Kategorien aufbauen, ohne die Feldnamen zu erraten. Verknüpfungen erscheinen unter ihren öffentlichen Namen, etwa client_uuid statt einer internen Nummer. In tax_profile stehen vat_regime und tax_residence_country nur bei bestätigtem Profil, sonst null; default_tax_rate ist der Standardsatz neuer Positionen.

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/context" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/context');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/context', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/context',
    headers=headers,
)

data = response.json()
{
    "success": true,
    "data": {
        "defaults": {
            "default_currency": "EUR",
            "default_payment_days": 14
        },
        "tax_rates": [
            {
                "uuid": "550e8400-e29b-41d4-a716-446655440000",
                "name": "Regelsatz",
                "rate": 19
            }
        ],
        "tax_profile": {
            "exists": true,
            "confirmed": true,
            "valid_from": "0001-01-01",
            "tax_residence_country": "DE",
            "vat_regime": "standard",
            "charges_german_vat": true,
            "is_small_business": false,
            "vat_return_required": true,
            "default_tax_rate": 19,
            "functional_currency": "EUR",
            "open_questions": []
        },
        "features": [
            {
                "key": "ai_receipt_extraction",
                "allowed": false,
                "reason": "disabled"
            }
        ]
    }
}

Steuerprofil und Funktionen

Nur lesend
Das Steuerprofil lässt sich über die API nicht ändern. Es bestimmt, wie künftige Belege besteuert werden, und wird deshalb nur von einer berechtigten Person in den FlowAccounting-Einstellungen gepflegt.
Vorbelegt ist nicht bestätigt
Solange confirmed false ist, stammt das Profil aus einer automatischen Vorbelegung. Die Felder zeigen dann einen Vorschlag, die Ableitungen wie charges_german_vat oder default_tax_rate beschreiben das heutige Verhalten von FlowAccounting. Leiten Sie aus einem unbestätigten vat_regime keine steuerliche Einstufung ab.

Das Steuerprofil hält die steuerlichen Angaben des Teams in Versionen fest, jede mit einem Gültigkeitsbeginn. Eine Version gilt bis zum Tag vor der nächsten. Werte wie vat_regime sind stabile englische Schlüssel, labels enthält die Bezeichnungen in der Sprache des API-Key-Inhabers. Felder mit dem Wert null sind unbekannt; open_questions nennt sie. Wirtschafts-Identifikationsnummer und Finanzamtsnummer gibt die API nicht aus.

GET
/flowaccounting/tax-profile

Steuerprofil abrufen

Liefert die Version des Steuerprofils, die heute oder am Tag aus date gilt, mit ihren Ableitungen: charges_german_vat (Belege dürfen deutsche Umsatzsteuer ausweisen), is_small_business (bestätigter Kleinunternehmer nach § 19 UStG), is_registered_in_germany, allows_reverse_charge_output, input_vat_deductible, vat_return_required (Umsatzsteuer-Voranmeldung für den Zeitraum ab dem Tag), default_tax_rate (Standardsatz neuer Positionen in Prozent) und functional_currency (Buchhaltungswährung). Hat das Team noch keine Version, ist exists false und alle Ableitungen beschreiben das heutige Verhalten. Mögliche Werte: vat_regime standard, small_business oder not_registered_de; vat_basis accrual (Soll) oder cash (Ist); vat_filing_frequency monthly, quarterly oder exempt.

Bearer pk_… oder at_…

Query-Parameter

Name Typ Pflicht Beschreibung
date string Stichtag (YYYY-MM-DD), Standard: heute
curl -X GET "https://api.flowsuite.one/flowaccounting/tax-profile" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/tax-profile');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/tax-profile', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/tax-profile',
    headers=headers,
)

data = response.json()
{
    "success": true,
    "data": {
        "uuid": "550e8400-e29b-41d4-a716-446655440000",
        "exists": true,
        "date": "2026-11-22",
        "valid_from": "0001-01-01",
        "valid_until": null,
        "confirmed": true,
        "source": "wizard",
        "tax_residence_country": "DE",
        "vat_regime": "small_business",
        "vat_basis": null,
        "vat_filing_frequency": null,
        "legal_form": "freelancer",
        "fiscal_year_start_month": 1,
        "open_questions": [],
        "charges_german_vat": false,
        "is_small_business": true,
        "is_registered_in_germany": true,
        "allows_reverse_charge_output": false,
        "input_vat_deductible": false,
        "vat_return_required": false,
        "default_tax_rate": 0,
        "functional_currency": "EUR",
        "revision": 3,
        "labels": {
            "vat_regime": "Kleinunternehmer (§ 19 UStG)"
        }
    }
}
GET
/flowaccounting/tax-profile/history

Verlauf des Steuerprofils

Liefert alle Versionen des Steuerprofils, die älteste zuerst, in derselben Form wie GET /flowaccounting/tax-profile. valid_until ist der letzte Tag einer Version, bei der jüngsten null. Zeitraumbezogene Ableitungen gelten jeweils für den ersten Tag der Version.

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/tax-profile/history" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/tax-profile/history');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/tax-profile/history', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/tax-profile/history',
    headers=headers,
)

data = response.json()
{
    "success": true,
    "data": [
        {
            "uuid": "550e8400-e29b-41d4-a716-446655440000",
            "valid_from": "0001-01-01",
            "valid_until": "2026-12-31",
            "vat_regime": "small_business"
        },
        {
            "uuid": "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
            "valid_from": "2027-01-01",
            "valid_until": null,
            "vat_regime": "standard"
        }
    ],
    "meta": {
        "total": 2
    }
}
GET
/flowaccounting/features

Funktionen abrufen

Liefert je FlowAccounting-Funktion, ob sie wirksam ist (allowed), und die einzelnen Ebenen: module_active (FlowAccounting aktiv), applicable (passt zum Steuerprofil), entitled (im Paket enthalten) und enabled (vom Team eingeschaltet). reason nennt die erste Ebene, die nicht erfüllt ist: module_inactive, not_applicable, not_entitled, disabled, sonst allowed.

Bearer pk_… oder at_…

curl -X GET "https://api.flowsuite.one/flowaccounting/features" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
use Illuminate\Support\Facades\Http;

$response = Http::withToken('YOUR_API_TOKEN')
    ->get('https://api.flowsuite.one/flowaccounting/features');

$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowaccounting/features', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
  },
});

const data = await response.json();
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
}

response = requests.get(
    'https://api.flowsuite.one/flowaccounting/features',
    headers=headers,
)

data = response.json()
{
    "success": true,
    "data": [
        {
            "key": "ai_receipt_extraction",
            "label": "KI-Belegauslesung",
            "module_active": true,
            "entitled": true,
            "applicable": true,
            "enabled": false,
            "allowed": false,
            "reason": "disabled"
        }
    ]
}

Belege aus einem Fremdsystem übernehmen

Übernommene Rechnungen bleiben aus den automatischen Läufen heraus
Eine Rechnung mit einem Versanddatum vor dem Tag ihrer Erfassung gilt als übernommener Altbeleg. Sie wird nicht automatisch gemahnt und nicht automatisch abgebucht, auch wenn sie noch offen ist. Von Hand lässt sie sich weiterhin mahnen und abbuchen.
Nicht über den Status stornieren
Eine übernommene Rechnung, die im Fremdsystem per Rechnungskorrektur storniert wurde, wird hier ebenfalls über ihre Rechnungskorrektur ausgeglichen und steht danach auf paid. Setzen Sie sie nicht auf cancelled: Dabei entstünde zusätzlich eine Stornorechnung mit neuer Nummer aus dem laufenden Nummernkreis, und eine Rechnungskorrektur zu einer stornierten Rechnung lässt sich weder ausstellen noch mit ihr verrechnen.

Rechnungen und Rechnungskorrekturen, die in einem anderen System ausgestellt wurden, lassen sich mit ihren ursprünglichen Nummern und Daten übernehmen. Die Reihenfolge der Aufrufe ist dabei festgelegt. Sie gilt für manuelle Rechnungen (source manual, der Standard beim Anlegen).

1. Nummernkreise vorbereiten

Folgen die zu übernehmenden Nummern dem Format Ihres laufenden Nummernkreises, setzen Sie zuerst in den FlowAccounting-Einstellungen die nächste Rechnungsnummer und die nächste Nummer der Rechnungskorrektur über die höchste Nummer, die Sie übernehmen. Eine vorgegebene Nummer, die im laufenden Nummernkreis auf oder über dem nächsten Zählerstand liegt, wird mit 422 abgelehnt. Vorgegebene Nummern verändern den Zähler nicht.

2. Rechnung anlegen

POST /flowaccounting/invoices mit invoice_number, dem ursprünglichen invoice_date und due_date sowie den Positionen. Die Rechnung entsteht als Entwurf. Ohne payment_method erhält sie die Zahlungsart bank_transfer, ein beim Kunden hinterlegtes Zahlungsmittel wird nicht übernommen. Lassen Sie send weg, sonst geht die Rechnung per E-Mail an den Kunden.

3. Als versendet markieren

POST /flowaccounting/invoices/{uuid}/status mit status sent und dem ursprünglichen Versanddatum als sent_date. Dabei wird keine E-Mail verschickt. Ohne sent_date gilt der heutige Tag, und die Rechnung nimmt wie jede neu ausgestellte an den automatischen Läufen teil.

4. Bezahlte Rechnung: Zahlung buchen

POST /flowaccounting/invoices/{uuid}/transactions mit type payment, dem Betrag und dem ursprünglichen Zahlungsdatum als transaction_date. Gleicht die Zahlung die Rechnung aus, steht sie auf paid und übernimmt das transaction_date als paid_date.

5. Per Rechnungskorrektur stornierte Rechnung: Rechnungskorrektur übernehmen

Legen Sie die Rechnungskorrektur mit POST /flowaccounting/credit-notes an und geben Sie credit_note_number, die invoice_uuid der übernommenen Rechnung und credit_note_date mit. Stellen Sie sie mit POST /flowaccounting/credit-notes/{uuid}/issue aus; Nummer und Datum bleiben dabei erhalten. Verrechnen Sie sie danach mit POST /flowaccounting/credit-notes/{uuid}/settle, mode offset und dem ursprünglichen Datum als transaction_date. Deckt die Rechnungskorrektur den offenen Betrag, steht die Rechnung auf paid und übernimmt das transaction_date als paid_date. Die Detailantwort der Rechnung nennt die Rechnungskorrektur unter credit_notes.

Worauf Sie achten sollten

  • Löschen Sie einen Entwurf mit vorgegebener Nummer nicht. Die Nummer bleibt auch nach dem Löschen belegt und lässt sich kein zweites Mal vergeben. Korrigieren Sie den Entwurf stattdessen per PUT und seine Positionen über die Positionen-Endpoints. Die Nummer selbst lässt sich nach dem Anlegen nicht mehr ändern.
  • Eine Transaktion vom Typ credit an der Rechnung ersetzt keine Rechnungskorrektur. Sie bucht nur einen Betrag auf die Rechnung; ein Beleg der Rechnungskorrektur mit eigener Nummer entsteht dabei nicht.
  • Das Buchungsdatum der Verrechnung liegt frühestens auf dem Datum der Rechnungskorrektur und spätestens heute, das Versanddatum der Rechnung frühestens auf dem Rechnungsdatum und spätestens heute.

Status-Übergänge

Response-Format

Erfolgreiche Antwort

Listen-Endpoints liefern zusätzlich ein meta-Objekt mit Pagination-Informationen.

{"success": true, "data": {...}, "meta": {"current_page": 1, "per_page": 15, "total": 42}}

Fehler-Antwort

Fehler verwenden durchgehend das Feld message. Validierungsfehler (422) enthalten zusätzlich errors.

Statusübergänge

Der Rechnungsstatus folgt einer festen Zustandsmaschine. Der Endpoint POST /invoices/{uuid}/status erlaubt direkt nur die Übergänge nach sent und cancelled. Zahlungsbezogene Status (partially_paid, paid) entstehen automatisch durch Transaktionen bzw. den mark-paid-Endpoint. Das Feld allowed_transitions jeder Rechnung zeigt die aktuell möglichen Folgestatus.

Von Status Mögliche Folgestatus
draft sent, cancelled
sent paid, partially_paid, overdue, past_due, cancelled
partially_paid paid, overdue, past_due, cancelled
overdue paid, partially_paid, past_due, cancelled
past_due paid, partially_paid, overdue, cancelled
paid cancelled
cancelled Endstatus, keine weiteren Übergänge