API documentation

FlowAccounting API

A complete REST API for managing invoices, quotes, credit notes, line items, transactions, products, tax rates and recurring billing, as well as expenses and receipts. With PDF, ZUGFeRD and XRechnung export and Stripe payment reconciliation.

Invoices
https://api.flowsuite.one/flowaccounting/invoices
Transactions
https://api.flowsuite.one/flowaccounting/transactions
Products
https://api.flowsuite.one/flowaccounting/products
Tax rates
https://api.flowsuite.one/flowaccounting/tax-rates
Recurring invoices
https://api.flowsuite.one/flowaccounting/recurring-invoices
Billable items
https://api.flowsuite.one/flowaccounting/billable-items
Quotes
https://api.flowsuite.one/flowaccounting/quotes
Credit notes
https://api.flowsuite.one/flowaccounting/credit-notes
Expenses
https://api.flowsuite.one/flowaccounting/expenses
Suppliers
https://api.flowsuite.one/flowaccounting/suppliers
Categories
https://api.flowsuite.one/flowaccounting/expense-categories
Reports
https://api.flowsuite.one/flowaccounting/reports
Tax profile
https://api.flowsuite.one/flowaccounting/tax-profile

Paths apply to https://api.flowsuite.one. The previous address https://creativeskyline.de/api/… keeps working with no end date.

OpenAPI file for this module

Quick start

Team-scoped data
All endpoints are team-scoped: they only return data of the team your API key belongs to.

1. Get your API credentials

Before you can use the API, you need your personal credentials: sign in, open account menu → API keys and copy your personal API key (pk_...).

2. Authentication

Every API request needs this HTTP header:

Authorization: Bearer pk_your_api_key
Accept: application/json

Invoices

Editing restrictions
Editing is only possible with status draft or sent (and source manual), deleting only with draft. Sent or paid invoices are cancelled instead.
GET
/flowaccounting/invoices

List invoices

Retrieves a paginated list of all invoices of the team (sorted by invoice date, newest first).

Bearer pk_… or at_…

Query parameters

Name Type Required Description
include string With items, the invoice line items including name and description are embedded
status string Filter: draft, sent, partially_paid, paid, overdue, past_due, cancelled
client_uuid string Filter by customer UUID (cmm_clients). Breaking change: the former filters client_id and contact_id are rejected with 422 instead of being silently ignored
search string Search term (invoice number, recipient name, company)
from string Invoice date from (YYYY-MM-DD)
to string Invoice date to (YYYY-MM-DD)
per_page integer Items per page (1-200, default: 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": "Doe GmbH",
            "total": 1190,
            "allowed_transitions": [
                "paid",
                "cancelled"
            ]
        }
    ],
    "meta": {
        "current_page": 1,
        "per_page": 15,
        "total": 42
    }
}
POST
/flowaccounting/invoices

Create invoice

Creates a new invoice. The invoice number is assigned automatically from the team's number series, but only when the invoice is issued (status change to sent, sending by email or send on creation): a draft has invoice_number: null, and a deleted draft uses up no number. If you need the number, read it from the response after issuing or with GET. For importing old invoices it can be set with invoice_number. An invoice with a given number gets the payment method bank_transfer if payment_method is missing; the customer's default payment method is not used then. The full order of a takeover is described in the section "Taking over documents from another system". If the number series collides with existing documents when issuing, the issuing endpoint responds with 409 and error_code: document_number_conflict. Line items can either be passed directly on creation via items or added afterwards with the line item endpoint; both ways are valid. Without send the invoice is created with status draft. With send it is sent by email right after creation and moves to status sent. In that case the response also contains the field sent, and if sending failed, also send_error_code and send_message. The invoice is still created with 201. If billing_operation_key is passed and the invoice for it already exists, the API returns the existing state and applies neither items nor send a second time, so a repeated call never sends twice. Breaking change: the former numeric fields client_id, contact_id and items.*.product_id are no longer accepted (validation error); customer, contact and product are given only with client_uuid, contact_uuid and items.*.product_uuid. § 19 notice: if the confirmed tax profile says the team is a small business in Germany (Kleinunternehmer under Section 19 UStG) and the amount still open on the invoice would, once paid, exceed this year's revenue limit (or the limit is already exceeded), the response also contains the field notices: a list with code small_business_limit, level would_exceed or already_exceeded, context invoice, year, the amounts in euros (limit_eur, known_turnover_eur, amount_eur, turnover_after_eur), complete (false if payments are unresolved), blocking (always false) and message. The notice never blocks and never changes the tax profile; without a notice the field is absent.

Bearer pk_… or at_…

Request body

Name Type Required Description
recipient_name string
Required
Name of the invoice recipient
invoice_date string
Required
Invoice date (YYYY-MM-DD)
due_date string Due date (>= invoice_date). If empty: invoice_date + the team's payment term (default 14 days)
currency_code string
Required
ISO 4217 currency code (3 characters, e.g. EUR)
client_uuid string Optional: customer UUID (cmm_clients, team-bound)
contact_uuid string Optional: contact UUID (team-bound)
invoice_number string Optional: your own invoice number, meant only for importing old invoices. Normally leave it out so the number series assigns the number. AI assistants and agents only set the field if the user explicitly insists on their own number. At most 40 characters from the letters A to Z, digits, space, dot, underscore and hyphen, starting and ending with a letter or digit. Must be unique within the team, also against deleted drafts and cancelled invoices. If the number lies within the current number series, it must be below the next counter value; to do this, first set the next invoice number in the FlowAccounting settings above the highest import number. The counter stays unchanged. After creation the number can no longer be changed
notes string Visible note on the invoice
payment_method string Payment method: bank_transfer | sepa | stripe | paypal | cash | other. Without a value, the customer's default payment method from FlowCRM applies (not set = bank transfer); credit card or SEPA are therefore only used if they are stored as the default there or given here explicitly. Exception: with a given invoice_number, bank_transfer always applies without a value, so that an imported old invoice is not charged to a payment method stored for the customer; an explicitly given payment method applies even then. stripe, sepa and paypal require a saved Stripe payment method of the matching type for the customer (otherwise 422).
stripe_pm_id string Optional: a specific Stripe payment method (pm_...) of the customer. Without a value, for stripe, sepa and paypal it is filled in from the customer's default payment method.
tax_treatment string Tax treatment of this invoice: standard | reverse_charge | reverse_charge_domestic | intra_community_supply | export | non_taxable_abroad | tax_exempt. Without a value, manual invoices use the customer's tax treatment from FlowCRM. With every value except standard, the invoice shows no VAT and carries the matching mandatory note: line items with a tax_rate above 0 or with unit_price_gross are rejected with 422. Only for source manual. reverse_charge_domestic (domestic reverse charge under Section 13b UStG) and tax_exempt (exempt under Section 4 UStG) only exist under German law: a team that is not subject to German law according to its tax profile cannot set them anew (422), a value already stored stays allowed.
tax_exemption_basis string Legal basis of the exemption for tax_exempt, e.g. "§ 4 Nr. 14" (max. 40 characters). Appears in the note "Steuerfrei nach … UStG"; without a value a general note on Section 4 UStG. Ignored for other tax treatments
property_retention_notice boolean Service connected with a property for a private person: prints the note on the two-year retention obligation (Section 14b (1) sentence 5 UStG)
document_language string Document language of the invoice: de | en | pt. Without a value, manual invoices use the customer's invoice language from FlowCRM, otherwise de
send boolean Send the invoice by email right after creation. Without this flag it stays a draft
items array Pass invoice line items directly, 1 to 200. For each line item <code>quantity</code> and <code>unit_price</code> are required, <code>name</code>, <code>description</code>, <code>tax_rate</code>, <code>unit</code>, <code>position</code>, <code>product_uuid</code>, <code>discount_percent</code> and <code>type</code> are optional. Without <code>position</code> the line items are numbered consecutively
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}

Get invoice details

Get invoice details, including line items, transactions as well as total_paid, remaining_amount and allowed_transitions. sent_date is the day the invoice was sent and is null for a draft. kind is invoice or cancellation (cancellation invoice). A cancellation invoice is a document of its own with its own number from the invoice series and negative amounts; cancels_invoice names the cancelled invoice (uuid, invoice_number, invoice_date). A cancelled invoice keeps its number and content, cancelled_by_invoice points to its cancellation invoice and cancelled_at gives the time. original_invoice_number is only set for cancellations from before cancellation invoices existed: back then the cancelled invoice itself got a new number, and the field names the number it was issued under. credit_notes lists the credit notes created for this invoice, ascending by credit note date, each with uuid, credit_note_number, status, credit_note_date, total and currency_code; the full credit note comes from the credit note endpoint. credit_notes only exists in this detail response, not in the list.

