---
title: "Codeunit 6109 E-Document Import Helper"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/6109-e-document-import-helper/
type: codeunit
id: 6109
name: "E-Document Import Helper"
app: "E-Document Core"
namespace: Microsoft.eServices.EDocument
versions: "23-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/codeunit/6109-e-document-import-helper/source/?v=28 https://jonas-paprotka.de/ref/codeunit/6109-e-document-import-helper/source/"
checked: 2026-11-20
changed: 2026-11-07
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 6109 E-Document Import Helper

JOP-AL, https://jonas-paprotka.de/ref/codeunit/6109-e-document-import-helper/

| | |
| --- | --- |
| App | E-Document Core |
| Namespace | Microsoft.eServices.EDocument |
| Versions | 23-29 |
| Minors | W1 23.0-29.0; DE 23.0-29.0; US 23.0-29.0, [every minor](https://jonas-paprotka.de/ref/codeunit/6109-e-document-import-helper/editions.json) |
| Source file | src/Helpers/EDocumentImportHelper.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| ResolveUnitOfMeasureFromDataImport | (var EDocument: Record "E-Document"; var TempDocumentLine: RecordRef) | Boolean | public | 23-29 | - | - |
| FindItemReferenceForLine | (var EDocument: Record "E-Document"; var TempDocumentLine: RecordRef) | Boolean | public | 23-29 | - | - |
| FindItemForLine | (var EDocument: Record "E-Document"; var TempDocumentLine: RecordRef) | Boolean | public | 23-29 | - | - |
| FindGLAccountForLine | (var EDocument: Record "E-Document"; var TempDocumentLine: RecordRef) | Boolean | public | 23-29 | - | - |
| LogErrorIfItemNotFound | (var EDocument: Record "E-Document"; var TempDocumentLine: RecordRef) | Boolean | public | 23-29 | - | - |
| ValidateLineDiscount | (var EDocument: Record "E-Document"; var TempDocumentLine: RecordRef) | - | public | 23-29 | - | - |
| ValidateReceivingCompanyInfo | (EDocument: Record "E-Document") | - | public | 23-29 | - | - |
| ValidateReceivingCompanyInfoByNameAndAddress | (EDocument: Record "E-Document") | - | public | 23-29 | - | - |
| ApplyInvoiceDiscount | (var EDocument: Record "E-Document"; var TempDocumentHeader: RecordRef; var DocumentHeader: RecordRef) | - | public | 23-29 | - | - |
| VerifyTotal | (var EDocument: Record "E-Document"; var TempDocumentHeader: RecordRef; var DocumentHeader: RecordRef) | - | public | 23-29 | - | - |
| FindVendor | (VendorNoText: Code[20]; GLN: Code[13]; VATRegistrationNo: Text[20]) | Code[20] | public | 23-29 | - | - |
| FindVendorById | (VendorIdText: Text) | Code[20] | public | 23-29 | - | - |
| FindVendorByNo | (VendorNoText: Code[20]) | Code[20] | public | 23-29 | - | - |
| FindVendorByGLN | (GLN: Code[13]) | Code[20] | public | 23-29 | - | - |
| FindVendorByVATRegistrationNo | (VATRegistrationNo: Text[20]) | Code[20] | public | 23-29 | - | - |
| FindVendorByPhoneNo | (PhoneNo: Text) | Code[20] | public | 23-29 | - | - |
| FindVendorByNameAndAddress | (VendorName: Text; VendorAddress: Text) | Code[20] | public | 23-29 | - | - |
| FindVendorByBankAccount | (VendorIBAN: Code[50]; VendorBankBranchNo: Text[20]; VendorBankAccountNo: Text[30]) | Code[20] | public | 23-29 | - | - |
| GetVendor | (var EDocument: Record "E-Document"; VendorNo: Code[20]) | Record Vendor | public | 23-29 | - | - |
| ProcessFieldNoValidate | (RecRef: RecordRef; FieldNo: Integer; Value: Text[250]) | - | internal | 23-29 | - | - |
| ProcessField | (EDocument: Record "E-Document"; RecRef: RecordRef; FieldNo: Integer; Value: Text[250]) | - | internal | 23-29 | - | - |
| ProcessDocument | (var EDocument: Record "E-Document"; CreateJnlLine: Boolean) | - | public | 24-29 | Pending 26.0 | Use codeunit 6140 "E-Doc. Import"'s method ProcessIncomingEDocument |
| SetHideDialogs | (Hide: Boolean) | - | public | 24-29 | - | - |
| GetCurrencyRoundingPrecision | (CurrencyCode: Code[10]) | Decimal | internal | 24-29 | - | - |
| DetermineFileType | (MimeType: Text) | Text | public | 25-29 | - | - |
| FindVendorByNameAndAddressWithNotification | (VendorName: Text; VendorAddress: Text; EDocEntryNoForNotification: Integer) | Code[20] | public | 26-29 | - | - |
| FindVendorByServiceParticipant | (VendorID: Text[200]; EDocumentServiceCode: Code[20]) | Code[20] | public | 26-29 | - | - |
| ProcessField | (EDocument: Record "E-Document"; RecRef: RecordRef; Field: Record Field; DocumentFieldRef: FieldRef) | - | internal | 26-29 | - | - |
| ProcessDecimalField | (EDocument: Record "E-Document"; RecRef: RecordRef; FieldNo: Integer; Value: Decimal) | - | internal | 26-29 | - | - |
| ValidateReceivingCompanyInfo | (EDocument: Record "E-Document"; EDocService: Record "E-Document Service") | - | public | 27-29 | - | - |
| FindVendor | (VendorNoText: Code[20]; GLN: Code[13]; VATRegistrationNo: Text[20]; RegistrationNo: Text[20]) | Code[20] | public | 28-29 | - | - |
| FindVendorByRegistrationNo | (RegistrationNo: Text[20]) | Code[20] | public | 28-29 | - | - |
| FindCustomerByNameAndAddress | (CustomerName: Text; CustomerAddress: Text) | Code[20] | public | 28-29 | - | - |
| LogErrorIfVendorIsSelfBilling | (var EDocument: Record "E-Document"; Vendor: Record Vendor) | - | public | 28-29 | - | - |

## Source

Symbols: Microsoft.E-DocumentCore.symbols.e1d97edc-c239-46b4-8d84-6368bdf67c8b, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.
AL source 28: https://github.com/microsoft/BCApps, MIT, releases/28.x at 408a4cc8d3a4c54b60464cc14c964479facb9ba0.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
