code change · fixSales & Receivablesofficial - Microsoftreviewed - checked by Opus

#12622 [Master]-Subscription Billing: Recurring Billing (Document Per = Contract Partner) Overwrites Contract Currency with Customer Currency Without Amount Conversion.

Subscription Billing now correctly carries the contract currency to generated invoices instead of defaulting to local currency.

Pull request · merged into main (BC30) on 2026-10-14 by neeleshsinghal · 2 files (+38 -1), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Invoice creation from contracts now takes the currency code from the related contract line
  • Before this change, invoices were created with a blank currency code, which is treated as local currency
  • Change is in the Create Billing Documents codeunit, with a new recurring billing test
  • Behaviour changes for users or extensions.

AL objects touched

Context

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

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

  • Managing contracts, subscriptions, and subscription lines — possibly related: Describes subscription contract structure and billing information, context for the Create Billing Documents codeunit (model-linked)
  • Recurring billing — possibly related: Explains recurring billing for subscription contracts, directly addresses the currency handling in billing documents (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).