---
id: change/bcapps/12796
type: change
title: "#12796 [29.X]-Subscription Billing: Recurring Billing (Document Per = Contract Partner) Overwrites Contract Currency with Customer Currency Without Amount Conversion.653480 initial commit"
summary: Fixes recurring billing in Subscription Billing with Document Per = Contract Partner. Billing documents replaced the contract currency with the customer's currency without converting the amounts. The change is in codeunit Create Billing Documents.
tier: official
language: en
tags:
  - fix
  - releases/29.x
  - bc29
  - codeunit create billing documents
system: sales
review:
  state: reviewed
  by: opus
  at: "2026-10-31T01:04:07.475Z"
  flags: []
generated:
  at: "2026-11-01T00:17:21.384Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: ec15d65a471323ed7d0ce4b486e2a02da3bf18ba
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12796
    title: "microsoft/BCApps#12796: [29.X]-Subscription Billing: Recurring Billing (Document Per = Contract Partner) Overwrites Contract Currency with Customer Currency Without Amount Conversion.653480 initial commit"
    date: "2026-10-27"
    commit: ec15d65a471323ed7d0ce4b486e2a02da3bf18ba
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/8060
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/SRB/recurring-billing
      title: Recurring billing
      label: possibly related
      why: Documents recurring billing and subscription contract document creation and currency handling.
      by: model
number: 12796
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12796
kind: pr
base_branch: releases/29.x
major: "29"
merged_at: "2026-10-27T08:32:56Z"
author: neeleshsinghal
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 44
  deletions: 2
  al: 1
apps:
  - Subscription Billing
objects_touched:
  - key: codeunit/8060
    page: codeunit/8060
    type: codeunit
    id: 8060
    name: Create Billing Documents
    app: Subscription Billing
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 654080
systems:
  - sales
quote: null
joined_against:
  major: "29"
  commit: 7aa49e808916c060dbee97d9ff324a2cfda8d422
---

# #12796 [29.X]-Subscription Billing: Recurring Billing (Document Per = Contract Partner) Overwrites Contract Currency with Customer Currency Without Amount Conversion.653480 initial commit

> Fixes recurring billing in Subscription Billing with Document Per = Contract Partner. Billing documents replaced the contract currency with the customer's currency without converting the amounts. The change is in codeunit Create Billing Documents.

[Pull request](https://github.com/microsoft/BCApps/pull/12796) · merged into `releases/29.x` (BC29) on 2026-10-27 by neeleshsinghal · 2 files (+44 -2), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Fixes billing document creation when Document Per is set to Contract Partner
- Before the fix, the contract currency was replaced by the customer currency and the amounts were not converted
- Small change in codeunit 8060 Create Billing Documents
- Adds a test in Recurring Billing Docs Test for this scenario
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 8060 "Create Billing Documents"](../../objects/codeunit/8060.md), Subscription Billing: modified

## Context

- Work items: AB#654080
- Labels: AL: Apps (W1), Team: Finance
- Systems: sales

## Possibly related

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

- [Recurring billing](https://learn.microsoft.com/dynamics365/business-central/SRB/recurring-billing) — possibly related: Documents recurring billing and subscription contract document creation and currency handling. (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).