Bearer pk_… or 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}

Update invoice

Update an invoice. Only possible with status draft or sent and source manual (otherwise 422). A draft accepts the same header fields as on creation. An issued invoice is locked in content (GoBD, the German bookkeeping rules): only internal_notes, payment_method and stripe_pm_id can still be changed, as in the web interface. If the request contains another field (e.g. client_uuid, recipient_*, invoice_date, due_date, service_date_*, currency_code, document_language, notes, greeting_text, closing_text, payment_reference), the endpoint responds with 422 and error_code invoice_locked, names the fields in locked_fields, the allowed ones in allowed_fields and the ways to correct in correction, and writes nothing, not even the allowed fields of the same request. This also applies to a draft while a payment is running or a payment link is open. Content corrections go through POST /invoices/{uuid}/correct (correct invoice), a credit note (POST /credit-notes) or a cancellation. Breaking change: client_id and contact_id are no longer accepted; only client_uuid and contact_uuid.

Bearer pk_… or at_…

Request body

Name Type Required Description
recipient_name string Name of the invoice recipient. Only changeable in a draft
due_date string Due date. Only changeable in a draft
notes string Visible note on the invoice. Only changeable in a draft
tax_exemption_basis string Legal basis of the exemption for tax_exempt, e.g. "§ 4 Nr. 14" (max. 40 characters). Only changeable in a draft
property_retention_notice boolean Note on the retention obligation for property-related services to private persons (Section 14b (1) sentence 5 UStG). Only changeable in a draft
document_language string Document language of the invoice: de | en | pt. Only changeable in a draft
internal_notes string Internal note, does not appear on the invoice. Still changeable after issuing
payment_method string Payment method (bank_transfer | stripe | sepa | paypal | cash | other). Still changeable after issuing
stripe_pm_id string Saved Stripe payment method of the customer (pm_…) matching the payment method. Still changeable after issuing
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}

Delete invoice

Delete an invoice. Only possible with status draft (otherwise 422). A draft without a number is deleted and uses up no number. If the draft already has a number (saved before 2026-11-22, taken over with a given invoice_number, or a correction draft), it is discarded: the number stays taken and is never assigned again, and the response names it in retained_invoice_number.

Bearer pk_… or 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

Set invoice status

Direct status change. This endpoint only allows the transitions to sent (send) and cancelled (cancel). For a transition that is not allowed: 422 with the field allowed_transitions. On the change to sent, an invoice without a number gets its invoice number from the number series, and today counts as the sent date; no email is sent. When an issued invoice changes to cancelled, a separate cancellation invoice (kind cancellation) with a new number and negative line items is created; the invoice itself keeps its number and content and points to it with cancelled_by_invoice. A draft is cancelled without a cancellation invoice. A cancellation invoice itself can't be cancelled, corrected or duplicated. For old invoices from another system, the actual sent date can be passed with sent_date. An invoice with a sent date before the day it was recorded counts as a taken-over old document: it is not dunned automatically and not charged automatically. Both still work by hand. § 19 notice: if the confirmed tax profile says the team is a small business in Germany (Kleinunternehmer under Section 19 UStG) and the amount still open on the invoice would, once paid, exceed this year's revenue limit (or the limit is already exceeded), the response also contains the field notices: a list with code small_business_limit, level would_exceed or already_exceeded, context invoice, year, the amounts in euros (limit_eur, known_turnover_eur, amount_eur, turnover_after_eur), complete (false if payments are unresolved), blocking (always false) and message. The notice never blocks and never changes the tax profile; without a notice the field is absent.

Bearer pk_… or at_…

Request body

Name Type Required Description
status string
Required
Target status: sent or cancelled
sent_date string Optional: actual sent date (YYYY-MM-DD), meant only for taking over old invoices from another system. Normally leave it out, then today applies. Only together with status sent, only on the change from draft and only for manual invoices (source manual), otherwise 422. No earlier than the invoice date, no later than today. If the date is before the day the invoice was recorded here, it counts as a taken-over old document and is not dunned or charged automatically
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

Send invoice by email

Sends the invoice by email to the stored recipient. A cancelled invoice is not sent again (422, error_code: not_sendable); its cancellation invoice (kind cancellation, UUID from cancelled_by_invoice) can be sent with this endpoint and keeps the status cancelled. On the first send, an invoice with status draft automatically changes to sent and gets its invoice number; if the number series collides, the endpoint responds with 409 and error_code: document_number_conflict, and the invoice stays a draft without a number. An invoice that has already been sent can be sent again; the status stays unchanged. The endpoint is limited to 10 requests per minute per API key; further requests get 429. Not sendable are cancelled invoices, invoices without a recipient email, and e-invoice formats with open validation errors. In addition, only invoices from the sources manual, hosting_checkout and hosting_renewal can be sent, because automatically billed sources already send their invoice email themselves. In all these cases the API responds with 422 and the field error_code, which can be not_sendable, no_recipient_email or einvoice_invalid. An unknown UUID results in 404. § 19 notice: if the confirmed tax profile says the team is a small business in Germany (Kleinunternehmer under Section 19 UStG) and the amount still open on the invoice would, once paid, exceed this year's revenue limit (or the limit is already exceeded), the response also contains the field notices: a list with code small_business_limit, level would_exceed or already_exceeded, context invoice, year, the amounts in euros (limit_eur, known_turnover_eur, amount_eur, turnover_after_eur), complete (false if payments are unresolved), blocking (always false) and message. The notice never blocks and never changes the tax profile; without a notice the field is absent.

Bearer pk_… or 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

Download invoice as PDF

Downloads the invoice as a standard PDF (team setting einvoice_format=pdf). The response is a file download, not JSON. Issued invoices return the file saved at issuing byte for byte (headers X-FlowAccounting-Document-Source: frozen and X-FlowAccounting-Document-SHA256); drafts and invoices issued before freezing existed are generated with the current data (regenerated).

Bearer pk_… or 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)
The response is a file download (Content-Type: application/pdf), not JSON.
GET
/flowaccounting/invoices/{uuid}/pdf

Download invoice as ZUGFeRD

Downloads the invoice as ZUGFeRD 2.x (PDF with embedded XML according to EN 16931). Requires the team setting einvoice_format=zugferd.

Bearer pk_… or 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)
The response is a PDF download with embedded ZUGFeRD XML (PDF/A-3).
GET
/flowaccounting/invoices/{uuid}/pdf

Download invoice as XRechnung

Downloads the invoice as XRechnung (plain XML according to CIUS-DE). Requires the team setting einvoice_format=xrechnung. Mandatory format for invoices to German federal authorities.

Bearer pk_… or 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)
The response is an XML download (Content-Type: application/xml).
POST
/flowaccounting/invoices/{uuid}/duplicate

Duplicate invoice

Duplicates the invoice including its line items as a new draft without an invoice number; the number is assigned on issuing. Response: 201 with the new invoice.

Bearer pk_… or 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

Correct invoice

Cancels the sent invoice with a separate cancellation invoice and creates a correction draft with the same content. The correction carries the original's number with a correction suffix; the original keeps its number, is set to cancelled and points to the cancellation invoice and the correction. Possible with sent, overdue, past_due and partially_paid and only for manually managed invoices; otherwise 422. Response: 201 with the corrected invoice.

Bearer pk_… or 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

Send dunning notice

Orders a payment reminder or dunning notice. level must be exactly the next level due: a skipped or repeated level is rejected with 422 and dunning_level_not_due. Which level is due depends on the dunning intervals in the team settings and the levels already sent, so on the same rules as the automatic dunning run. Without recipient_emails the customer's recipients apply.

Bearer pk_… or at_…

Request body

Name Type Required Description
level string
Required
Dunning level: reminder, dunning_1, dunning_2 or dunning_3
recipient_emails array Different recipient addresses, at most 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

Mark invoice as paid

Marks the invoice as fully paid using a Stripe PaymentIntent ID. Idempotent: a repeated request with the same PaymentIntent ID returns the current state (200). Allowed starting statuses: sent, requires_action, past_due.

