---
title: "Codeunit 6532 E-Document Message API"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/6532-e-document-message-api/
type: codeunit
id: 6532
name: "E-Document Message API"
app: "E-Document Core"
namespace: Microsoft.eServices.EDocument.Processing.Message
versions: "29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/codeunit/6532-e-document-message-api/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 6532 E-Document Message API

JOP-AL, https://jonas-paprotka.de/ref/codeunit/6532-e-document-message-api/

| | |
| --- | --- |
| App | E-Document Core |
| Namespace | Microsoft.eServices.EDocument.Processing.Message |
| Versions | 29 |
| Minors | W1 29.0; DE 29.0; US 29.0, [every minor](https://jonas-paprotka.de/ref/codeunit/6532-e-document-message-api/editions.json) |
| Access | Public |
| Source file | src/Processing/Message/EDocumentMessageAPI.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| CreateMessage | (EDocument: Record "E-Document"; MessageType: Enum "E-Document Message Type"; ResponseType: Enum "E-Doc. Response Type"; var TempBlob: Codeunit "Temp Blob") | Integer | public | 29 | - | - |
| GetMessageEDocument | (MessageEntryNo: Integer; var EDocument: Record "E-Document") | - | public | 29 | - | - |
| GetMessageDirection | (MessageEntryNo: Integer) | Enum E-Document Direction | public | 29 | - | - |
| GetMessageStatus | (MessageEntryNo: Integer) | Enum E-Doc. Message Status | public | 29 | - | - |
| GetMessageResponseType | (MessageEntryNo: Integer) | Enum E-Doc. Response Type | public | 29 | - | - |
| SendMessage | (MessageEntryNo: Integer) | - | public | 29 | - | - |
| QueueMessage | (MessageEntryNo: Integer) | - | public | 29 | - | - |
| RetryMessage | (MessageEntryNo: Integer) | - | public | 29 | - | - |
| PollMessageResponse | (MessageEntryNo: Integer) | - | public | 29 | - | - |
| RegisterExternalDocumentReference | (EDocument: Record "E-Document"; ServiceCode: Code[20]; ExternalDocumentID: Text[250]) | - | public | 29 | - | - |
| CreateIncomingMessage | (ServiceCode: Code[20]; ExternalDocumentID: Text[250]; ExternalMessageID: Text[250]; MessageType: Enum "E-Document Message Type"; ResponseType: Enum "E-Doc. Response Type"; ReceivedAt: DateTime; var TempBlob: Codeunit "Temp Blob") | Integer | public | 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 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
