> For the complete documentation index, see [llms.txt](https://docs.docbits.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.docbits.com/deutsch/infor-integration-and-configuration/exporting-to-infor/m3.md).

# M3

## Schritt 1: Einen Connection Point erstellen

1. Navigieren Sie zu **OS > ION > Connect > Connection Points**
2. Klicken Sie auf **Add** und wählen Sie **IMS via API Gateway** als Connection Type.
3. Konfigurieren Sie die folgenden Einstellungen:
   * **Name**: Setzen Sie auf `DocBits_Export`.
   * **Description**: Setzen Sie auf `DocBits_Export`.
   * **Uncheck**: *Application has IMS End Point*.
   * **ION API Client ID**:
     * Öffnen Sie die ION API Datei.
     * Suchen Sie nach `"ci"` innerhalb der Datei.
     * Kopieren Sie den Wert innerhalb der Anführungszeichen (ohne die Anführungszeichen).

![](https://raw.githubusercontent.com/FELLOWPRO/DocBits_Documentation/refs/heads/main/public_docs/.gitbook/assets/export_to_m3_from_docbits_1.png)

4. Fügen Sie unter **Documents** `Sync.CaptureDocument` hinzu.

![](https://raw.githubusercontent.com/FELLOWPRO/DocBits_Documentation/refs/heads/main/public_docs/.gitbook/assets/export_to_m3_from_docbits_2.png)

5. Klicken Sie auf **Save**, um die Konfiguration abzuschließen.

## Schritt 2: Mappings hochladen

{% file src="/files/00VUFSum7c9Lxr30HkeQ" %}

1. Laden Sie die M3 Mapping Datei herunter.
2. Navigieren Sie zu **Infor** > **OS** > **ION** > **Connect** > **Mappings**.
3. Klicken Sie auf **Import** und wählen Sie die entsprechende Mapping Datei für **M3**.

![](https://raw.githubusercontent.com/FELLOWPRO/DocBits_Documentation/refs/heads/main/public_docs/.gitbook/assets/export_to_m3_from_docbits_3.png)

4. Sobald die Dateien importiert sind, bestätigen Sie die Mappings, um sie zu aktivieren.

![](https://raw.githubusercontent.com/FELLOWPRO/DocBits_Documentation/refs/heads/main/public_docs/.gitbook/assets/export_to_m3_from_docbits_4.png)

## Schritt 3: Den Data Flow erstellen

1. Navigieren Sie zu **OS** -> **ION** -> **Connect** -> **Data Flows**.
2. Klicken Sie auf **Add** und wählen Sie **Document Flow**.
3. Geben Sie die Details ein:
   * **Name**: `DocBits_Export_to_M3`
4. Fügen Sie Nodes zum Flow hinzu:

#### Application Node

1. Fügen Sie einen **Application Node** zum Flow hinzu.
   * **Name**: `DocBits` oder `DocBits-Export`.
2. Klicken Sie auf **Add** und wählen Sie den **Connection Point**, der in Schritt 1 erstellt wurde.

![](https://raw.githubusercontent.com/FELLOWPRO/DocBits_Documentation/refs/heads/main/public_docs/.gitbook/assets/export_to_m3_from_docbits_5.png)

3. Klicken Sie auf das **Document Icon** neben dem Application Node.
   * Klicken Sie auf **Add** und wählen Sie `Sync.CaptureDocument`.

![](https://raw.githubusercontent.com/FELLOWPRO/DocBits_Documentation/refs/heads/main/public_docs/.gitbook/assets/export_to_m3_from_docbits_6.png)

#### Mapping Node

1. Fügen Sie einen **Mapping Node** rechts vom Application Node hinzu.
   * **Name**: `Capt2process`.
   * **Mapping**: `CaptureDocument_to_ProcessSupplierInvoice`.

![](https://raw.githubusercontent.com/FELLOWPRO/DocBits_Documentation/refs/heads/main/public_docs/.gitbook/assets/export_to_m3_from_docbits_7.png)

#### Application Node

1. Fügen Sie einen **Application Node** rechts vom vorherigen Mapping Node hinzu.
   * **Name**: `M3`.
2. Klicken Sie auf **Add** und wählen Sie die **M3 Application** vom Kunden.

![](https://raw.githubusercontent.com/FELLOWPRO/DocBits_Documentation/refs/heads/main/public_docs/.gitbook/assets/export_to_m3_from_docbits_8.png)

3. Klicken Sie auf das **Document Icon** neben dem Application Node.
   * Klicken Sie auf **Add** und wählen Sie `Acknowledge.SupplierInvoice`.

![](https://raw.githubusercontent.com/FELLOWPRO/DocBits_Documentation/refs/heads/main/public_docs/.gitbook/assets/export_to_m3_from_docbits_9.png)

#### API Node

1. Fügen Sie einen **API Node** rechts vom Application Node hinzu.
   * **Name**: `DocBits-Error`.
   * **ION API Connector**: `DocBits_Import`.
   * Wenn `DocBits_Import` nicht existiert, siehe **Schritt 1** und **Schritt 2** der Import from M3 Dokumentation, um den Connection Point zu erstellen.

![](https://raw.githubusercontent.com/FELLOWPRO/DocBits_Documentation/refs/heads/main/public_docs/.gitbook/assets/export_to_m3_from_docbits_10.png)

#### Flow speichern und aktivieren

* Sobald alle Nodes hinzugefügt und konfiguriert sind, klicken Sie auf **Save**.
* Aktivieren Sie den Flow, um die Einrichtung abzuschließen.

<figure><img src="https://2396827744-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhNyN4taXWt0p7OGOOSfW%2Fuploads%2Fgit-blob-6fc933cb5684f1f468f84ed761e55bd787967178%2Fm3-historical-ion-activation-example.png?alt=media" alt="Historisches englischsprachiges Infor-ION-Beispiel: Der Pfeil zeigt auf das Aktivierungssymbol eines Demo-Datenflusses. Die Abbildung belegt keinen ausgeführten Export."><figcaption><p>Historisches englischsprachiges Infor-ION-Beispiel: Der Pfeil zeigt auf das Aktivierungssymbol eines Demo-Datenflusses. Die Abbildung belegt keinen ausgeführten Export.</p></figcaption></figure>

## Schritt 4: Export in DocBits konfigurieren

### On-Premise:

1. Öffnen Sie **DocBits**.
2. Navigieren Sie zu **Einstellungen > Dokumentenverarbeitung > Export**.

   ![](https://raw.githubusercontent.com/FELLOWPRO/DocBits_Documentation/refs/heads/main/public_docs/.gitbook/assets/settings_export.png)
3. Erstellen Sie einen neuen Export:
   * **Auswählen**: **Infor IDM + ION BOD**.
   * **Titel**: Wählen Sie einen aussagekräftigen Titel.
   * **Dokumenttyp**: Setzen Sie auf **Rechnung**.
   * **Unterorganisation**: Kann leer gelassen werden oder auf eine bestimmte Unterorganisation gesetzt werden, falls erforderlich.
4. **Laden Sie die erforderlichen Dateien hoch**:
   * **ION Mapping File**: Diese finden Sie unter **Infor OS → API Gateway → Authorized Apps**. Suchen Sie nach der **DocBits** App, öffnen Sie sie und laden Sie die Credentials herunter.
   * **IDM Mapping File**: (Geben Sie den relevanten Dateipfad oder Speicherort an).
   * **BOD Mapping File**: (Geben Sie den relevanten Dateipfad oder Speicherort an).

### Cloud:

1. Öffnen Sie **DocBits**.
2. Navigieren Sie zu **Einstellungen > Dokumentenverarbeitung > Export**.

   ![](https://raw.githubusercontent.com/FELLOWPRO/DocBits_Documentation/refs/heads/main/public_docs/.gitbook/assets/settings_export.png)
3. Erstellen Sie einen neuen Export:
   * **Auswählen**: **Infor IDM + M3 (API)**.
   * **Titel**: Wählen Sie einen aussagekräftigen Titel.
   * **Dokumenttyp**: Setzen Sie auf **Rechnung**.
   * **Unterorganisation**: Kann leer gelassen werden oder auf eine bestimmte Unterorganisation gesetzt werden, falls erforderlich.
4. **Laden Sie die erforderlichen Dateien hoch**:
   * **ION Mapping File**: Diese finden Sie unter **Infor OS → API Gateway → Authorized Apps**. Suchen Sie nach der **DocBits** App, öffnen Sie sie und laden Sie die Credentials herunter.
   * **IDM Mapping File**: (Geben Sie den relevanten Dateipfad oder Speicherort an).
   * **M3 Mapping File**: (Geben Sie den relevanten Dateipfad oder Speicherort an).

### Cloud mit toml:

1. Öffnen Sie **DocBits**.
2. Navigieren Sie zu **Einstellungen > Dokumentenverarbeitung > Export**.

   ![](https://raw.githubusercontent.com/FELLOWPRO/DocBits_Documentation/refs/heads/main/public_docs/.gitbook/assets/settings_export.png)
3. Erstellen Sie einen neuen Export:
   * **Auswählen**: **Infor IDM + M3 (API)**.
   * **Titel**: Wählen Sie einen aussagekräftigen Titel.
   * **Dokumenttyp**: Setzen Sie auf **Rechnung**.
   * **Unterorganisation**: Kann leer gelassen werden oder auf eine bestimmte Unterorganisation gesetzt werden, falls erforderlich.
4. **Laden Sie die erforderlichen Dateien hoch**:
   * **ION Mapping File**: Diese finden Sie unter **Infor OS → API Gateway → Authorized Apps**. Suchen Sie nach der **DocBits** App, öffnen Sie sie und laden Sie die Credentials herunter.
   * **IDM Mapping File**: (Geben Sie den relevanten Dateipfad oder Speicherort an).
   * **M3 toml Mapping File**: (Geben Sie den relevanten Dateipfad oder Speicherort an).


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.docbits.com/deutsch/infor-integration-and-configuration/exporting-to-infor/m3.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