Bearer pk_… or at_…

Request body

Name Type Required Description
stripe_payment_intent_id string
Required
Stripe PaymentIntent ID (pi_3Q...)
date_paid string Payment date (YYYY-MM-DD), today at the latest (calendar day in Germany)
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

Store PaymentIntent

Stores a Stripe PaymentIntent ID on the invoice without setting the payment status to paid. For payments awaiting 3DS or past due.

Bearer pk_… or at_…

Request body

Name Type Required Description
stripe_payment_intent_id string
Required
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

Charge invoice via Stripe

Starts the charge of the invoice through the stored Stripe payment method (card or SEPA direct debit). Requirement: the invoice has a customer and a Stripe-backed payment method, otherwise the endpoint responds with 422 and an error_code (no_client, wrong_payment_method). A draft is issued before the charge (invoice number, status sent, no email), because a payment never runs against an invoice without a number; if the number series collides, the endpoint responds with 409 and error_code: document_number_conflict, and the draft stays unchanged. A declined payment is not a request error: the response is 200 with charged: false. A repeated call never charges twice. If Stripe is temporarily unreachable, the endpoint responds with 503. The call is rate-limited per API key.

Bearer pk_… or 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

Query payment status

Lightweight status query for polling after a charge, without line items and transactions. Returns uuid, status, payment_intent_status, last_charge_error and stripe_charge_id. SEPA direct debits are only finally confirmed after some days; the status then changes without any further call.

Bearer pk_… or 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

Checklist before issuing

Checks an invoice before issuing for the mandatory details under Sections 14 and 14a of the German VAT Act (UStG): addresses of issuer and customer, tax number or VAT ID, line items, service date, reverse charge, Section 19 UStG, deadlines. Returns the findings. Read-only. findings is a list with code (e.g. seller.address, buyer.vat_id, tax.small_business_limit), severity (error, warning or info), message in the language of the key owner, legal_basis and target (where the finding is fixed: invoice, recipient, company, tax_profile). blocks_manual_issue says whether the web interface refuses issuing because of errors, requires_confirmation whether notes have to be confirmed there. Issuing through the API (POST /invoices/{uuid}/status, POST /invoices/{uuid}/send) is never blocked (blocks_api_issue is always false); the findings are saved with the invoice on issuing and are then available in issued_snapshot. Without a confirmed tax profile, the findings that depend on the VAT status (e.g. tax number, service date, reverse charge, deadlines) are only info. The mandatory details of every invoice still remain errors and block issuing in the web interface: address of the issuer, name and address of the customer, invoice date and line items with a quantity; the same goes for the e-invoice validation. The Section 19 warning (tax.small_business_limit) stays a warning; tax_profile names the state used (confirmed, vat_regime, governs). Teams that are not registered for VAT in Germany according to their tax profile get no German VAT findings. An unknown UUID results in 404.

Bearer pk_… or 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

Download archived e-invoice

Returns the e-invoice archived on issuing byte for byte: for XRechnung the XML file (application/xml), for ZUGFeRD the PDF/A-3 with embedded XML (application/pdf). The response is a file download, not JSON; it is never regenerated. Headers: X-FlowAccounting-Einvoice-SHA256 (SHA-256 of the returned file), X-FlowAccounting-Einvoice-XML-SHA256 (SHA-256 of the invoice XML, for ZUGFeRD the embedded one), X-FlowAccounting-Einvoice-Uuid (archive entry). Without an archived e-invoice (draft, classic PDF, issued before archiving existed) the endpoint responds with 404 and error: einvoice_not_archived; if the file fails the hash check, with 409 and error: einvoice_integrity_failed. An unknown UUID or an invoice of another team results in 404.

Bearer pk_… or 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()
The response is a file, not JSON.
GET
/flowaccounting/invoices/{uuid}/einvoice/validation

Validation report of the archived e-invoice

Returns the latest validation report of the invoice's archived e-invoice. Read-only. The validation ran on exactly the issued bytes when archiving (well-formedness, XSD, business rules according to EN 16931 and XRechnung, mandatory details under Section 14 (4) UStG). validation_status is valid, valid_with_warnings, business_rule_errors, mandatory_field_errors or format_error. report.messages is a list with code (e.g. BR-DE-2, FAC-PFLICHT-6), severity (error or warning), category (format, business_rule, mandatory_vat) and message. Without an archived e-invoice 404 with error: einvoice_not_archived; an unknown UUID or an invoice of another team results in 404.

Bearer pk_… or 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"
        }
    }
}

Invoice line items

Editable only in draft
Line items can only be changed while the invoice has the status draft. After every change the invoice totals are recalculated.
GET
/flowaccounting/invoices/{uuid}/items

List line items

List all line items of an invoice.

Bearer pk_… or 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

Add line item

Adds a line item to the invoice. Breaking change: the former numeric field product_id is no longer accepted; the product is given only with product_uuid.

Bearer pk_… or at_…

Request body

Name Type Required Description
quantity number
Required
Quantity (min 0.01)
unit_price number
Required
Unit price (negative allowed for credit notes)
name string Line item name (max 255)
description string Description (max 1000)
tax_rate number Tax rate in percent (0-100). Without a value 0 %
unit string Unit (e.g. hrs)
product_uuid string Product UUID (fac_products, team-bound)
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}

Edit line item

Edit a line item. The line item is addressed by its UUID; numeric IDs are no longer accepted (HTTP 404). Only with draft.

Bearer pk_… or at_…

Request body

Name Type Required Description
quantity number Quantity
unit_price number Unit price
name string Line item name
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}

Delete line item

Delete a line item. The line item is addressed by its UUID. Only with draft.

Bearer pk_… or 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()

Transactions

Payments and credit notes are recorded as transactions of an invoice. The payment status of the invoice (partially_paid, paid) is recalculated automatically.

GET
/flowaccounting/invoices/{uuid}/transactions

List transactions of an invoice

List all transactions of an invoice (sorted by date, newest first).

Bearer pk_… or 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

Record transaction

Records a transaction. Only allowed if the invoice has the status sent, partially_paid or overdue. The transaction is booked in the invoice currency. If it settles the invoice, the invoice takes the transaction_date of this payment as its paid_date, also for payments recorded later. § 19 notice: only payments of type payment trigger it. If the confirmed tax profile says the team is a small business in Germany (Kleinunternehmer under Section 19 UStG) and this payment would exceed the revenue limit of its calendar year (or the limit is already exceeded), the response also contains the field notices: a list with code small_business_limit, level would_exceed or already_exceeded, context payment, year, the amounts in euros (limit_eur, known_turnover_eur, amount_eur, turnover_after_eur), complete (false if payments are unresolved), blocking (always false) and message. The notice never blocks and never changes the tax profile; without a notice the field is absent.

Bearer pk_… or at_…

Request body

Name Type Required Description
type string
Required
Transaction type: payment | refund | credit
amount number
Required
Amount (min 0.01)
transaction_date string
Required
Transaction date (YYYY-MM-DD), today at the latest (calendar day in Germany)
payment_method string
Required
Payment method: bank_transfer | sepa | stripe | paypal | cash | other
reference string Reference (max 255)
notes string Note (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}

Delete transaction

Delete a transaction. The transaction is addressed by its UUID; numeric IDs are no longer accepted (HTTP 404). Not possible for invoices with status draft or cancelled.

Bearer pk_… or 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-wide transaction overview

Team-wide transaction overview across all invoices (paginated, 25 per page).

Bearer pk_… or at_…

Query parameters

Name Type Required Description
from string Transaction date from (YYYY-MM-DD)
to string Transaction date to (YYYY-MM-DD)
search string Search term (note, reference, invoice number)
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()

Products

GET
/flowaccounting/products

List products

List products (paginated, sorted by frequency of use).

Bearer pk_… or at_…

Query parameters

Name Type Required Description
type string Filter by source (e.g. manual)
search string Search term (title/description)
per_page integer Items per page (1-200, default: 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}

Get product

Retrieves a single product of your team by its uuid. Unknown entries or entries of another team result in 404.

Bearer pk_… or 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

Create product

Create a new product.

Bearer pk_… or at_…

Request body

