---
title: "Codeunit 133 Send Incoming Document to OCR"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/133-send-incoming-document-to-ocr/
type: codeunit
id: 133
name: "Send Incoming Document to OCR"
app: "Base Application"
namespace: Microsoft.EServices.EDocument
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/133-send-incoming-document-to-ocr/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 133 Send Incoming Document to OCR

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/133-send-incoming-document-to-ocr/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.EServices.EDocument |
| Versions | 17-28 |
| Source file | eServices/EDocument/SendIncomingDocumenttoOCR.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| SendToJobQueue | (var Record Incoming Document) | - | public | 17-28 | - | - |
| RemoveFromJobQueue | (var Record Incoming Document) | - | public | 17-28 | - | - |
| SendDocToOCR | (var Record Incoming Document) | - | public | 17-28 | - | - |
| ScheduleJobQueueReceive | () | - | public | 17-28 | - | - |
| RetrieveDocFromOCR | (var Record Incoming Document) | - | public | 17-28 | - | - |
| SetStatusToReceived | (var Record Incoming Document) | - | public | 17-28 | - | - |
| SetStatusToFailed | (var Record Incoming Document) | - | public | 17-28 | - | - |
| SetStatusToVerify | (var Record Incoming Document) | - | public | 17-28 | - | - |
| TrySendToOCR | (var Record Incoming Document) | Boolean | public | 17-28 | - | - |
| TryRetrieveFromOCR | (var Record Incoming Document) | Boolean | public | 17-28 | - | - |
| SetShowMessages | (Boolean) | - | public | 17-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterIncomingDocReadyForOCR | (var Record Incoming Document) | 17-28 | - | - |
| Integration event | OnAfterIncomingDocSentToOCR | (var Record Incoming Document) | 17-28 | - | - |
| Integration event | OnAfterIncomingDocReceivedFromOCR | (var Record Incoming Document) | 17-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
