---
id: change/bcapps/11894
type: change
title: "#11894 Fix mixed-currency totals in Close Income Statement"
summary: Fixed the Close Income Statement report to correctly process mixed-currency GL entries that were previously duplicated or omitted when source-currency groups were interleaved, and added comprehensive regression tests.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - report close income statement
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-28T10:56:09.594Z"
  flags: []
generated:
  at: "2026-11-12T00:14:43.393Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: c7d51df077ccb347367b03404d4e924fd2b1f0f1
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11894
    title: "microsoft/BCApps#11894: Fix mixed-currency totals in Close Income Statement"
    date: "2026-10-22"
    commit: c7d51df077ccb347367b03404d4e924fd2b1f0f1
    t: null
    quote: Fixed grouped calculations to process each filtered G/L entry group once instead of skipping rows by count.
links:
  learn: []
  objects:
    - object/report/94
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/year-close-income-statement
      title: Close Income Statement Accounts
      label: possibly related
      why: Documents the Close Income Statement batch job and its posting functionality.
      by: model
number: 11894
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11894
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-22T11:32:36Z"
author: ventselartur
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 6
  additions: 1691
  deletions: 48
  al: 3
apps:
  - Base Application
objects_touched:
  - key: report/94
    page: report/94
    type: report
    id: 94
    name: Close Income Statement
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/IT/BaseApp/Finance/GeneralLedger/Setup/CloseIncomeStatement.Report.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports:
  - number: 12768
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/12768
fixes_issues: []
work_items:
  - 651504
systems:
  - finance
quote: Fixed grouped calculations to process each filtered G/L entry group once instead of skipping rows by count.
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #11894 Fix mixed-currency totals in Close Income Statement

> Fixed the Close Income Statement report to correctly process mixed-currency GL entries that were previously duplicated or omitted when source-currency groups were interleaved, and added comprehensive regression tests.

[Pull request](https://github.com/microsoft/BCApps/pull/11894) · merged into `main` (BC30) on 2026-10-22 by ventselartur · 6 files (+1691 -48), 3 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Fixed grouped calculations to process each filtered GL entry group once instead of skipping by count
- Added regression test coverage for Balance closing with and without global dimensions
- Added third-close regression test for historical closing entries with blank source-currency metadata
- Propagated fixes to ES and IT localized versions
- Behaviour changes for users or extensions.

## AL objects touched

- [Report 94 "Close Income Statement"](../../objects/report/94.md), Base Application: modified
- `src/Layers/IT/BaseApp/Finance/GeneralLedger/Setup/CloseIncomeStatement.Report.al`: modified, not in the BC30 snapshot

## Also merged into

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

## Context

- Work items: AB#651504
- Labels: Team: Finance
- Systems: finance
- From the description: "Fixed grouped calculations to process each filtered G/L entry group once instead of skipping rows by count."

## Possibly related

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

- [Close Income Statement Accounts](https://learn.microsoft.com/dynamics365/business-central/year-close-income-statement) — possibly related: Documents the Close Income Statement batch job and its posting functionality. (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).