Name Type Required Description
title string
Required
Product name (max 255)
unit_price number
Required
Net unit price (min 0). Required if <code>unit_price_gross</code> is missing; not together with <code>unit_price_gross</code>
unit_price_gross number Gross unit price incl. VAT (min 0), as an alternative to <code>unit_price</code>. Stored exactly; the net price is derived from it
tax_rate number
Required
Tax rate (0-100)
description string Description
unit string Unit (max 50)
is_active boolean Active (default: 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}

Update product

Update a product.

Bearer pk_… or at_…

Request body

Name Type Required Description
title string Product name
unit_price number Net unit price, makes the product a net product
unit_price_gross number Gross unit price incl. VAT, stored exactly; not together with <code>unit_price</code>
tax_rate number Tax rate
is_active boolean Active
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}

Delete product

Delete a product.

Bearer pk_… or 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()

Tax rates

Addressed by UUID
Tax rates are addressed only by their UUID. The former numeric ID is no longer accepted (HTTP 404).
GET
/flowaccounting/tax-rates

List tax rates

Get all tax rates of the team (not paginated, sorted by sort_order).

Bearer pk_… or 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}

Get tax rate

Retrieves a single tax rate of your team by its uuid. Unknown entries or entries of another team result in 404.

Bearer pk_… or 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

Create tax rate

Create a new tax rate.

Bearer pk_… or at_…

Request body

Name Type Required Description
name string
Required
Name (max 255)
rate number
Required
Tax rate in percent (0-100)
description string Description
is_default boolean Set as default
is_active boolean Active
sort_order integer Sort order (>= 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}

Update tax rate

Update a tax rate.

Bearer pk_… or at_…

Request body

Name Type Required Description
name string Name
rate number Tax rate
is_active boolean Active
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}

Delete tax rate

Delete a tax rate. Not possible if it is used in invoice line items (422).

Bearer pk_… or 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

Set as default

Sets this tax rate as the team default (all others lose the default flag).

Bearer pk_… or 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()

Recurring invoices

Automatic invoice generation
Active templates automatically generate invoices at fixed intervals. Pause templates when no invoices should be generated.
GET
/flowaccounting/recurring-invoices

List

List recurring invoices (paginated, 25 per page).

Bearer pk_… or at_…

Query parameters

Name Type Required Description
status string Filter: active, paused
client_uuid string Filter by customer UUID. Breaking change: the former filter client_id is rejected with 422 instead of being silently ignored
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}

Get recurring invoice

Retrieves a single recurring invoice of your team by its uuid. Unknown entries or entries of another team result in 404.

Bearer pk_… or 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

Create recurring invoice

Create a new recurring invoice. Breaking change: the former numeric field client_id is no longer accepted; the customer is given only with client_uuid.

Bearer pk_… or at_…

Request body

Name Type Required Description
tax_exemption_basis string Legal basis of the exemption if the customer has the tax treatment tax_exempt, e.g. "§ 4 Nr. 14" (max. 40 characters). Taken over into the generated invoices and printed in the note
client_uuid string
Required
Customer UUID (cmm_clients, team-bound)
interval_value integer
Required
Interval value (>= 1)
interval_unit string
Required
Interval unit: day | week | month | year
start_date string
Required
Start date (YYYY-MM-DD)
template_items array
Required
Line items of the template (min 1)
auto_send boolean Send automatically
end_date string End date (>= 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}

Update

Update a recurring invoice.

Bearer pk_… or at_…

Request body

Name Type Required Description
tax_exemption_basis string Legal basis of the exemption if the customer has the tax treatment tax_exempt, e.g. "§ 4 Nr. 14" (max. 40 characters). Taken over into the generated invoices and printed in the note
interval_value integer Interval value
interval_unit string Interval unit
auto_send boolean Send automatically
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}

Delete

Delete a recurring invoice.

Bearer pk_… or 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

Pause

Pauses the template (status paused): no new invoices are generated.

Bearer pk_… or 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

Activate

Activates the template again (status active) and sets what the automatic run may do. auto_send, auto_charge and recipient_emails are the actual approval: without them only drafts are created. auto_send is on by default, auto_charge is off by default and requires a Stripe or SEPA payment method on the series (otherwise 422). Without recipient_emails the customer's recipients apply; if no address is stored there and the invoices should be sent, the API responds with 422.

Bearer pk_… or at_…

Request body

Name Type Required Description
auto_send boolean Send generated invoices automatically (default: true)
auto_charge boolean Charge generated invoices automatically (default: false, requires payment method stripe or sepa)
recipient_emails array Recipient addresses for automatic sending, at most 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

Generate next invoice

Generates the due invoice of the series right away, without waiting for the nightly run. If no invoice is due right now or the series' approval is no longer valid, the API responds with 422 and nothing_to_generate.

Bearer pk_… or 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"
    }
}

Installment plans

Part invoices instead of VAT shown twice
The converted invoice is cancelled or settled with a credit note. Each installment is issued on its date as a separate, numbered part invoice with its share of VAT and then goes through sending, charging and dunning like any other invoice.
GET
/flowaccounting/installment-plans

List

Installment plans of the team (paginated, 25 per page) with amounts, converted invoices and schedule.

Bearer pk_… or at_…

Query parameters

Name Type Required Description
status string Filter: active, paused, completed, cancelled
client_uuid string Filter by customer 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}

Get installment plan

An installment plan with all installments and part invoices. public_url is the link to the public customer page (null as long as no link has been created or the link is revoked). Installments with kind=extra are extra payments the customer made there. Unknown entries or entries of another team result in 404.

Bearer pk_… or 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

Convert invoices into an installment plan

Converts open, sent invoices (source manual or quote_accepted) of one customer into an installment plan. Unpaid invoices are cancelled, partly paid ones are settled for the open rest with a credit note. The open amount is then issued on each date as a numbered part invoice. Refused conversions respond with 422 and error=installment_plan_refused.

Bearer pk_… or at_…

Request body

Name Type Required Description
invoice_uuids array
Required
UUIDs of the invoices (team-bound, same customer and same currency)
start_date string
Required
First installment on (YYYY-MM-DD)
schedule_mode string
Required
Split: amount (fixed installment amount, smaller final installment) | count (number of equal installments) | end_date (until an end date)
installment_amount number Amount per installment, required with schedule_mode=amount
installment_count integer Number of installments (1 to 240), required with schedule_mode=count
end_date string Last installment by (YYYY-MM-DD), required with schedule_mode=end_date
interval_unit string month (default) | week
interval_value integer Interval (1 to 12), e.g. 3 with month = quarterly
payment_method string bank_transfer | stripe | sepa | paypal | cash | other (default: payment method of the invoice)
auto_charge boolean Charge part invoices automatically on the day they are created (stripe/sepa only)
auto_send boolean Number part invoices and send them automatically (default true; false = draft)
notes string Note on every part invoice and on the installment agreement
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

Add invoice

Adds another open invoice of the same customer. keep_rate extends the plan with the same installment, new_rate spreads the whole rest again with the given plan values, separate creates a second installment plan and returns it.

Bearer pk_… or at_…

Request body

Name Type Required Description
invoice_uuid string
Required
UUID of the invoice (team-bound)
add_mode string
Required
keep_rate | new_rate | separate
start_date string First installment, required with add_mode=separate
schedule_mode string Split: amount (fixed installment amount, smaller final installment) | count (number of equal installments) | end_date (until an end date)
installment_amount number Amount per installment, required with schedule_mode=amount
installment_count integer Number of installments (1 to 240), required with schedule_mode=count
end_date string Last installment by (YYYY-MM-DD), required with schedule_mode=end_date
interval_unit string month (default) | week
interval_value integer Interval (1 to 12), e.g. 3 with month = quarterly
payment_method string bank_transfer | stripe | sepa | paypal | cash | other (default: payment method of the invoice)
auto_charge boolean Charge part invoices automatically on the day they are created (stripe/sepa only)
auto_send boolean Number part invoices and send them automatically (default true; false = draft)
notes string Note on every part invoice and on the installment agreement
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

Recalculate installments

Spreads the rest not yet billed again. Part invoices already issued stay unchanged.

Bearer pk_… or at_…

Request body

Name Type Required Description
schedule_mode string
Required
Split: amount (fixed installment amount, smaller final installment) | count (number of equal installments) | end_date (until an end date)
installment_amount number Amount per installment, required with schedule_mode=amount
installment_count integer Number of installments (1 to 240), required with schedule_mode=count
end_date string Last installment by (YYYY-MM-DD), required with schedule_mode=end_date
interval_unit string month (default) | week
interval_value integer Interval (1 to 12), e.g. 3 with month = quarterly
start_date string Next installment on (default: next open date)
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

