Security change on December 1, 2026: TLS 1.2 will become the minimum standard for 365 business Print Agent. Details and system requirements
365 business development
365 business E-Invoice

365 business E-Invoice Extendability Events

OnAfterDownloadEDocument - Event

The OnAfterDownloadEDocument event is triggered after downloading the document from the Microsoft 365 mailbox using E-Document framework. This event allows you to get the received document for further processing or validation.

Code
/// <summary> /// Event triggered after downloading the document from the Microsoft 365 mailbox. /// </summary> /// <param name="eDocument">Record with the E-Document data.</param> /// <param name="document">Temp Blob codeunit containing the downloaded document.</param> [IntegrationEvent(false, false)] local procedure OnAfterDownloadEDocument(var eDocument: Record Microsoft.eServices.EDocument."E-Document"; var document: Codeunit System.Utilities."Temp Blob") begin end;
ParameterTypeDescription
eDocumentRecord "E-Document"The E-Document record containing the downloaded document.
document"Temp Blob" codeunitThe Temp Blob codeunit containing the downloaded document.
Last modified on