---
title: "Codeunit 6134 E-Doc. Integration Management"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/6134-e-doc-integration-management/
type: codeunit
id: 6134
name: "E-Doc. Integration Management"
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/6134-e-doc-integration-management/source/?v=28 https://jonas-paprotka.de/ref/codeunit/6134-e-doc-integration-management/source/"
checked: 2026-11-20
changed: 2026-10-05
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 6134 E-Doc. Integration Management

JOP-AL, https://jonas-paprotka.de/ref/codeunit/6134-e-doc-integration-management/

| | |
| --- | --- |
| 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/6134-e-doc-integration-management/editions.json) |
| Source file | src/Integration/EDocIntegrationManagement.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| Send | (var EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; var IsAsync: Boolean) | Boolean | internal | 23-25 | - | - |
| SendBatch | (var EDocuments: Record "E-Document"; EDocumentService: Record "E-Document Service"; var IsAsync: Boolean) | Boolean | internal | 23-29 | - | - |
| GetApproval | (EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service") | - | internal | 23-25 | - | - |
| Cancel | (EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service") | - | internal | 23-25 | - | - |
| Send | (var EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; SendContext: Codeunit SendContext; var IsAsync: Boolean) | Boolean | internal | 26-29 | - | - |
| ReceiveDocument | (EDocService: Record "E-Document Service"; EDocIntegration: Interface "E-Document Integration") | Boolean | internal | 26-29 | - | - |
| ReceiveDocuments | (var EDocumentService: Record "E-Document Service"; ReceiveContext: Codeunit ReceiveContext) | - | public | 26-29 | - | - |
| InvokeAction | (var EDocument: Record "E-Document"; var EDocumentService: Record "E-Document Service"; ActionType: Enum "Integration Action Type"; ActionContext: Codeunit ActionContext) | - | public | 26-29 | - | - |
| GetApprovalStatus | (EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; ActionContext: Codeunit ActionContext) | - | internal | 26-29 | - | - |
| GetCancellationStatus | (EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; ActionContext: Codeunit ActionContext) | - | internal | 26-29 | - | - |
| RunOnAfterUpdateToPostedPurchaseEDocument | (var EDocument: Record "E-Document"; PostedRecord: Variant; PostedDocumentNo: Code[20]; DocumentType: Enum "E-Document Type") | - | internal | 29 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnCancelEDocumentReturnsFalse | (EDocuments: Record "E-Document"; EDocumentService: Record "E-Document Service"; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage; var IsHandled: Boolean) | 23-29 | Pending 26.0 | This event is obsoleted for GetApprovalStatus in "Default Int. Actions" interface. |
| Integration event | OnGetEDocumentApprovalReturnsFalse | (EDocuments: Record "E-Document"; EDocumentService: Record "E-Document Service"; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage; var IsHandled: Boolean) | 23-29 | Pending 26.0 | This event is obsoleted for GetCancellationStatus in "Default Int. Actions" interface. |
| Integration event | OnBeforeIsEDocumentInStateToSend | (EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; var IsInStateToSend: Boolean; var IsHandled: Boolean) | 23-29 | - | - |
| Integration event | OnBeforeSendDocument | (EDocuments: Record "E-Document"; EDocumentService: Record "E-Document Service"; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage) | 23-29 | - | - |
| Integration event | OnAfterSendDocument | (EDocuments: Record "E-Document"; EDocumentService: Record "E-Document Service"; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage) | 23-29 | - | - |
| Integration event | OnAfterUpdateToPostedPurchaseEDocument | (var EDocument: Record "E-Document"; PostedRecord: Variant; PostedDocumentNo: Code[20]; DocumentType: Enum "E-Document Type") | 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.