Set installments individually

Replaces all installments that are still open. The total must match the rest not yet billed exactly, otherwise 422.

Bearer pk_… or at_…

Request body

Name Type Required Description
installments array
Required
List of objects with date (YYYY-MM-DD, from today) and amount (from 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

Pause

Pauses an active installment plan. No part invoices are created until it is resumed.

Bearer pk_… or 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

Resume

Resumes a paused installment plan. The open installments keep their amounts and start on the new date.

Bearer pk_… or at_…

Request body

Name Type Required Description
next_date string
Required
Next installment on (YYYY-MM-DD, from today)
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

End

Ends the installment plan early. bill_rest issues the rest right away as the last part invoice, waive waives it without any further invoice.

Bearer pk_… or at_…

Request body

Name Type Required Description
mode string
Required
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()

Billable items

Items already billed
Items that have already been consolidated into an invoice can neither be edited nor deleted (422).
GET
/flowaccounting/billable-items

List

List billable items (paginated, 25 per page).

Bearer pk_… or at_…

Query parameters

Name Type Required Description
open boolean true = open items only, false = billed items only
client_uuid string Filter by customer UUID. Breaking change: the former filter client_id is rejected with 422 instead of being silently ignored
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}

Get billable item

Retrieves a single billable item of your team by its uuid. Unknown entries or entries of another team result in 404.

Bearer pk_… or 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

Create item

Create a new billable item. Breaking change: the former numeric field client_id is no longer accepted; the customer is given only with client_uuid.

Bearer pk_… or at_…

Request body

Name Type Required Description
tax_exemption_basis string Legal basis of the exemption if the customer has the tax treatment tax_exempt, e.g. "§ 4 Nr. 14" (max. 40 characters). Taken over into the generated invoices and printed in the note
client_uuid string
Required
Customer UUID (cmm_clients, team-bound)
description string
Required
Description (max 255)
unit_price number
Required
Unit price
quantity number Quantity (min 0.01)
unit string Unit (max 50)
tax_rate number Tax rate
due_date string Due date
auto_bill boolean Bill automatically
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}

Edit item

Edit. Only possible as long as the item has not been billed (422).

Bearer pk_… or at_…

Request body

Name Type Required Description
tax_exemption_basis string Legal basis of the exemption if the customer has the tax treatment tax_exempt, e.g. "§ 4 Nr. 14" (max. 40 characters). Taken over into the generated invoices and printed in the note
description string Description
unit_price number Unit price
quantity number Quantity
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}

Delete item

Delete. Only possible as long as it has not been billed (422).

Bearer pk_… or 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

Consolidate items

Combines several open items into invoices: one draft invoice is created per customer. Response: 201 with the invoices created.

Bearer pk_… or at_…

Request body

Name Type Required Description
uuids array
Required
UUIDs of the items to consolidate (min 1, unique)
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

Bill a single item

Bills exactly this item right away and returns the draft invoice. The due date is deliberately skipped, and nothing is sent. An item that has already been billed returns its existing invoice with 200 instead of a second one.

Bearer pk_… or 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"
    }
}

Quotes

Editing restrictions
A quote can only be changed or deleted with status draft. Once it is with the customer, its content is what the customer received; after that only the actions listed in the available_actions field of the response are allowed.
GET
/flowaccounting/quotes

List quotes

Retrieves a paginated list of all quotes of the team, sorted by quote date, newest first.

Bearer pk_… or at_…

Query parameters

Name Type Required Description
status string Filter: draft, sent, accepted, declined, expired, withdrawn
client_uuid string Filter by customer UUID
search string Search term (quote number, recipient name, company)
from string Quote date from (YYYY-MM-DD)
to string Quote date to (YYYY-MM-DD)
per_page integer Items per page (1-200, default: 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

Create quote

Creates a quote with status draft. The quote number is assigned automatically from the team's number series; for taking over existing quotes from another system it can be set with quote_number. Fields not given are filled in from the team settings and the customer data, such as currency, language, validity, greeting and closing text. The complete list of writable fields comes from GET /flowaccounting/context. The quote takes over the tax treatment from the customer in FlowCRM and returns it as tax_treatment (standard, reverse_charge, reverse_charge_domestic, intra_community_supply, export, non_taxable_abroad or tax_exempt). With every value except standard the quote shows no VAT: a given tax_rate is set to 0. The invoice created from an accepted quote takes over its tax treatment.

Bearer pk_… or at_…

Request body

Name Type Required Description
client_uuid string
Required
Customer UUID (team-bound)
contact_uuid string Contact UUID of the customer
quote_number string Optional: your own quote number, meant only for taking over existing quotes from another system. Normally leave it out so the number series assigns the number on creation. AI assistants and agents only set the field if the user explicitly insists on their own number. At most 40 characters from the letters A to Z, digits, space, dot, underscore and hyphen, starting and ending with a letter or digit. Must be unique within the team, also against deleted drafts and withdrawn quotes. If the number lies within the current number series, it must be below the next counter value; to do this, first set the next quote number in the FlowAccounting settings above the highest import number. The counter stays unchanged. After creation the number can no longer be changed
quote_date string Quote date (YYYY-MM-DD, default: today)
valid_until string Valid until (YYYY-MM-DD, default: the team's validity period)
signature_type string Acceptance type: button or canvas
currency_code string EUR, USD, CHF or GBP
document_language string de, en or pt
discount_percent number Overall discount in percent
greeting_text string Cover text above the line items
closing_text string Closing text below the line items
notes string Visible note on the quote
tax_exemption_basis string Legal basis of the exemption with the tax treatment tax_exempt, e.g. "§ 4 Nr. 14" (max. 40 characters), printed in the note on the document
internal_notes string Internal note, not on the document
items array
Required
Line items, 1 to 200. For each line item <code>name</code>, <code>quantity</code>, <code>unit_price</code> and <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> and <code>project_uuid</code>
recipient_name string Different recipient name
recipient_company string Different recipient company
recipient_email string Different recipient address
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}

Get quote details

Quote details including line items, totals, available_actions and allowed_transitions.

Bearer pk_… or 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}

Update quote

Changes a quote with status draft; otherwise 422. Only the fields sent are changed, all others stay as they are. If items is passed, the list replaces all line items. The quote number can't be changed: quote_number is rejected here with 422.

Bearer pk_… or at_…

Request body

Name Type Required Description
valid_until string Valid until (YYYY-MM-DD)
notes string Visible note on the quote
tax_exemption_basis string Legal basis of the exemption with the tax treatment tax_exempt, e.g. "§ 4 Nr. 14" (max. 40 characters), printed in the note on the document
items array Replaces all line items
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}

Delete quote

Deletes a quote with status draft; otherwise 422.

Bearer pk_… or 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

Send quote by email

Sends the quote and sets it to sent. Requires an Idempotency-Key header in UUID format; the same key never sends twice. Without recipient_emails the customer's recipients apply. If the sender domain is not verified, the API responds with 409 and sender_domain_not_verified.

Bearer pk_… or at_…

Request body

Name Type Required Description
recipient_emails array Different recipient addresses, at most 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

Withdraw quote

Withdraws a sent quote. Only possible from status sent; otherwise 422.

Bearer pk_… or 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

Record acceptance

Records that the customer accepted the quote, for example by phone or email. Only possible from status sent and only once; otherwise 422. This endpoint is not meant for acceptance through the customer's quote link, where the signature is recorded as well.

Bearer pk_… or 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

Convert to invoice

Creates a draft invoice from an accepted quote. Only possible with status accepted; otherwise 422 with quote_not_accepted. A second call returns the invoice already created with 200 instead of another one.

Bearer pk_… or 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

Download quote PDF

Returns the quote as a PDF file (application/pdf), in the team's document layout and in the language recorded on the document.

Bearer pk_… or 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()
The response is a file, not JSON.

Quote line items

Totals
After every change to a line item, the quote totals are recalculated. Line items can only be changed while the quote is a draft.
GET
/flowaccounting/quotes/{uuid}/items

List line items

Lists the line items of a quote, sorted by their order.

Bearer pk_… or at_…

Query parameters

