---
id: change/bcapps/9208
type: change
title: "#9208 [Enforced Digital Vouchers] - Attaching EDocuments when using Digital Vouchers"
summary: Digital Vouchers now automatically attach generated E-Documents to posted sales and purchase documents when configured to do so. The Digital Voucher Entry Setup table adds an E-Document check type option that streamlines compliance document management and reduces manual attachment effort.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - codeunit e-doc. integration management
  - table e-doc. data storage
  - codeunit e-document subscribers
  - permissionset digital voucher - objects
  - table digital voucher entry setup
  - tableextension dig. voucher inc. doc. attach.
system: integration
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:09:41.397Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: b5e64bbf430824228efb9e4ab573623435b70e52
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9208
    title: "microsoft/BCApps#9208: [Enforced Digital Vouchers] - Attaching EDocuments when using Digital Vouchers"
    date: "2026-08-11"
    commit: b5e64bbf430824228efb9e4ab573623435b70e52
    t: null
    quote: The system will automatically generate and attach E-Documents and related files to posted documents, streamlining document management and compliance.
links:
  learn: []
  objects:
    - object/codeunit/6134
    - object/table/6125
    - object/codeunit/6103
    - object/permissionset/5583
    - object/table/5579
    - object/tableextension/5582
    - object/enum/5580
    - object/codeunit/5579
    - object/codeunit/5588
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9208
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9208
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-11T11:56:45Z"
author: jzaksauskas
author_type: User
community_contribution: true
labels:
  - "ADO: Sync"
  - "AL: Apps (W1)"
  - From Fork
  - "Ownership: Manual"
  - "Team: Integrations"
change_class: code
change_kind: feature
behavior_change: true
breaking: false
files:
  count: 13
  additions: 730
  deletions: 10
  al: 9
apps:
  - EDocument
  - EnforcedDigitalVouchers
objects_touched:
  - key: codeunit/6134
    page: codeunit/6134
    type: codeunit
    id: 6134
    name: E-Doc. Integration Management
    app: EDocument
    status: modified
  - key: table/6125
    page: table/6125
    type: table
    id: 6125
    name: E-Doc. Data Storage
    app: EDocument
    status: modified
  - key: codeunit/6103
    page: codeunit/6103
    type: codeunit
    id: 6103
    name: E-Document Subscribers
    app: EDocument
    status: modified
  - key: permissionset/5583
    page: permissionset/5583
    type: permissionset
    id: 5583
    name: Digital Voucher - Objects
    app: EnforcedDigitalVouchers
    status: modified
  - key: table/5579
    page: table/5579
    type: table
    id: 5579
    name: Digital Voucher Entry Setup
    app: EnforcedDigitalVouchers
    status: modified
  - key: tableextension/5582
    page: tableextension/5582
    type: tableextension
    id: 5582
    name: Dig. Voucher Inc. Doc. Attach.
    app: EnforcedDigitalVouchers
    status: modified
  - key: enum/5580
    page: enum/5580
    type: enum
    id: 5580
    name: Digital Voucher Check Type
    app: EnforcedDigitalVouchers
    status: modified
  - key: codeunit/5579
    page: codeunit/5579
    type: codeunit
    id: 5579
    name: Digital Voucher Impl.
    app: EnforcedDigitalVouchers
    status: modified
  - key: codeunit/5588
    page: codeunit/5588
    type: codeunit
    id: 5588
    name: Voucher E-Document Check
    app: EnforcedDigitalVouchers
    status: added
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 639562
systems:
  - integration
quote: The system will automatically generate and attach E-Documents and related files to posted documents, streamlining document management and compliance.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #9208 [Enforced Digital Vouchers] - Attaching EDocuments when using Digital Vouchers

> Digital Vouchers now automatically attach generated E-Documents to posted sales and purchase documents when configured to do so. The Digital Voucher Entry Setup table adds an E-Document check type option that streamlines compliance document management and reduces manual attachment effort.

[Pull request](https://github.com/microsoft/BCApps/pull/9208) · merged into `main` (BC30) on 2026-08-11 by jzaksauskas (community contribution) · 13 files (+730 -10), 9 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- New E-Document check type added to Digital Voucher Entry Setup for automating E-Document attachment
- Automatic attachment of E-Document files to Incoming Document Files when posting sales or purchase documents
- E-Document check type only available when Generate Automatically is enabled
- E-Document option restricted to Sales Document or Purchase Document entry types
- Enhanced automation reduces manual effort and ensures consistent document linking
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 6134 "E-Doc. Integration Management"](../../objects/codeunit/6134.md), EDocument: modified
- [Table 6125 "E-Doc. Data Storage"](../../objects/table/6125.md), EDocument: modified
- [Codeunit 6103 "E-Document Subscribers"](../../objects/codeunit/6103.md), EDocument: modified
- [Permission set 5583 "Digital Voucher - Objects"](../../objects/permissionset/5583.md), EnforcedDigitalVouchers: modified
- [Table 5579 "Digital Voucher Entry Setup"](../../objects/table/5579.md), EnforcedDigitalVouchers: modified
- [Table extension 5582 "Dig. Voucher Inc. Doc. Attach."](../../objects/tableextension/5582.md), EnforcedDigitalVouchers: modified
- [Enum 5580 "Digital Voucher Check Type"](../../objects/enum/5580.md), EnforcedDigitalVouchers: modified
- [Codeunit 5579 "Digital Voucher Impl."](../../objects/codeunit/5579.md), EnforcedDigitalVouchers: modified
- [Codeunit 5588 "Voucher E-Document Check"](../../objects/codeunit/5588.md), EnforcedDigitalVouchers: added

## Context

- Work items: AB#639562
- Labels: ADO: Sync, AL: Apps (W1), From Fork, Ownership: Manual, Team: Integrations
- Systems: integration
- From the description: "The system will automatically generate and attach E-Documents and related files to posted documents, streamlining document management and compliance."

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).
