---
id: change/bcapps/10168
type: change
title: "#10168 [APAC] Keep vendor ACY on purchase invoice payables entry"
summary: The posting engine in APAC regions now correctly preserves the vendor-calculated additional reporting currency on payables entries, preventing unbalanced ACY amounts and spurious residual entries when posting purchase invoices with blank currencies and non-zero vendor exchange rates.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit gen. jnl.-post line
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:08:53.609Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: b68e5316fe3abb4429d414def091d5a8b8b763cf
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10168
    title: "microsoft/BCApps#10168: [APAC] Keep vendor ACY on purchase invoice payables entry"
    date: "2026-08-17"
    commit: b68e5316fe3abb4429d414def091d5a8b8b763cf
    t: null
    quote: The posting therefore left the full ACY amount unbalanced and created a separate residual entry.
links:
  learn: []
  objects:
    - object/codeunit/12
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10168
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10168
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-17T08:29:01Z"
author: Jose-agg
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 112
  deletions: 3
  al: 1
apps:
  - Base Application
objects_touched:
  - key: codeunit/12
    page: codeunit/12
    type: codeunit
    id: 12
    name: Gen. Jnl.-Post Line
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 641827
systems:
  - finance
quote: The posting therefore left the full ACY amount unbalanced and created a separate residual entry.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #10168 [APAC] Keep vendor ACY on purchase invoice payables entry

> The posting engine in APAC regions now correctly preserves the vendor-calculated additional reporting currency on payables entries, preventing unbalanced ACY amounts and spurious residual entries when posting purchase invoices with blank currencies and non-zero vendor exchange rates.

[Pull request](https://github.com/microsoft/BCApps/pull/10168) · merged into `main` (BC30) on 2026-08-17 by Jose-agg · 2 files (+112 -3), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Vendor-calculated additional currency amount (ACY) is now retained in the balancing payables entry instead of being replaced with zero
- Source currency amount is calculated independently from LCY rather than reusing the ACY value
- Fixes unbalanced ACY amounts that previously created residual entries in APAC preview posting scenarios
- Change is isolated to APAC layer and does not affect W1 behavior or existing data structures
- New test validates correct ACY handling for purchase invoices with vendor exchange rates
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 12 "Gen. Jnl.-Post Line"](../../objects/codeunit/12.md), Base Application (AU layer): modified

## Context

- Work items: AB#641827
- Labels: Team: Finance
- Systems: finance
- From the description: "The posting therefore left the full ACY amount unbalanced and created a separate residual entry."

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