Name Type Required Description
per_page integer Items per page (1-200, default: 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

Add line item

Adds a line item to the quote. Without position it is appended at the end. A project_uuid must belong to a project of the quote's customer; otherwise 422.

Bearer pk_… or at_…

Request body

Name Type Required Description
name string
Required
Name of the line item
quantity number
Required
Quantity
unit_price number
Required
Net unit price
tax_rate number
Required
Tax rate in percent
description string Description text
unit string Unit, such as hour or piece
discount_percent number Line item discount in percent
type string service, product or hours
position integer Order
product_uuid string Product UUID from the product catalogue
project_uuid string Project UUID of the quote's customer
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}

Update line item

Changes a single line item. Only the fields sent are changed.

Bearer pk_… or at_…

Request body

Name Type Required Description
quantity number Quantity
unit_price number Net unit price
tax_rate number Tax rate in percent
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}

Delete line item

Removes a line item from the quote and recalculates the totals.

Bearer pk_… or 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()

Credit notes

Issuing is final
On issuing, the credit note gets its number, unless one was given on creation, and can no longer be changed. If the underlying invoice was paid through Stripe, the refund is started at the same time. A failed refund does not undo the issuing but is reported in the field refund_status.
GET
/flowaccounting/credit-notes

List credit notes

Retrieves a paginated list of all credit notes of the team, sorted by credit note date, newest first.

Bearer pk_… or at_…

Query parameters

Name Type Required Description
status string Filter: draft, issued, settled, cancelled
client_uuid string Filter by customer UUID
from string Credit note date from (YYYY-MM-DD)
to string Credit note date to (YYYY-MM-DD)
per_page integer Items per page (1-200, default: 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

Create credit note

Creates a credit note with status draft. With invoice_uuid it is linked to the invoice to be credited; that invoice must belong to the same customer and use the same currency. Credit note line items are free rows without a product or project link. A credit note for an invoice takes over its tax treatment, a free credit note the customer's; the response names it as tax_treatment. With every value except standard (e.g. reverse_charge, tax_exempt) the credit note shows no VAT: a given tax_rate is set to 0. The credit note only gets its number from the team's number series on issuing; for taking over existing credit notes from another system it can be set with credit_note_number.

Bearer pk_… or at_…

Request body

Name Type Required Description
client_uuid string
Required
Customer UUID (team-bound)
invoice_uuid string UUID of the invoice to be credited
contact_uuid string Contact UUID of the customer
credit_note_number string Optional: your own credit note number, meant only for taking over existing credit notes from another system. Normally leave it out so the number series assigns the number on issuing. AI assistants and agents only set the field if the user explicitly insists on their own number. At most 40 characters from the letters A to Z, digits, space, dot, underscore and hyphen, starting and ending with a letter or digit. Must be unique within the team, also against deleted drafts and cancelled credit notes. If the number lies within the current number series, it must be below the next counter value; to do this, first set the next credit note number in the FlowAccounting settings above the highest import number. The counter stays unchanged, also on issuing. After creation the number can no longer be changed
credit_note_date string Credit note date (YYYY-MM-DD, default: today)
currency_code string EUR, USD, CHF or GBP
document_language string de, en or pt
einvoice_format string pdf, zugferd or xrechnung
notes string Visible note on the credit note
tax_exemption_basis string Legal basis of the exemption with the tax treatment tax_exempt, e.g. "§ 4 Nr. 14" (max. 40 characters), printed in the note on the document. A credit note for an invoice takes over the invoice's legal basis
items array
Required
Line items, 1 to 200, with <code>name</code>, <code>quantity</code>, <code>unit_price</code> and <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}

Get credit note details

Credit note details including line items, totals and available_actions.

Bearer pk_… or 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}

Update credit note

Changes a credit note with status draft; otherwise 422. If items is passed, the list replaces all line items. The credit note number can't be changed: credit_note_number is rejected here with 422.

Bearer pk_… or at_…

Request body

Name Type Required Description
notes string Visible note on the credit note
tax_exemption_basis string Legal basis of the exemption with the tax treatment tax_exempt, e.g. "§ 4 Nr. 14" (max. 40 characters), printed in the note on the document. A credit note for an invoice takes over the invoice's legal basis
items array Replaces all line items
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}

Delete credit note

Deletes a credit note with status draft; otherwise 422.

Bearer pk_… or 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

Issue credit note

Issues the credit note and assigns its number, unless one was given on creation. If the underlying invoice was paid through Stripe, the refund is started. The field refund_status reports started, not_required or review_required. Only possible with status draft; otherwise 422. Also 422 if the linked invoice is still a draft (issue the invoice first), if it was cancelled, or if its tax treatment changed since the credit note was saved: then first save the credit note again with its line items via PUT.

Bearer pk_… or 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

Apply credit note

Applies an issued credit note and books exactly one transaction of type credit for it. With mode offset the amount is booked to the linked invoice: it may exceed neither the credit note total nor the invoice's open amount, and invoice and credit note must use the same currency. If the booking covers the open amount, the invoice counts as paid (paid), otherwise as partially paid (partially_paid); a draft invoice or a cancelled invoice is rejected. With pool the amount goes to the customer's credit without reference to an invoice and is available there for later invoices. In both cases the credit note is fully settled afterwards (settled), even for a partial amount: the rest does not go to the credit and can't be applied later. Without amount the highest allowed amount is booked. transaction_date is meant for taking over historical documents and sets the booking date of the transaction. The response contains the credit note in data, the booked transaction in transaction and, with offset, the state of the invoice in invoice (uuid, invoice_number, status, paid_date, remaining_amount); with pool, invoice is null. The call is guarded by the status: a repetition books nothing and returns 422 with credit_note_already_settled, a draft or a cancelled credit note 422 with credit_note_not_issued. Further rejections with 422: credit_note_without_invoice, invoice_not_settleable, currency_mismatch, amount_exceeds_limit and transaction_date_out_of_range.

Bearer pk_… or at_…

Request body

Name Type Required Description
mode string
Required
<code>offset</code> (apply to the linked invoice) or <code>pool</code> (credit to the customer's credit balance)
amount number Amount to book, at least 0.01. Default: the credit note total, with <code>offset</code> at most the invoice's open amount
transaction_date string Booking date (YYYY-MM-DD, default: today). No earlier than the credit note date, no later than today
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

Cancel credit note

Cancels a credit note with status draft or issued; the call has no body. Cancelling is final. The document and its number are kept: the credit note can still be retrieved, and its number is never freed again. This also applies to a draft created with a given credit_note_number; it keeps that number. A settled or already cancelled credit note returns 422 with action_not_available. Also 422, with credit_note_refund_started, if a Stripe refund was started for the linked invoice and has not failed: the money has then gone back to the customer, and the document for it must remain.

Bearer pk_… or 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

Send credit note by email

Sends the issued credit note to exactly one address; several recipients are rejected with 422. Requires an Idempotency-Key header in UUID format. Without recipient_emails the customer's stored address applies.

Bearer pk_… or at_…

Request body

Name Type Required Description
recipient_emails array Exactly one different recipient address
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

Download credit note PDF

Returns the credit note as a PDF file (application/pdf) in the team's document layout. Issued credit notes return the file saved on issuing (header X-FlowAccounting-Document-Source: frozen), otherwise regenerated.

Bearer pk_… or 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()
The response is a file, not JSON.
GET
/flowaccounting/credit-notes/{uuid}/einvoice

Download archived e-invoice

Returns the e-invoice of the credit note archived on issuing byte for byte: for XRechnung the XML file (application/xml), for ZUGFeRD the PDF/A-3 with embedded XML (application/pdf). The response is a file download, not JSON; it is never regenerated. Headers: X-FlowAccounting-Einvoice-SHA256 (SHA-256 of the returned file), X-FlowAccounting-Einvoice-XML-SHA256 (SHA-256 of the invoice XML, for ZUGFeRD the embedded one), X-FlowAccounting-Einvoice-Uuid (archive entry). Without an archived e-invoice (draft, classic PDF, issued before archiving existed) the endpoint responds with 404 and error: einvoice_not_archived; if the file fails the hash check, with 409 and error: einvoice_integrity_failed. An unknown UUID or a credit note of another team results in 404.

Bearer pk_… or 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()
The response is a file, not JSON.
GET
/flowaccounting/credit-notes/{uuid}/einvoice/validation

Validation report of the archived e-invoice

Returns the latest validation report of the credit note's archived e-invoice. Read-only. The validation ran on exactly the issued bytes when archiving (well-formedness, XSD, business rules according to EN 16931 and XRechnung, mandatory details under Section 14 (4) UStG). validation_status is valid, valid_with_warnings, business_rule_errors, mandatory_field_errors or format_error. report.messages is a list with code (e.g. BR-DE-2, FAC-PFLICHT-6), severity (error or warning), category (format, business_rule, mandatory_vat) and message. Without an archived e-invoice 404 with error: einvoice_not_archived; an unknown UUID or a credit note of another team results in 404.

Bearer pk_… or 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"
        }
    }
}

