All pages
Powered by GitBook
1 of 12

Exporting to INFOR

Creating a BOD Mapping File

Download a BOD Mapping File and open it in your applicable file editor of choice to edit it. For this walkthrough, VSCode is used.

Editing Mapping File

Change the company to the correct one (SFV_AccountingEntityID) and edit location ID if needed.

Check the document code by going to the field settings of the document type you are trying to export (found in URL of field settings of document type in DocBits like below

Lastly, edit the SFV_LogicalID which can be found in INFOR ION DESK → Connect → Connection points and select the DocBits_Export or similar connection point and within that page you will find the Logical ID you need.

Create Logical ID (Connection Point)

If this Connection Point does not yet exist, you need to create one.

First, go to ION Desk → Connect → Connection Points and click on the “+ Add” button”

Then select the “IMS via API Gateway” option

You will be taken to the above screen where you must now fill in the necessary information, the name should be something like “DocBits_export” or similar.

For “ION API Client ID” you enter the same Client ID you obtained earlier for the ION Mapping File.

Then select the Document tab of the Connection Point creation menu and add the following documents by pressing the “+” sign, this will only become useful later.

Once you save this Connection Point you will obtain the Logical ID as shown below

Then insert this Logical ID into the appropriate section of the BOD Mapping File and save the file.

Upload File to DocBits

Drag and drop the file into your export configuration in DocBits. This is available at Settings → Export.

Erstellen einer IDM-Mapping-Datei

Erforderliche Felder für die IDM-Mapping-Datei

Beim Erstellen einer IDM-Mapping-Datei sind die folgenden Felder erforderlich:

  • Dokumenttypdefinition

    • Stellen Sie sicher, dass der Dokumenttypcode in DocBits mit dem Namen übereinstimmt, der in der URL der Feldeinstellungen verwendet wird, ähnlich wie in der BOD-Mapping-Datei.

    • Überprüfen Sie, ob der Dokumenttypname in IDM mit Ihrer Systemkonfiguration übereinstimmt. Zum Beispiel kann es in M3 M3_SupplierInvoice sein, während es in LN je nach Ihrer Einrichtung anders sein wird.

      • Eine Anleitung, wie man in IDM navigiert, finden Sie im Dokumentenmanager in IDM auf dieser Seite.

#Define Name of document
#Example: <DocBitsDocumentType>=<IDMDocumentType>
#INVOICE=LN_SupplierInvoice
INVOICE=M3_SupplierInvoice
  • Statische Werte

    • Definieren Sie zunächst alle statischen Werte in einer einzigen Zeile mit dem Schlüssel Static_Values:

      Static_Values=FileNameSeparator,ACLString
    • Weisen Sie dann jedem statischen Variablen Werte mit dem Präfix SV_ zu:

      SV_FileNameSeparator=_
      SV_ACLString=Public
#Define mappings for the static values
#Example: Static_Values=<StaticVariableName>
Static_Values=FileNameSeparator,ACLString
#Example: SF_<StaticVariableName> = StaticValue
SV_FileNameSeparator=_
SV_ACLString=Public
  • ACL-Felddefinition

#Define ACL Field value
#Example: ACL_Fields= Concatenation of other defined fields that together should be a valid ACL in IDM
ACL_Fields=SV_ACLString
  • Suchbarer Name in IDM

    • Der Suchbare PDF-Name wird der Dokumentname in IDM sein.

#Define Resource Mapping
#Example: Searchable_PDF_Name= Concatenation of other defined fields
Searchable_PDF_Name=IF_INVOICE_ID

Feldzuordnung

#Define index fields
#Example: Index_Fields=<IndexFieldIdFromIDM>:<type>
Index_Fields=INVOICE_ID:STRING,INVOICE_DATE:STRING,COMPANY:STRING,DIVISION:STRING,DIVISION_NO:STRING,CORRELATION_ID:STRING,SUPPLIER_ID:STRING,SUPPLIER_NAME:STRING
#Example: IF_<DocBitsFieldID> = <IDMAttributeId>
IF_INVOICE_ID=BOD_SupplierInvoiceID
IF_CORRELATION_ID=BOD_AlternateDocumentID_1
IF_INVOICE_DATE=M3_InvoiceDate
IF_COMPANY=M3_Company
IF_DIVISION=M3_Division
IF_DIVISION_NO=BOD_AccountingEntityID
IF_SUPPLIER_ID=BOD_RemitToPartyID
IF_SUPPLIER_NAME=BOD_SupplierPartyID
  • Beginnen Sie damit, alle verwendeten Indexfelder aufzulisten und die Feld-ID und den Typ anzugeben.

    Index_Fields=INVOICE_ID:STRING,INVOICE_DATE:STRING,COMPANY:STRING,DIVISION:STRING,DIVISION_NO:STRING,CORRELATION_ID:STRING,SUPPLIER_ID:STRING,SUPPLIER_NAME:STRING
  • Jedes zugeordnete Feld folgt dem Format:

    IF_<DocBitsFieldID> = <IDMAttributeId>
    • Bestätigen Sie, dass IndexFieldFromDocBits = IDMAttributeID, um sicherzustellen, dass die Feldzuordnung in DocBits mit den Attributen in IDM (Dokumenttyp → Attribute) übereinstimmt. Eine Anleitung, wie man in IDM navigiert, finden Sie im Dokumentenmanager in IDM auf dieser Seite.

XML- und EDI-Dateiexport

Um die originale XML/EDI-Datei zusammen mit der generierten PDF zu exportieren, müssen Sie die IDM-Mapping-Datei in der Exportkonfiguration ändern. Aktualisieren Sie zunächst den Abschnitt Static_Values, indem Sie das Dateipräfix und die Erweiterung hinzufügen. Danach definieren Sie das tatsächliche Mapping, um die korrekte Exportkonfiguration sicherzustellen.

Wenn bereits ein Export für Rechnungen an IDM eingerichtet ist, sollte die generierte PDF bereits im Export enthalten sein. Wenn Sie die XML-Datei nicht benötigen, können Sie den nächsten Teil überspringen. Wenn Sie jedoch die XML-Datei benötigen, folgen Sie den folgenden Schritten.

Aktualisieren der statischen Werte:

Suchen Sie das Feld Static_Values und fügen Sie Folgendes hinzu:

,EDI_FILE_PREFIX,XML_FILE_PREFIX,PDF_FILE_PREFIX,PDF_FILE_EXTENSION,EDI_FILE_EXTENSION,XML_FILE_EXTENSION

Fügen Sie dann die folgenden Einträge unter SV_ACLString hinzu:

SV_EDI_FILE_PREFIX=EDI_810_
SV_XML_FILE_PREFIX=XML_810_
SV_PDF_FILE_PREFIX=INV_EDI_
SV_PDF_FILE_EXTENSION=.pdf
SV_EDI_FILE_EXTENSION=.xml
SV_XML_FILE_EXTENSION=.xml

Fügen Sie danach das tatsächliche Mapping hinzu und stellen Sie sicher, dass der Export-Dokumenttyp dem IDM-Dokumenttype entspricht.

XML-Mapping

Fügen Sie das folgende Mapping am Ende der Datei hinzu:

EMBEDDED_FILES_EXPORT = TRANSFORMED, XML
EFE_TRANSFORMED_SOURCE_NAME = Transformed.xml
EFE_TRANSFORMED_EXPORT_DOC_TYPE = M3_SupplierInvoice
EFE_TRANSFORMED_EXPORT_FILENAME = SV_XML_FILE_PREFIX+IF_INVOICE_ID+SV_XML_FILE_EXTENSION

EFE_XML_SOURCE_NAME = XML_DOCUMENT.xml
EFE_XML_EXPORT_DOC_TYPE = M3_SupplierInvoice
EFE_XML_EXPORT_FILENAME = SV_XML_FILE_PREFIX+IF_INVOICE_ID+SV_XML_FILE_EXTENSION

Hinweis: Stellen Sie sicher, dass export_doc_type auf den IDM-Rechnungstyp eingestellt ist. In diesem Beispiel ist es auf M3 eingestellt.

EDI-Mapping

Fügen Sie das folgende Mapping am Ende der Datei hinzu:

EMBEDDED_FILES_EXPORT = TRANSFORMED, EDI
EFE_TRANSFORMED_SOURCE_NAME = Transformed.xml
EFE_TRANSFORMED_EXPORT_DOC_TYPE = M3_SupplierInvoice
EFE_TRANSFORMED_EXPORT_FILENAME = SV_XML_FILE_PREFIX+IF_INVOICE_NUMBER+SV_XML_FILE_EXTENSION

EFE_EDI_SOURCE_NAME = EDI.edi
EFE_EDI_EXPORT_DOC_TYPE = M3_SupplierInvoice
EFE_EDI_EXPORT_FILENAME = SV_EDI_FILE_PREFIX+IF_INVOICE_NUMBER+SV_EDI_FILE_EXTENSION

Hinweis: Stellen Sie sicher, dass export_doc_type auf den IDM-Rechnungstyp eingestellt ist. In diesem Beispiel ist es auf M3 eingestellt.

Dokumentenmanager in Infor

Gehen Sie zum Dokumentenmanager und wählen Sie den Namen des aktuellen Dokumenttyps aus, den Sie exportieren möchten, z. B. Lieferantenrechnung.

Klicken Sie auf das obige Symbol und dann auf Verwaltung → Dokumenttyp und suchen Sie den Dokumenttyp, den Sie in der Liste benötigen.

Wie unten gezeigt, sehen Sie dann den Dokumenttypnamen, wie er in INFOR ist.

Stellen Sie sicher, dass dies so im IDM-Mapping-Datei angezeigt wird.

Datei in DocBits hochladen

Sobald die Datei vorbereitet ist, laden Sie sie in Ihre Exportkonfiguration in DocBits hoch. Dies ist unter Einstellungen → Export verfügbar.

Creating an ION API Endpoint

Infor Configuration

Once at the home screen, click on the burger menu and select ION API

After opening ION API, click on Available APIs in the left menu

Click on “+ADD” block

Then “+ Create New”

The information you insert should look like this

FYI: The description has multiple environments as this will be used for multiple environments and the icon and its color always remain the same.

Next, select the + at the bottom of the screen

This Target Endpoint URL can be found at doc2api.cloudintegration.eu

The information underneath this field should look as follows.

Once you have filled in this information, to the right of these fields there is a “Target Endpoint Security” field with a drop down. Select API Key from this drop down.

A table will then appear underneath this drop down, fill in the following information. The key value is specific to the customer and environment, it can be found within DocBits.

From the Dashboard → Settings → Integration → API Key

Copy and paste this into the Key Value field in InforOS

Once this is complete, press the following icon to save the configuration

You are not yet completely done with the configuration.

Go back into the API you just configured and enter the details like below

Go to the Documentation tab at the bottom and click on the +

Enter the following details:

  • Name = DocBits-”environment”

  • Type = Swagger

  • URL = go to doc2api.cloudintegration.eu, once on this page, open the following link

Copy the URL and use it for the URL field in InforOS

Save it once you have entered the information for all the fields. There should be a loading icon for a while but the end result should look like this

The same process would be used to create the endpoints for other environments.

FYI: If in the future you are struggling to find these endpoints, in ION API go to API Metadata and click on this icon to refresh the API metadata.

DocBits Export Settings

From the DocBits Dashboard of the required customer, go to Settings → Export, to add a new document type for export, do as follows:

Click on the “+ New” button

Select “Infor IDM + ION BOD”

You will then be taken to this menu where you need to give the new exportable document type a Title, select the document type from the dropdown and add all the necessary Mapping Files (ION, IDM and BOD).

Creating an ION API File

Obtaining existing/Creating new ION API File

This is created in INFOR ION API → Authorized Apps and an app like below should be shown

If not, then you need to create a new Authorized App. This can be done clicking the plus sign

Once you have entered the Name (DocBits_*Environment*) and Type (case specific) of the new Authorized App, you will be taken to a page where the Client ID and Secret have been generated automatically.

The information you fill in should be similar to what is shown above, it is important to enable the “Issue Refresh Tokens” slider at the bottom of the page.

Click “Download Credentials” to download the ION Mapping File.

Uploading the file to DocBits

Once you have downloaded the ION API file from Infor, you can upload it by going to Settings → Document Processing → Export like below

\

Export to M3 Mapping (API)

Sections

M3 export mapping file is divided in 5 sections and each section is further divided into 2 sections

  • Header

    • Header Static Fields

    • Header Fields

  • Tax Lines

    • Tax Line Static Fields

    • Tax Line Fields

  • Receipt Lines

    • Receipt Line Static Fields

    • Receipt Line Fields

  • Order Charge Lines (Additional Amounts)

    • Order Charge Static Fields

    • Order Charge Fields

  • Cost Lines

    • Cost Line Static Fields

    • Cost Line Fields

Adding and Removing Fields

Adding New Field:

  • First we need to add the M3 api field name to the relevant section’s fields list property (e.g. StaticFields, HeaderFields, InvoiceTaxFields)

  • Define the static value or document field name for the api field with appropriate prefix for the section

    • Example 1: To define a static value of AAA for the M3 api field DIVI. First we added DIVI to StaticFields property. Then we add a line SF_DIVI = AAA as SF_ is the prefix for static fields

    • Example2: To map header field IVDT (invoice data) to invoice_date field of DocBits. First we add IVDT to HeaderFields property. Then we add a line HF_IVDT = invoice_date as HF_ is the prefix for header fields

Removing Field:

  • Just remove the field from section’s field list property and remove the line defining value for the field.

Available M3 Api Fields:

  • Available M3 fields can be checked by opening appropriate screen in M3.

  • Similarly you can get field names for lines

Header:

Fields List Property: StaticFields

Section Fields Prefix: SF_

Available Fields: You can map any M3 api field with any static value

Header Fields

Fields List Property: HeaderFields

Section Fields Prefix: HF_

Available Fields: You can map any DocBits field to any M3 api field

Tax Line:

Tax Line Static Fields:

Fields List Property: InvoiceTaxStaticFields

Section Fields Prefix: IT_SF_

Available M3 Fields: Please check M3 API or UI

Available DocBits Fields: You can put any value as they are static fields

Tax Line Fields:

Fields List Property: InvoiceTaxFields

M3 Fields Prefix: ITF_

DocBits Table Field Prefix: TF_

Available M3 Fields: Please check M3 API or UI

Available DocBits Fields: line_number, tax_amount, tax_rate, net_amount, gross_amount, tax_code_full, tax_code, tax_country

Receipt Line:

Receipt Line Static Fields:

Fields List Property: InvoiceReceiptStaticFields

Section Fields Prefix: IR_SF_

Available M3 Fields: Please check M3 API or UI

Available DocBits Fields: You can put any value as they are static fields

Receipt Line Fields:

Fields List Property: InvoiceReceiptFields

M3 Fields Prefix: IRF_

DocBits Table Field Prefix: TF_

Available M3 Fields: Please check M3 API or UI

Available DocBits Fields: packing_slip, purchase_order, line_number, line_sequence, delivery_number, delivery_line, amount, quantity, total_net_amount

Order Charge Line:

Order Charge Static Fields:

Fields List Property: OrderChargeStaticFields

Section Fields Prefix: OC_SF_

Available M3 Fields: Please check M3 API or UI

Available DocBits Fields: You can put any value as they are static fields

Order Charge Fields:

Fields List Property: OrderChargeFields

M3 Fields Prefix: OCF_

DocBits Table Field Prefix: TF_

Available M3 Fields: Please check M3 API or UI

Available DocBits Fields: ledger_account, dimension_2-7, amount, quantity, quantity2, position

Cost Line:

Cost Line Static Fields:

Fields List Property: InvoiceCostStaticFields

Section Fields Prefix: IC_SF_

Available M3 Fields: Please check M3 API or UI

Available DocBits Fields: You can put any value as they are static fields

Cost Line Fields:

Fields List Property: InvoiceCostFields

M3 Fields Prefix: ICF_

DocBits Table Field Prefix: TF_

Available M3 Fields: Please check M3 API or UI

Available DocBits Fields: ledger_account, dimension_1-12, amount, quantity, quantity2, position

New update

###########################
# Header
###########################

## Header Static Fields
StaticFields=DIVI,IBTP,BSCD,IMCD,TEPY,PYME,APCD,CRTP,GEOC,CONO,BKID
SF_DIVI=AAA
SF_IBTP=20
SF_CONO=780
#SF_BSCD=DE
SF_IMCD=0
SF_TEPY=N00
SF_PYME=SCT
SF_APCD=FABCEO
SF_CRTP=1
SF_GEOC=60290522

## Header Fields
HeaderFields=SUNO,IVDT,SINO,SPYN,CUCD,CUAM,VTAM,ACDT,SERS,FTCO,BSCD,PUNO,TXAP,CORI,PAIN,BKID
HF_SUNO=supplier_id
HF_IVDT=invoice_date
HF_SINO=invoice_id
HF_SPYN=supplier_id
HF_CUCD=currency
HF_CUAM=total_net_amount
#HF_VTAM=total_tax_amount
HF_ACDT=invoice_date
#HF_SERS=invoice_sub_type
HF_FTCO=supplier_country_code
HF_PUNO=purchase_order
HF_TXAP=tax_country_1
HF_CORI = correlation_id
HF_PAIN = sqr_field_esr_reference
HF_BKID = custom_field_1


###########################
# Tax Line
###########################

# ## Tax Line Static Fields
# InvoiceTaxStaticFields=RDTP,DIVI,VTCD,CONO
# IT_SF_RDTP=3
# IT_SF_DIVI=AAA
# IT_SF_CONO=780

# ## Tax Line Fields
# InvoiceTaxFields=VTCD,VTA1,VTP1,CLAM
# ITF_VTCD=TF_tax_code
# ITF_VTA1=TF_tax_amount
# ITF_VTP1=TF_tax_rate
# ITF_CLAM=TF_gross_amount

###########################
# Receipt Line
###########################

InvoiceReceipt=invoice_table

## Receipt Line Static Fields
InvoiceReceiptStaticFields=RDTP,DIVI,SERS,RELP,VTCD,CONO
IR_SF_RDTP=1
IR_SF_DIVI=AAA
IR_SF_SERS=0
IR_SF_RELP=1
#IR_SF_VTCD=52
IR_SF_CONO=780

## Receipt Line Fields
InvoiceReceiptFields=IVQA,PUUN,PUNO,PNLI,ITNO,POPN,SUDO,NEPR,GRPR,PPUN,NLAM,GLAM
IRF_IVQA = TF_quantity
IRF_PUUN = TF_unit
IRF_PUNO = TF_purchase_order
IRF_PNLI = TF_line_number
IRF_ITNO = TF_item_number
IRF_POPN = TF_item_number
IRF_SUDO = TF_packing_slip
#IRF_NEPR = TF_net_unit_price
IRF_GRPR = TF_gross_unit_price
IRF_PPUN = TF_unit
#IRF_NLAM = TF_net_amount
IRF_GLAM = TF_total_amount

###########################
# Order Charge Line
###########################

OrderCharge=order_charges

## Order Charge Static Fields
OrderChargeStaticFields=RDTP,DIVI,CONO
OC_SF_RDTP=2
OC_SF_DIVI=AAA
OC_SF_CONO=780

## Order Charge Fields
OrderChargeFields=NLAM,CHGT,CEID
OCF_NLAM=TF_amount
OCF_CHGT=TF_voucher_text
OCF_CEID=TF_ledger_account


###########################
# Cost Line
###########################

InvoiceCost=cost_lines

## Cost Line Static Fields
InvoiceCostStaticFields=RDTP,DIVI,CONO
IC_SF_RDTP=8
IC_SF_DIVI=AAA
IC_SF_CONO=780

## Cost Line Fields
InvoiceCostFields=NLAM,VTXT,AO01,AO02,AO03,AO04,AO05,AO06,AO07,VTCD,AIT1,AIT2,AIT3,AIT4,AIT5,AIT6,AIT7,VTP1,VTP2
ICF_NLAM=TF_amount
ICF_VTXT=TF_voucher_text
ICF_AIT1=TF_ledger_account
ICF_AIT2=TF_dimension_2
ICF_AIT3=TF_dimension_3
ICF_AIT4=TF_dimension_4
ICF_AIT5=TF_dimension_5
ICF_AIT6=TF_dimension_6
ICF_AIT7=TF_dimension_7
ICF_AO01=TF_accounting_object_1
ICF_AO02=TF_accounting_object_2
ICF_AO03=TF_accounting_object_3
ICF_AO04=TF_accounting_object_4
ICF_AO05=TF_accounting_object_5
ICF_AO06=TF_accounting_object_6
ICF_AO07=TF_accounting_object_7

Exporting to IDM

If you only require your document to be exported to IDM or Document Management in INFOR, the configuration is similar to that of the export to IDM + LN/M3 but does not require any BOD Mapping file as there is no export to LN/M3 required.

Select the following option for exporting.

You will be required to upload an ION API file as well as an IDM Mapping file.

How to obtain these has been discussed earlier in this documentation. ION API file and IDM Mapping file.

M3

M3 Configuration

Prerequisites

You have created:

  • An ION API Endpoint

  • An ION API File

  • A BOD Mapping File

  • An IDM Mapping File

Import Mapping Files

Before you setup the dataflow, you need to import the mapping files into InforOS.

In ION Desk → Connect and open Mappings

Click on the Import icon

From here you need to select the various mapping files you will need which include: SyncCaptDoc_SyncSuppInv, SyncSupplierInvoice_LoadSupplierInvoice, and LoadSupplierInvoice_ProcessSupplierInvoice.

Once you have imported all the mappings files, make sure to approve each of them by clicking the tick icon within each of their squares on the Mapping dashboard.

DocBits to M3

The next step is to setup the Data Flow in ION Desk, navigate to the ION Desk application and select Data Flow → + ADD → Document Flow like below

You will then see this page, this is where you will build the flow of information from DocBits to M3

An M3 data flow will look similar to what is shown below (there are 3 DocBits applications and APIs due to it being used for 3 separate environments).

All parts of the chain are dragged and dropped from the top section

In the chain, DocBits and M3 are both Applications whereas in between them there are mappings that convert the data into a form that can be understood by the next section of the train and “map” the information so that it goes to where it is needed or meant too.

DocBits Application

Give it the appropriate name such as “DocBits” then select the plus sign and search for the connection point you created earlier such as DocBits_Export or similar and click on it.

To create this connection point, go to ION Desk → Connect → Connection Points

Click “+ Add”

Select “IMS via API Gateway” and fill in the following information

The ION API Client ID is in the ION API File you created at How to Create an ION API File, this can be found by the “ci” value.

Switch to the document tab, and add the Sync.CaptureDocument BOD to the DocBits connection point like below.

Then save the connection point by pressing the disk icon in the upper-left corner.

Navigate back to the Dataflow section of ION Desk to access your dataflow. Your DocBits application should look similar to what is shown below.

Mapping 1

The first mapping node should look as follows

Mapping 2

The second mapping node should look as follows

Mapping 3

The third mapping node should look as follows

M3 Application

There should already be a M3 or similarly named connection point created in INFOR so just like the DocBits Application you select it by clicking the “+” sign and it should look as follows

DocBits API

You will first need to create this API as a connection point which is done by:

ION Desk → Connect → Connection Points

Click “+ Add” and select API

The information you fill in should look like the following

Switch to the document tab and add the following configuration

Acknowledge.SupplierInvoice

The configuration for this BOD is as follows

Make sure you have selected the “Send to API” option in the above menu.

Lastly ensure that you alter the request body as well to look like this.

Repeat this process for the rest of the BODs, each configuration is shown below.

Sync.PurchaseOrder

The configuration for this BOD is as follows

Sync.RemitToPartyMaster

The configuration for this BOD is as follows

Sync.SupplierPartyMaster

The configuration for this BOD is as follows

BODs

The following configurations should look as follows:

First

Second

Third

Forth

Fifth

The last icon should be empty as it is not carrying any document or information.

Once you have added all necessary nodes to the data flow, press this button to activate the data flow (after saving the data flow by pressing the hard drive icon).

LN

Exportieren von Steuercodes nach LN

Übersicht:

Dieser Leitfaden führt Sie durch den Einrichtungsprozess, um sicherzustellen, dass Steuercodes korrekt von DocBits nach LN exportiert werden.

Einzelne Steuercodes

Schritt 1: Liste von Werten einrichten

  1. Gehen Sie zu Einstellungen -> Dokumentenverarbeitung -> Liste von Werten.

  2. Klicken Sie auf Neu.

  3. Erstellen Sie eine Liste mit dem Namen Tax_Country und klicken Sie auf Speichern.

  4. Erstellen Sie die folgenden drei zusätzlichen Listen:

    • Tax_Code_Full

    • Tax_Code_Reduced

    • Tax_Code_Free

  5. Klicken Sie auf eine der neu erstellten Listen, um sie zu öffnen. Drücken Sie dann die Schaltfläche Zeile hinzufügen, um eine neue Zeile hinzuzufügen.

  6. Geben Sie die gewünschten jeweiligen Werte aus LN ein und drücken Sie Speichern, um die Änderungen zu speichern.

    • Wenn Sie mehrere Werte haben, können Sie auf Weitere Werte hinzufügen klicken, um diese hinzuzufügen.

    • HINWEIS: Sie finden die Steuercodes in LN unter: Common → Taxation → Master Data → Tax Codes → Tax Codes by Country

Schritt 2: Felder in DocBits hinzufügen

  1. Navigieren Sie zu Einstellungen -> Globale Einstellungen -> Dokumenttypen.

  2. Wählen Sie das Menü Felder für den Dokumenttyp, in dem Sie die Felder hinzufügen möchten.

  3. Unter Mehrwertsteuer & Beträge erstellen Sie sechs neue Felder wie folgt:

Name

Titel

Feldtyp

Liste von Werten

tax_country

Tax Country

Dropdown

Tax_Country

tax_country_2

Tax Country Reduced

Dropdown

Tax_Country

tax_country_3

Tax Country Free

Dropdown

Tax_Country

tax_code_without_country

Tax Code

Dropdown

Tax_Code_Full

tax_code_without_country_2

Tax Code Reduced

Dropdown

Tax_Code_Reduced

tax_code_without_country_3

Tax Code Free

Dropdown

Tax_Code_Free

  1. Nach dem Speichern jedes Feldes klicken Sie auf Einstellungen speichern, um die Änderungen anzuwenden.

Schritt 3: Layout bearbeiten

  1. Gehen Sie zu Einstellungen -> Globale Einstellungen -> Dokumenttypen.

  2. Öffnen Sie das Menü Layout bearbeiten für den Dokumenttyp, den Sie bearbeiten möchten.

  3. Wählen Sie die entsprechende Dokumentenherkunft aus, für die Sie die Steuercodes anwenden möchten.

  4. Scrollen Sie nach unten zum Abschnitt Tax Details.

  5. Erweitern Sie das Dropdown-Menü Form-Elemente.

  6. Verwenden Sie im Abschnitt Tax Details den Horizontal Separator. Ziehen Sie ihn zwischen die Unterabschnitte in Tax Details, um diese klar zu trennen und es übersichtlich zu halten.

  7. Erweitern Sie das Dropdown-Menü Felder.

  8. Suchen Sie nach Tax Country und ziehen Sie das Feld in den entsprechenden Bereich.

  9. Suchen Sie nach Tax Code und ziehen Sie das Feld in den entsprechenden Bereich.

  10. Speichern Sie die Vorlage.

Schritt 4: Überprüfen, ob alles funktioniert hat

Nachdem Sie ein neues Dokument in DocBits mit den ausgewählten korrekten Dokumenteneinstellungen hochgeladen haben, sollten Sie jetzt in der Lage sein, die Steuercodes auszuwählen, die Sie in Schritt 1 zu den Listen von Werten hinzugefügt haben.

Mehrere Steuercodes

Schritt 1: Liste von Werten einrichten

  1. Gehen Sie zu Einstellungen -> Dokumentenverarbeitung -> Liste von Werten.

  2. Klicken Sie auf Neu.

  3. Erstellen Sie eine Liste mit dem Namen Tax_Country und klicken Sie auf Speichern.

  4. Erstellen Sie die folgenden drei zusätzlichen Listen:

    • Tax_Code_Full

    • Tax_Code_Reduced

    • Tax_Code_Free

  5. Klicken Sie auf eine der neu erstellten Listen, um sie zu öffnen. Drücken Sie dann die Schaltfläche Zeile hinzufügen, um eine neue Zeile hinzuzufügen.

  6. Geben Sie die gewünschten jeweiligen Werte aus LN ein und drücken Sie Speichern, um die Änderungen zu speichern.

    • Wenn Sie mehrere Werte haben, können Sie auf Weitere Werte hinzufügen klicken, um diese hinzuzufügen.

    • HINWEIS: Sie finden die Steuercodes in LN unter: Common → Taxation → Master Data → Tax Codes → Tax Codes by Country

Schritt 2: Felder in DocBits hinzufügen

  1. Navigieren Sie zu Einstellungen -> Globale Einstellungen -> Dokumenttypen.

  2. Wählen Sie das Menü Felder für den Dokumenttyp, in dem Sie die Felder hinzufügen möchten.

  3. Unter Mehrwertsteuer & Beträge erstellen Sie sechs neue Felder wie folgt:

Name

Titel

Feldtyp

Liste von Werten

tax_country

Tax Country

Dropdown

Tax_Country

tax_country_2

Tax Country Reduced

Dropdown

Tax_Country

tax_country_3

Tax Country Free

Dropdown

Tax_Country

tax_code_without_country

Tax Code

Dropdown

Tax_Code_Full

tax_code_without_country_2

Tax Code Reduced

Dropdown

Tax_Code_Reduced

tax_code_without_country_3

Tax Code Free

Dropdown

Tax_Code_Free

  1. Nach dem Speichern jedes Feldes klicken Sie auf Einstellungen speichern, um die Änderungen anzuwenden.

Schritt 3: Layout bearbeiten

  1. Gehen Sie zu Einstellungen -> Globale Einstellungen -> Dokumenttypen.

  2. Öffnen Sie das Menü Layout bearbeiten für den Dokumenttyp, den Sie bearbeiten möchten.

  3. Wählen Sie die entsprechende Dokumentenherkunft aus, für die Sie die Steuercodes anwenden möchten.

  4. Scrollen Sie nach unten zum Abschnitt Tax Details.

  5. Erweitern Sie das Dropdown-Menü Form-Elemente.

  6. Verwenden Sie im Abschnitt Steuerdetails das Sub Group Werkzeug. Ziehen Sie es neben ein vorhandenes Feld.

  7. Um Ihrer Sub Group einen Namen zu geben, klicken Sie auf die Sub Group und geben Sie den gewünschten Namen im Feld Label ein.

  8. Ziehen Sie die Felder, die zu dieser Gruppe gehören, in das Sub Group Feld.

  9. Erweitern Sie das Dropdown-Menü Felder.

  10. Suchen Sie nach Tax und ziehen Sie die entsprechenden Felder, wie Tax Country und Tax Code, in die entsprechende Sub Group.

  11. Wiederholen Sie die Schritte 5 bis 10 zwei Mal, um den folgenden Zustand zu erreichen:

  12. Speichern Sie die Vorlage.

Schritt 4: Überprüfen, ob alles funktioniert hat und die resultierenden Änderungen

Nachdem Sie ein neues Dokument in DocBits mit den ausgewählten korrekten Dokumenteneinstellungen hochgeladen haben, können Sie die Steuercodes auswählen, die Sie in Schritt 1 hinzugefügt haben, und mehrere Steuercodes hinzufügen, die in Schritt 3 konfiguriert wurden.

  • Das Dokument beginnt mit drei verschiedenen Abschnitten: einem für Steuerbeträge voll, einem für Steuerbeträge reduziert und einem für Steuerbeträge frei.

  • Durch Klicken auf die Plus-Schaltfläche innerhalb eines Abschnitts wird eine Duplikation erstellt, die mehrere Einreichungen zum ausgewählten Steuersatz ermöglicht.

  • Abschnitte können durch Klicken auf die Entfernen-Schaltfläche gelöscht werden.

  • Gesamtbeträge werden als Summe aller Abschnitte berechnet.

  • Die Validierung des Gesamtbetrags wird basierend auf allen Steuerabschnitten geändert.

  • Skripte für neue Abschnitte können nur angewendet werden, nachdem Felder zur Ansicht hinzugefügt wurden.

Hinweis für LN:

In LN wird die USt-Position basierend auf der Positionsnummer aus dem Dropdown-Menü Steuercode/Steuerland ausgefüllt. Nur die Positionsnummer wird zum Export gesendet.

Export-Mapping

Um die Steuerzeile mit der Kostenzeile zu verknüpfen:

  1. Fügen Sie TaxLine zur Liste InvoiceCostFields hinzu.

  2. Fügen Sie den folgenden Eintrag hinzu, der dem Beispiel unten folgt: ICF_TaxLine = TF_position

LN Configuration

Prerequisites

You have created:

  • An ION API Endpoint

  • An ION API File

  • A BOD Mapping File

  • An IDM Mapping File

Import Mapping Files

Before you set up the data flow, you need to import the mapping files into InforOS

In ION Desk → Connect and open Mappings

Click on the Import icon

  • From here you need to select the various mapping files you will need which include: SyncCaptDoc_SyncSuppInv, SyncSupplierInvoice_LoadSupplierInvoice, and LoadSupplierInvoice_ProcessSupplierInvoice.

  • Once you have imported all the mappings files, make sure to approve each of them by clicking the tick icon within each of their squares on the Mapping dashboard.

DocBits to LN

The next step is to setup the Data Flow in ION Desk, navigate to the ION Desk application and select Data Flow → + ADD → Document Flow like below

You will then see this page, this is where you will build the flow of information from DocBits to M3

An LN data flow will look similar to what is shown below (there are multiple paths due to each individual path being meant for a specific document type, for this explanation we will focus on the invoice data flow).

All parts of the chain are dragged and dropped from the top section

In the chain, DocBits and LN are both Applications whereas in between them there are mappings that convert the data into a form that can be understood by the next section of the dataflow and “map” the information so that it goes to where it is needed or meant too.

DocBits Application

Give it the appropriate name such as “DocBits” then select the plus sign and search for the connection point you created earlier such as DocBits_Export or similar and click on it.

To create this connection point, go to ION Desk → Connect → Connection Points

Click “+ Add”

Select “IMS via API Gateway” and fill in the following information

The ION API Client ID is in the ION API File you created at How to Create an ION API File under the “ci” value.

Switch to the document tab, and add the Sync.CaptureDocument BOD to the DocBits connection point like below.

Then save the connection point by pressing the disk icon in the upper-left corner.

Navigate back to the Dataflow section of ION Desk to access your dataflow. Your DocBits application should look similar to what is shown below.

Mapping 1

The first mapping node should look as follows

Mapping 2

The second mapping node should look as follows

LN Application

There should already be an LN or similarly named connection point (for the appropriate LN company) created in INFOR so, just like the DocBits Application you select it by clicking the “+” sign and it should look as follows

BODs

The following configurations should look as follows:

First

Second

Third

The last icon should be empty as it is not carrying any document or information.

Once you have added all necessary nodes to the data flow, press this button to activate the data flow