> 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/bestellabwicklung/bestelleingang-aus-shopware-in-bc.md).

# Bestelleingang aus Shopware in BC

Der Shopware 6 API Connector ermöglicht den automatischen Import von Bestellungen aus Ihrem Onlineshop in Business Central.

### 1. Bestellimport

{% columns %}
{% column width="41.66666666666667%" %}

#### Manueller Import

1. Klicken Sie auf *"Shopware"* <i class="fa-right">:right:</i> *"Bestellungen Herunterladen"*.
2. Die neuen Bestellungen werden importiert.
   {% endcolumn %}

{% column width="58.33333333333333%" %}

#### Automatischer Import

Für den automatischen Import:

1. Erstellen Sie einen **Aufgabenwarteschlangenposten.**
2. Wählen Sie die entsprechende Codeunit.
3. Legen Sie das Intervall fest (z.B. alle 15 Minuten)
   {% endcolumn %}
   {% endcolumns %}

<div align="left" data-with-frame="true"><figure><img src="https://3167966143-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVsUTvHyq0bxTYi3oQtlM%2Fuploads%2Fb7D8bHePpGHOqPyUm8nJ%2FBildschirmfoto%202026-04-30%20um%2011.01.58.png?alt=media&#x26;token=7c6c46e8-800f-4dbb-88c1-48a6e261d7ff" alt=""><figcaption></figcaption></figure></div>

<div align="left" data-with-frame="true"><figure><img src="https://3167966143-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVsUTvHyq0bxTYi3oQtlM%2Fuploads%2Fj26dhSC2fPcD1jS3MxoG%2FBildschirmfoto%202026-06-11%20um%2011.09.20.png?alt=media&#x26;token=c8bb0a07-dc59-4b22-82a6-52bac9aa908e" alt=""><figcaption></figcaption></figure></div>

### 2. Importierte Daten

{% columns %}
{% column width="50%" %}

#### Auftragskopf

<table><thead><tr><th width="156.620849609375">Shopware-Feld</th><th width="157.384765625">BC-Feld</th></tr></thead><tbody><tr><td>Bestellnummer</td><td>Externe Belegnr.</td></tr><tr><td>Bestelldatum</td><td>Belegdatum</td></tr><tr><td>Kunde</td><td>Verk. an Deb.-Nr.</td></tr><tr><td>Rechnungs-adresse</td><td>Verk. an Adresse</td></tr><tr><td>Lieferadresse</td><td>Lief. an Adresse</td></tr></tbody></table>
{% endcolumn %}

{% column width="50%" %}

#### Auftragspositionen

<table><thead><tr><th width="145.5789794921875">Shopware-Feld</th><th width="129.7587890625">BC-Feld</th></tr></thead><tbody><tr><td>Artikelnummer</td><td>Nr.</td></tr><tr><td>Artikelname</td><td>Beschreibung</td></tr><tr><td>Menge</td><td>Menge</td></tr><tr><td>Einzelpreis</td><td>VK-Preis</td></tr><tr><td>MwSt.</td><td>MwSt.-%</td></tr></tbody></table>
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column width="83.33333333333334%" %}

#### Zusätzliche Daten

* **Versandkosten:** Werden als separate Position angelegt.
* **Rabatte:** Werden als Positionsrabatte oder Gutscheine verarbeitet.
* **Zahlungsinformationen:** Zahlungsmethode wird zugeordnet.
  {% endcolumn %}

{% column width="16.666666666666657%" %}

{% endcolumn %}
{% endcolumns %}

### 3. Bestellstatus-Filter

Sie können filtern, welche Bestellungen importiert werden:

<table><thead><tr><th width="112.2662353515625">Status</th><th width="149.1549072265625">Beschreibung</th><th width="165.56591796875">Import empfohlen</th></tr></thead><tbody><tr><td>open</td><td>Neue Bestellung</td><td>✅ Ja</td></tr><tr><td>in_progress</td><td>In Bearbeitung</td><td>✅ Ja</td></tr><tr><td>completed</td><td>Abgeschlossen</td><td>⚠️ Optional</td></tr><tr><td>cancelled</td><td>Storniert</td><td>❌ Nein</td></tr></tbody></table>

### Häufige Fragen

#### Als welcher Belegtyp wird eine Shopware-Bestellung in Business Central angelegt?

Das steuert die Konfigurationsoption „Download Order As“: Angebot (Quote), Auftrag (Order) oder Rechnung (Invoice). Der Beleg wird nur automatisch erzeugt, wenn zusätzlich „Generate Sales Order“ aktiv ist. Der verwendete Nummernkreis stammt aus „Sales Ord No.Series“, der Lagerort aus „Ord Download Location“.

#### Woran erkenne ich in Business Central, aus welcher Shopware-Bestellung ein Beleg stammt?

Der Connector hinterlegt am Verkaufsbeleg die Felder „SOUSHW Web Order ID“, „Web Order No“ und „Web Order Auto Increment“. Zusätzlich wird die externe Belegnummer im Format `SW:{Bestellnummer}` gesetzt, sodass sich jede BC-Bestellung eindeutig der Shopware-Bestellung zuordnen lässt.

#### Wie wird der Kunde einer Bestellung zugeordnet?

Der Connector lädt den Shopware-Kunden per `customer/{id}` und sucht den passenden Debitor über die „SOUSHW Web ID“ oder – abhängig von „Cust. Mapping Type“ – über E-Mail, Telefon oder Mobilnummer. Gastbestellungen laufen auf den „Default Guest Cust.“; ist „Create Unknown Cust.“ aktiv, wird bei fehlendem Treffer ein neuer Debitor aus der „Cust. Template“ angelegt.


---

# 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/bestellabwicklung/bestelleingang-aus-shopware-in-bc.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.