Expenses

Receipts
A receipt is uploaded as a file (multipart/form-data), not as a link: PDF, JPEG and PNG up to 10 MB are allowed. The file is kept in private storage and can only be reached through the download endpoint, never through a public address.
GET
/flowaccounting/expenses

List expenses

Retrieves a paginated list of all expenses of the team, sorted by booking date, newest first.

Bearer pk_… or at_…

Query parameters

Name Type Required Description
status string Filter: pending or booked
supplier_uuid string Filter by supplier UUID
expense_category_uuid string Filter by category UUID
search string Search term (description, supplier invoice number)
intake_status string Filter by intake status: needs_review returns the review queue (all open receipts before review), also received, processing, failed or reviewed
missing_receipt boolean Only receipts with input VAT but without an invoice file (task "receipt missing")
from string Booking date from (YYYY-MM-DD)
to string Booking date to (YYYY-MM-DD)
per_page integer Items per page (1-200, default: 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

Record expense

Records an expense with status pending; it is booked in a separate step with POST /flowaccounting/expenses/{uuid}/book. Net, tax and gross amounts are calculated from gross_amount, tax_rate and vat_mode. A second expense with the same supplier invoice number from the same supplier (or the same number and the same VAT ID on the receipt) is rejected with 422, unless the call confirms with confirm_not_duplicate and a reason in duplicate_reason (at least 10 characters) that it is not a duplicate. The decision is stored on the expense with reason, time and the person who made it. A credit note with the opposite sign does not count as a duplicate.

Bearer pk_… or at_…

Request body

Name Type Required Description
booking_date string
Required
Booking date (YYYY-MM-DD)
gross_amount number
Required
Gross amount
tax_rate number Tax rate in percent (default: the team's tax rate)
vat_mode string full, none or reverse_charge (default: full)
currency_code string EUR, USD, CHF or GBP
supplier_uuid string Supplier UUID
expense_category_uuid string Category UUID
supplier_invoice_number string Supplier's invoice number
description string Short description
notes string Internal note
confirm_not_duplicate boolean Confirms that a receipt with the same invoice number is not a duplicate (only with duplicate_reason)
duplicate_reason string Reason for confirm_not_duplicate, 10 to 500 characters
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}

Get expense details

Expense details including the calculated amounts as well as has_receipt and receipt_name. intake_status shows the way through the review queue (needs_review, failed, reviewed …), reviewed_at the time of the review, duplicate_decision a duplicate decision (not_duplicate) and missing_receipt whether input VAT is claimed but the invoice file is missing.

Bearer pk_… or 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}

Update expense

Changes an expense with status pending. Expenses already booked stay unchanged and are rejected with 422. A changed supplier invoice number is checked for duplicates as on recording (confirm_not_duplicate, duplicate_reason).

Bearer pk_… or at_…

Request body

Name Type Required Description
gross_amount number Gross amount
expense_category_uuid string Category UUID
description string Short description
confirm_not_duplicate boolean Confirms that a receipt with the same invoice number is not a duplicate (only with duplicate_reason)
duplicate_reason string Reason for confirm_not_duplicate, 10 to 500 characters
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}

Delete expense

Deletes an expense with status pending; otherwise 422.

Bearer pk_… or 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

Upload receipt

Attaches the receipt to the expense as multipart/form-data. PDF, JPEG and PNG up to 10 MB are allowed; the type is determined from the file content. An existing receipt is replaced once the new one is saved and is kept as an earlier version. A booked expense without a receipt file takes the missing invoice once (task "receipt missing"); if it already has a receipt, the API responds with 422 expense_booked, if the same file is already the receipt of another expense of the team with 422 receipt_duplicate, and for a file that is not a receipt with 422 invalid_receipt.

Bearer pk_… or at_…

Request body

Name Type Required Description
file file
Required
Receipt file (PDF, JPEG or PNG, at most 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

Book expense

Books an expense with status pending: it changes to status booked and gets the payment date paid_date. Only a booked expense counts in the reports, in the period of its payment date. The order is: create the expense, upload the receipt, book. After booking, changing, deleting and replacing the receipt through the API are blocked (422). Booking can't be undone through the API; a booked expense is corrected in the web interface. The call is guarded by the status: a repetition books nothing and returns 422 with expense_booked.

Bearer pk_… or at_…

Request body

Name Type Required Description
paid_date string
Required
Payment date (YYYY-MM-DD), today at the latest
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

Mark receipt as reviewed

Marks an open expense from the review queue as reviewed (intake_status becomes reviewed, reviewed_at and the person who reviewed are saved). Booking still only happens with POST /flowaccounting/expenses/{uuid}/book. A gross amount and a receipt date are required, otherwise 422 review_incomplete. If an earlier receipt has the same supplier and the same invoice number (or the same number and VAT ID), the API responds with 422 duplicate_undecided until the call passes confirm_not_duplicate with duplicate_reason; without confirmation /book doesn't book such an expense either (422 duplicate_undecided). Expenses already booked: 422 expense_booked.

Bearer pk_… or at_…

Request body

Name Type Required Description
confirm_not_duplicate boolean Confirms that a receipt with the same invoice number is not a duplicate
duplicate_reason string Reason for confirm_not_duplicate, 10 to 500 characters
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

Download receipt

Returns the stored receipt file. Without a receipt the API responds with 404. The file is checked against its SHA-256 before delivery; if it is missing or no longer matches, the API responds with 409 receipt_integrity_failed. If the security check on intake found something (script, launch action, malicious code), the API responds with 409 receipt_flagged and the findings in security_flags, until the call passes acknowledge_security_findings=1.

Bearer pk_… or at_…

Query parameters

Name Type Required Description
acknowledge_security_findings boolean Confirms that a file with a security finding should be delivered anyway
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()
The response is a file, not JSON.

Suppliers

Suppliers in use
A supplier that already has expenses booked against it can't be deleted. Instead it is deactivated with is_active and disappears from the selection lists without changing the history.
GET
/flowaccounting/suppliers

List suppliers

Retrieves a paginated list of all suppliers of the team, sorted alphabetically.

Bearer pk_… or at_…

Query parameters

Name Type Required Description
is_active boolean Filter: only active or only inactive suppliers
search string Search term in the name
per_page integer Items per page (1-200, default: 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

Create supplier

Creates a supplier.

Bearer pk_… or at_…

Request body

Name Type Required Description
name string
Required
Name of the supplier
address string Address
vat_id string VAT identification number
tax_id string Tax number
email string Email address
phone string Phone number
is_active boolean Active (default: 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}

Get supplier details

Get supplier details.

Bearer pk_… or 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}

Update supplier

Changes a supplier. Only the fields sent are changed.

Bearer pk_… or at_…

Request body

Name Type Required Description
name string Name of the supplier
is_active boolean Active
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}

Delete supplier

Deletes a supplier that has no expense booked against it yet. Otherwise the API responds with 422 and the hint to deactivate the supplier.

Bearer pk_… or 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()

Expense categories

Categories are deactivated
Categories can't be deleted: a removed category would come loose from every expense ever booked under it and change past reports. The delete call therefore responds with 422; use is_active to hide a category.
GET
/flowaccounting/expense-categories

List expense categories

Retrieves a paginated list of all expense categories of the team, sorted alphabetically.

Bearer pk_… or at_…

Query parameters

Name Type Required Description
is_active boolean Filter: only active or only inactive categories
search string Search term in the name
per_page integer Items per page (1-200, default: 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

Create expense category

Creates an expense category. With parent_uuid it is placed below a parent category; a circular chain is rejected with 422.

Bearer pk_… or at_…

Request body

Name Type Required Description
name string
Required
Name of the category
number string Account number
parent_uuid string UUID of the parent category
euer_group string Assignment in the EÜR, the German cash-basis profit statement
is_active boolean Active (default: 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}

Get expense category

Details of an expense category including parent_uuid.

Bearer pk_… or 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}

