> For the complete documentation index, see [llms.txt](https://docs.solutioo.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.solutioo.de/shopware/kundenverwaltung/gastkunden-and-standardkunden.md).

# Gastkunden & Standardkunden

Nicht jede Bestellung stammt von einem angemeldeten, synchronisierten Kunden. Der Connector bietet dafür flexible Regeln.

**Einstellungen (Konfiguration)**

| Feld                             | Bedeutung                                                      |
| -------------------------------- | -------------------------------------------------------------- |
| **Unbekannten Kunden erstellen** | Legt bei neuen Shopware-Kunden automatisch einen BC-Debitor an |
| **Gastkunde anlegen**            | Legt für Gastbestellungen einen Kunden an                      |
| **Standard-Gastkunde**           | Fallback-Debitor für Gastbestellungen                          |
| **Standard-Kunde (angemeldet)**  | Fallback für angemeldete, aber nicht synchronisierte Kunden    |
| **Kundenvorlage**                | Vorlage für neu angelegte Kunden                               |

**Entscheidungslogik beim Bestellimport**

```mermaid
flowchart TD
    A[Bestellung] --> B{Kundenkonto vorhanden?}
    B -->|nein| G[Standard-Gastkunde]
    B -->|ja| C{per Web-ID/E-Mail gefunden?}
    C -->|ja| D[bestehender Debitor]
    C -->|nein| E{Unbekannten Kunden erstellen?}
    E -->|ja| F[neuen Debitor anlegen]
    E -->|nein| H[Standard-Kunde angemeldet]
```

{% hint style="success" %}
**Empfehlung:** Legen Sie feste Standard-Debitoren für Gast- und Sammelbuchungen an. So bleiben Ihre Auswertungen sauber, auch wenn nicht für jede Bestellung ein eigener Debitor entsteht.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.solutioo.de/shopware/kundenverwaltung/gastkunden-and-standardkunden.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
