---
id: change/bcapps/11484
type: change
title: "#11484 [E-Documents Core] - Supported type direction configuration"
summary: E-Document services now support per-document-type direction configuration (Incoming, Outgoing, or Both), allowing administrators to control which document types each service can process and preventing implicit document exchanges.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - codeunit e-doc. ded peppol subscribers
  - codeunit e-document install
  - codeunit edoc peppol bis 3.0
  - codeunit e-doc. recurrent batch send
  - codeunit e-doc. export
  - codeunit e-doc. import
system: integration
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:03:57.446Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: a94e98bc167c637c0ce50810639d6c459c1e4aef
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11484
    title: "microsoft/BCApps#11484: [E-Documents Core] - Supported type direction configuration"
    date: "2026-09-29"
    commit: a94e98bc167c637c0ce50810639d6c459c1e4aef
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/6162
    - object/codeunit/6161
    - object/codeunit/6165
    - object/codeunit/6142
    - object/codeunit/6102
    - object/codeunit/6140
    - object/codeunit/6104
    - object/table/6122
    - object/page/6129
    - object/enum/6166
    - object/table/6103
    - object/page/6133
    - object/codeunit/6168
    - object/codeunit/6135
    - object/codeunit/3307
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 11484
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11484
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-29T11:15:10Z"
author: GediminasGaubys
author_type: User
community_contribution: true
labels:
  - "ADO: Sync"
  - "AL: Apps (W1)"
  - From Fork
  - "Team: Integrations"
change_class: code
change_kind: feature
behavior_change: true
breaking: true
files:
  count: 19
  additions: 1248
  deletions: 93
  al: 15
apps:
  - EDocument
  - PayablesAgent
objects_touched:
  - key: codeunit/6162
    page: codeunit/6162
    type: codeunit
    id: 6162
    name: E-Doc. DED PEPPOL Subscribers
    app: EDocument
    status: modified
  - key: codeunit/6161
    page: codeunit/6161
    type: codeunit
    id: 6161
    name: E-Document Install
    app: EDocument
    status: modified
  - key: codeunit/6165
    page: codeunit/6165
    type: codeunit
    id: 6165
    name: EDoc PEPPOL BIS 3.0
    app: EDocument
    status: modified
  - key: codeunit/6142
    page: codeunit/6142
    type: codeunit
    id: 6142
    name: E-Doc. Recurrent Batch Send
    app: EDocument
    status: modified
  - key: codeunit/6102
    page: codeunit/6102
    type: codeunit
    id: 6102
    name: E-Doc. Export
    app: EDocument
    status: modified
  - key: codeunit/6140
    page: codeunit/6140
    type: codeunit
    id: 6140
    name: E-Doc. Import
    app: EDocument
    status: modified
  - key: codeunit/6104
    page: codeunit/6104
    type: codeunit
    id: 6104
    name: Import E-Document Process
    app: EDocument
    status: modified
  - key: table/6122
    page: table/6122
    type: table
    id: 6122
    name: E-Doc. Service Supported Type
    app: EDocument
    status: modified
  - key: page/6129
    page: page/6129
    type: page
    id: 6129
    name: E-Doc Service Supported Types
    app: EDocument
    status: modified
  - key: enum/6166
    page: enum/6166
    type: enum
    id: 6166
    name: E-Doc. Supp. Type Direction
    app: EDocument
    status: added
  - key: table/6103
    page: table/6103
    type: table
    id: 6103
    name: E-Document Service
    app: EDocument
    status: modified
  - key: page/6133
    page: page/6133
    type: page
    id: 6133
    name: E-Document Service
    app: EDocument
    status: modified
  - key: codeunit/6168
    page: codeunit/6168
    type: codeunit
    id: 6168
    name: E-Document Upgrade
    app: EDocument
    status: modified
  - key: codeunit/6135
    page: codeunit/6135
    type: codeunit
    id: 6135
    name: E-Document WorkFlow Processing
    app: EDocument
    status: modified
  - key: codeunit/3307
    page: codeunit/3307
    type: codeunit
    id: 3307
    name: Payables Agent Setup
    app: PayablesAgent
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 650228
systems:
  - integration
  - development
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #11484 [E-Documents Core] - Supported type direction configuration

> E-Document services now support per-document-type direction configuration (Incoming, Outgoing, or Both), allowing administrators to control which document types each service can process and preventing implicit document exchanges.

[Pull request](https://github.com/microsoft/BCApps/pull/11484) · merged into `main` (BC30) on 2026-09-29 by GediminasGaubys (community contribution) · 19 files (+1248 -93), 15 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- Adds a Direction field (Incoming, Outgoing, Both) to E-Doc. Service Supported Type, backed by the new closed enum E-Doc. Supp. Type Direction
- Outbound creation, recreate and batch export require Outgoing or Both; V1 and V2 inbound processing require Incoming or Both and log an error otherwise
- A missing supported-type row now denies both directions; built-in services (PDF reader, ForNAV, Payables Agent, demo) are seeded with Incoming rows
- Per-company upgrade turns existing rows into Both and missing types into Incoming, except seven fallback-secondary types left unconfigured
- Uses one lookup for non-fallback types, caches the service record in the V2 rejection path, and fixes recurrent and threshold batch export edge cases
- Breaking: existing extensions can stop compiling or working.

## AL objects touched

- [Codeunit 6162 "E-Doc. DED PEPPOL Subscribers"](../../objects/codeunit/6162.md), EDocument: modified
- [Codeunit 6161 "E-Document Install"](../../objects/codeunit/6161.md), EDocument: modified
- [Codeunit 6165 "EDoc PEPPOL BIS 3.0"](../../objects/codeunit/6165.md), EDocument: modified
- [Codeunit 6142 "E-Doc. Recurrent Batch Send"](../../objects/codeunit/6142.md), EDocument: modified
- [Codeunit 6102 "E-Doc. Export"](../../objects/codeunit/6102.md), EDocument: modified
- [Codeunit 6140 "E-Doc. Import"](../../objects/codeunit/6140.md), EDocument: modified
- [Codeunit 6104 "Import E-Document Process"](../../objects/codeunit/6104.md), EDocument: modified
- [Table 6122 "E-Doc. Service Supported Type"](../../objects/table/6122.md), EDocument: modified
- [Page 6129 "E-Doc Service Supported Types"](../../objects/page/6129.md), EDocument: modified
- [Enum 6166 "E-Doc. Supp. Type Direction"](../../objects/enum/6166.md), EDocument: added
- [Table 6103 "E-Document Service"](../../objects/table/6103.md), EDocument: modified
- [Page 6133 "E-Document Service"](../../objects/page/6133.md), EDocument: modified
- [Codeunit 6168 "E-Document Upgrade"](../../objects/codeunit/6168.md), EDocument: modified
- [Codeunit 6135 "E-Document WorkFlow Processing"](../../objects/codeunit/6135.md), EDocument: modified
- [Codeunit 3307 "Payables Agent Setup"](../../objects/codeunit/3307.md), PayablesAgent: modified

## Context

- Work items: AB#650228
- Labels: ADO: Sync, AL: Apps (W1), From Fork, Team: Integrations
- Systems: integration, development

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
