---
id: change/bcapps/11527
type: change
title: "#11527 E-document payment improvements"
summary: E-Document payment processing now supports durable, retryable occurrences with bounded automatic retries, dispatcher job management, and enhanced French E-Reporting UI for lifecycle messages.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - codeunit e-document install
  - codeunit e-document log
  - codeunit e-document create jnl. line
  - codeunit e-doc. payment occ. dispatcher
  - enum e-doc. payment occ. status
  - codeunit e-doc. payment occurrence mgt.
system: integration
review:
  state: reviewed
  by: opus
  at: "2026-10-16T01:17:14.488Z"
  flags: []
generated:
  at: "2026-11-23T00:15:10.597Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 6e1964133e661820ee2882f4ece4ffbe23bf2d11
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11527
    title: "microsoft/BCApps#11527: E-document payment improvements"
    date: "2026-10-13"
    commit: 6e1964133e661820ee2882f4ece4ffbe23bf2d11
    t: null
    quote: Captures payment applications and reversals for outgoing sales-invoice E-Documents and publishes them through the payment-occurrence integration event.
links:
  learn: []
  objects:
    - object/codeunit/6161
    - object/codeunit/6132
    - object/codeunit/6137
    - object/codeunit/6248
    - object/enum/6539
    - object/codeunit/6536
    - object/codeunit/6164
    - object/codeunit/6168
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/reports/report-6102
      title: E-Doc Sample Purchase Invoice report
      label: possibly related
      why: Documents e-document purchase invoice handling and validation processes related to payment data.
      by: model
number: 11527
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11527
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-13T10:13:06Z"
author: djukicmilica
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Ownership: Needs Review"
  - "Team: Other"
change_class: code
change_kind: feature
behavior_change: true
breaking: false
files:
  count: 20
  additions: 972
  deletions: 46
  al: 8
apps:
  - EDocument
objects_touched:
  - key: codeunit/6161
    page: codeunit/6161
    type: codeunit
    id: 6161
    name: E-Document Install
    app: EDocument
    status: modified
  - key: codeunit/6132
    page: codeunit/6132
    type: codeunit
    id: 6132
    name: E-Document Log
    app: EDocument
    status: modified
  - key: codeunit/6137
    page: codeunit/6137
    type: codeunit
    id: 6137
    name: E-Document Create Jnl. Line
    app: EDocument
    status: modified
  - key: codeunit/6248
    page: codeunit/6248
    type: codeunit
    id: 6248
    name: E-Doc. Payment Occ. Dispatcher
    app: EDocument
    status: modified
  - key: enum/6539
    page: enum/6539
    type: enum
    id: 6539
    name: E-Doc. Payment Occ. Status
    app: EDocument
    status: modified
  - key: codeunit/6536
    page: codeunit/6536
    type: codeunit
    id: 6536
    name: E-Doc. Payment Occurrence Mgt.
    app: EDocument
    status: modified
  - key: codeunit/6164
    page: codeunit/6164
    type: codeunit
    id: 6164
    name: E-Doc. Line Matching
    app: EDocument
    status: modified
  - key: codeunit/6168
    page: codeunit/6168
    type: codeunit
    id: 6168
    name: E-Document Upgrade
    app: EDocument
    status: modified
objects_unjoined: []
obsoletions: []
backports:
  - number: 12569
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/12569
fixes_issues: []
work_items:
  - 651231
systems:
  - integration
quote: Captures payment applications and reversals for outgoing sales-invoice E-Documents and publishes them through the payment-occurrence integration event.
joined_against:
  major: "30"
  commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
---

# #11527 E-document payment improvements

> E-Document payment processing now supports durable, retryable occurrences with bounded automatic retries, dispatcher job management, and enhanced French E-Reporting UI for lifecycle messages.

[Pull request](https://github.com/microsoft/BCApps/pull/11527) · merged into `main` (BC30) on 2026-10-13 by djukicmilica · 20 files (+972 -46), 8 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- Captures payment applications and reversals for outgoing sales-invoice E-Documents
- Installs recurring dispatcher processing occurrences in batches with 30-minute processing lease protection
- Implements bounded retries with delays of 5 minutes, 30 minutes, 2 hours, and 8 hours; Action Required status after five failures
- Adds UI for lifecycle messages, VAT breakdowns, payment occurrences, and retry details in French E-Reporting
- Migrates existing error occurrences to Retry Pending during install and upgrade
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 6161 "E-Document Install"](../../objects/codeunit/6161.md), EDocument: modified
- [Codeunit 6132 "E-Document Log"](../../objects/codeunit/6132.md), EDocument: modified
- [Codeunit 6137 "E-Document Create Jnl. Line"](../../objects/codeunit/6137.md), EDocument: modified
- [Codeunit 6248 "E-Doc. Payment Occ. Dispatcher"](../../objects/codeunit/6248.md), EDocument: modified
- [Enum 6539 "E-Doc. Payment Occ. Status"](../../objects/enum/6539.md), EDocument: modified
- [Codeunit 6536 "E-Doc. Payment Occurrence Mgt."](../../objects/codeunit/6536.md), EDocument: modified
- [Codeunit 6164 "E-Doc. Line Matching"](../../objects/codeunit/6164.md), EDocument: modified
- [Codeunit 6168 "E-Document Upgrade"](../../objects/codeunit/6168.md), EDocument: modified

## Also merged into

- [#12569](https://github.com/microsoft/BCApps/pull/12569) into `releases/29.x` on 2026-10-13

## Context

- Work items: AB#651231
- Labels: AL: Apps (W1), Ownership: Needs Review, Team: Other
- Systems: integration
- From the description: "Captures payment applications and reversals for outgoing sales-invoice E-Documents and publishes them through the payment-occurrence integration event."

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [E-Doc Sample Purchase Invoice report](https://learn.microsoft.com/dynamics365/business-central/reports/report-6102) — possibly related: Documents e-document purchase invoice handling and validation processes related to payment data. (model-linked)

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