Update expense category

Changes an expense category. Only the fields sent are changed.

Bearer pk_… or at_…

Request body

Name Type Required Description
name string Name of the category
is_active boolean Active
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}

Delete expense category

Responds with 422: categories are deactivated, not deleted. The endpoint exists so that the reason is named instead of the call silently doing nothing.

Bearer pk_… or 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()

Income categories

GET
/flowaccounting/income-categories

List income categories

Retrieves a paginated list of all income categories of the team, sorted alphabetically.

Bearer pk_… or at_…

Query parameters

Name Type Required Description
is_active boolean Filter: only active or only inactive categories
income_group string Filter: umsatz (revenue), kapital (capital), privat (private) or sonstige (other)
search string Search term in the name
per_page integer Items per page (1-200, default: 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

Create income category

Creates an income category.

Bearer pk_… or at_…

Request body

Name Type Required Description
name string
Required
Name of the category
number string Account number
income_group string umsatz (revenue), kapital (capital), privat (private) or sonstige (other)
is_active boolean Active (default: 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}

Get income category

Details of an income category.

Bearer pk_… or 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}

Update income category

Changes an income category. Only the fields sent are changed.

Bearer pk_… or at_…

Request body

Name Type Required Description
name string Name of the category
is_active boolean Active
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}

Delete income category

Responds with 422: categories are deactivated, not deleted.

Bearer pk_… or 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()

Reports and context

Currencies stay separate
Reports convert nothing. Every currency is shown on its own so that no made-up conversion ends up in the figures. The field basis of every response names what the figures are based on, for example invoice date or payment received.
GET
/flowaccounting/reports/{kind}

Get report

Returns a report for the given period. Possible values for kind: open_items (open items), revenue (invoiced revenue), revenue_per_client (revenue per customer), cash_flow (income and spending by payment date), euer (EÜR, the German cash-basis profit statement) and profit_loss (profit and loss). client_uuid is only allowed with open_items, revenue and revenue_per_client, otherwise 422. Drafts and cancelled invoices are left out of every report.

Bearer pk_… or at_…

Query parameters

Name Type Required Description
from string
Required
Start of the period (YYYY-MM-DD)
to string
Required
End of the period (YYYY-MM-DD, not before from)
client_uuid string Limit to one customer
page integer Page of the result list, 50 rows per page
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

Get writing context

Returns the team's document defaults, the tax rates, the short form of the tax profile valid today (tax_profile), the features with allowed and reason (features) and, per record type, the complete list of writable fields. With it you can build a valid body for quotes, invoices, credit notes, expenses, suppliers and categories without guessing field names. Links appear under their public names, such as client_uuid instead of an internal number. In tax_profile, vat_regime and tax_residence_country are only filled with a confirmed profile, otherwise null; default_tax_rate is the default rate of new line items.

Bearer pk_… or 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"
            }
        ]
    }
}

Tax profile and features

Read-only
The tax profile can't be changed through the API. It determines how future documents are taxed and is therefore only maintained by an authorised person in the FlowAccounting settings.
Prefilled is not confirmed
As long as confirmed is false, the profile comes from an automatic prefill. The fields then show a suggestion, and derived values such as charges_german_vat or default_tax_rate describe how FlowAccounting behaves today. Don't derive a tax classification from an unconfirmed vat_regime.

The tax profile records the team's tax details in versions, each with a start date. A version applies until the day before the next one. Values such as vat_regime are stable English keys, labels contains the names in the language of the API key owner. Fields with the value null are unknown; open_questions names them. The API doesn't return the German business identification number (Wirtschafts-Identifikationsnummer) or the tax office number.

GET
/flowaccounting/tax-profile

Get tax profile

Returns the version of the tax profile valid today or on the day given in date, with its derived values: charges_german_vat (documents may show German VAT), is_small_business (confirmed small business under Section 19 UStG), is_registered_in_germany, allows_reverse_charge_output, input_vat_deductible, vat_return_required (German advance VAT return for the period starting on that day), default_tax_rate (default rate of new line items in percent) and functional_currency (accounting currency). If the team has no version yet, exists is false and all derived values describe today's behaviour. Possible values: vat_regime standard, small_business or not_registered_de; vat_basis accrual (VAT on invoiced amounts) or cash (VAT on payments received); vat_filing_frequency monthly, quarterly or exempt.

Bearer pk_… or at_…

Query parameters

Name Type Required Description
date string Reference date (YYYY-MM-DD), default: today
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

Tax profile history

Returns all versions of the tax profile, oldest first, in the same form as GET /flowaccounting/tax-profile. valid_until is the last day of a version, null for the newest. Period-related derived values apply to the first day of each version.

Bearer pk_… or 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

Get features

Returns for every FlowAccounting feature whether it is in effect (allowed) and the individual levels: module_active (FlowAccounting active), applicable (fits the tax profile), entitled (included in the plan) and enabled (switched on by the team). reason names the first level that is not met: module_inactive, not_applicable, not_entitled, disabled, otherwise allowed.

Bearer pk_… or 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"
        }
    ]
}

Taking over documents from another system

Taken-over invoices stay out of the automatic runs
An invoice with a sent date before the day it was recorded counts as a taken-over old document. It is not dunned automatically and not charged automatically, even if it is still open. You can still send dunning notices and charge it by hand.
Don't cancel through the status
A taken-over invoice that was reversed by a credit note in the other system is settled here with its credit note as well and then shows paid. Don't set it to cancelled: that would also create a cancellation invoice with a new number from the current number series, and a credit note for a cancelled invoice can neither be issued nor applied.

Invoices and credit notes issued in another system can be taken over with their original numbers and dates. The order of the calls is fixed. It applies to manual invoices (source manual, the default on creation).

1. Prepare the number series

If the numbers you take over follow the format of your current number series, first set the next invoice number and the next credit note number in the FlowAccounting settings above the highest number you take over. A given number that lies in the current number series at or above the next counter value is rejected with 422. Given numbers don't change the counter.

2. Create the invoice

POST /flowaccounting/invoices with invoice_number, the original invoice_date and due_date and the line items. The invoice is created as a draft. Without payment_method it gets the payment method bank_transfer; a payment method stored for the customer is not used. Leave out send, otherwise the invoice is emailed to the customer.

3. Mark as sent

POST /flowaccounting/invoices/{uuid}/status with status sent and the original sent date as sent_date. No email is sent. Without sent_date today applies, and the invoice takes part in the automatic runs like any newly issued one.

4. Paid invoice: book the payment

POST /flowaccounting/invoices/{uuid}/transactions with type payment, the amount and the original payment date as transaction_date. If the payment settles the invoice, it shows paid and takes the transaction_date as its paid_date.

5. Invoice reversed by a credit note: take over the credit note

Create the credit note with POST /flowaccounting/credit-notes and pass credit_note_number, the invoice_uuid of the invoice you took over and credit_note_date. Issue it with POST /flowaccounting/credit-notes/{uuid}/issue; number and date are kept. Then apply it with POST /flowaccounting/credit-notes/{uuid}/settle, mode offset and the original date as transaction_date. If the credit note covers the open amount, the invoice shows paid and takes the transaction_date as its paid_date. The invoice's detail response lists the credit note under credit_notes.

What to watch out for

  • Don't delete a draft with a given number. The number stays taken even after deleting and can't be assigned a second time. Correct the draft with PUT instead, and its line items with the line item endpoints. The number itself can no longer be changed after creation.
  • A transaction of type credit on the invoice doesn't replace a credit note. It only books an amount to the invoice; no credit note document with its own number is created.
  • The booking date of the offset is no earlier than the credit note date and no later than today, the sent date of the invoice no earlier than the invoice date and no later than today.

Status transitions

Response format

Successful response

List endpoints also return a meta object with pagination information.

{"success": true, "data": {...}, "meta": {"current_page": 1, "per_page": 15, "total": 42}}

Error response

Errors always use the field message. Validation errors (422) also contain errors.

Status transitions

The invoice status follows a fixed state machine. The endpoint POST /invoices/{uuid}/status only allows the transitions to sent and cancelled directly. Payment-related statuses (partially_paid, paid) are set automatically by transactions or by the mark-paid endpoint. The field allowed_transitions of every invoice shows the statuses that are currently possible next.

From status Possible next status
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 Final status, no further transitions