# Architecture

## **DocBits Cloud customer**

<figure><img src="/files/AHKaqPG0fEgtYnZLAO6q" alt="DocBits Cloud Customer Architecture"><figcaption></figcaption></figure>

## DocBits On premise

<figure><img src="/files/chlZwE8b71nv5m0mjmDO" alt="DocBits On Premise Architecture"><figcaption></figcaption></figure>

Doc**Bits** seamlessly integrates with Infor LN/M3 through ION API, ION Desk, and Infor Standard BODs. Our API integration allows us to export data to Infor and perform master data validation in Doc**Bits**.

## **DocBits Operator Architecture**

All connections between components are secured using industry-standard encryption protocols. SSH, HTTPS, and other secure channels ensure data integrity and confidentiality throughout the system.

**On Premise:**

<figure><img src="/files/qyBWOf6XbkgCj2NmCRUu" alt=""><figcaption></figcaption></figure>

{% content-ref url="/pages/22Msant1byxv36JnwHgM" %}
[Prefect Local Setup Requirements](/overview-and-basics/architecture/prefect-local-setup-requirements.md)
{% endcontent-ref %}

**Cloud**:

<figure><img src="/files/LpHCu45FFL2zK845jSo4" alt=""><figcaption></figcaption></figure>

## Exporting Data to Infor

We use the ION API to send the PDF with attributes to IDM and the BOD Sync.CaptureDocument to ION Desk. In ION Desk, we transform the [Sync.CaptureDocument](/infor-integration-and-configuration/exporting-in-docbits.md) to the desired target BODs based on the document type being processed. These transformed Infor BODs are then automatically imported to LN or M3.

{% hint style="info" %}
Export to [Infor](/infor-integration-and-configuration/exporting-to-infor.md)
{% endhint %}

## Master Data Validation in DocBits

To identify the supplier or compare/match purchase order lines, we activate a trigger in LN/M3 that sends the Sync.RemitToPartyMaster, Sync.SupplierPartyMaster, and Sync.PurchaseOrder BODs to Doc**Bits**. We configure this process in ION Desk by defining the dataflow to a specific connection point to Doc**Bits**.

<figure><img src="/files/t2lRKZ6Z6ggBfAHOFrn8" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
[Master Data Validation](/infor-integration-and-configuration/importing-customer-master-data.md)
{% endhint %}

## Email Import OAuth Office365

<figure><img src="/files/jzuMtkuFrWeeqqglKINF" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.docbits.com/overview-and-basics/architecture.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
