---
id: change/bcapps/12507
type: change
title: "#12507 [DK Nemhandel][Currency] Remove unsafe fixed response-size caps on scaling/customer-configured feeds"
summary: Removed unsafe fixed byte-size caps on integration responses that scale with customer data, relying instead on platform limits and structural validation for the Nemhandel and currency exchange rate services.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit nemhandel status page bckgrnd
  - codeunit update currency exchange rates
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-19T01:10:56.721Z"
  flags: []
generated:
  at: "2026-10-24T01:02:25.817Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 09e9f22f1e3e032df365d1e16ec40479f59ad0ec
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12507
    title: "microsoft/BCApps#12507: [DK Nemhandel][Currency] Remove unsafe fixed response-size caps on scaling/customer-configured feeds"
    date: "2026-10-08"
    commit: 09e9f22f1e3e032df365d1e16ec40479f59ad0ec
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/13608-dk
    - object/codeunit/1281
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/finance-how-update-currencies
      title: Update currency exchange rates
      label: possibly related
      why: Documents currency exchange rate updates including automatic feeds and service configuration.
      by: model
number: 12507
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12507
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-08T17:08:48Z"
author: dcenic
author_type: User
community_contribution: false
labels:
  - "Ownership: Manual"
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 4
  additions: 14
  deletions: 125
  al: 2
apps:
  - Base Application
  - NemhandelNotification
objects_touched:
  - key: codeunit/13608
    page: codeunit/13608-dk
    type: codeunit
    id: 13608
    name: Nemhandel Status Page Bckgrnd
    app: NemhandelNotification
    status: modified
  - key: codeunit/1281
    page: codeunit/1281
    type: codeunit
    id: 1281
    name: Update Currency Exchange Rates
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 653385
  - 653446
systems:
  - finance
  - integration
quote: null
joined_against:
  major: "30"
  commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
---

# #12507 [DK Nemhandel][Currency] Remove unsafe fixed response-size caps on scaling/customer-configured feeds

> Removed unsafe fixed byte-size caps on integration responses that scale with customer data, relying instead on platform limits and structural validation for the Nemhandel and currency exchange rate services.

[Pull request](https://github.com/microsoft/BCApps/pull/12507) · merged into `main` (BC30) on 2026-10-08 by dcenic · 4 files (+14 -125), 2 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Removed 64 KB cap on Nemhandel API that falsely rejected legitimate large companies with many registered receivers
- Removed 10 MB cap on currency exchange rate downloads where legitimate responses grow annually and vary by provider format
- Kept caps on genuinely bounded responses: VIES checkVat (64 KB) and MTD IP lookup (4 KB)
- Relies on platform HttpClient 150 MiB absolute limit for memory/DoS protection and schema validation for integrity
- Nemhandel responses measured from 0.5 KB (Mærsk) to 97 MB (Region Midtjylland); ECB full-history feed 7.8 MB and growing
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 13608 "Nemhandel Status Page Bckgrnd"](../../objects/codeunit/13608-dk.md), NemhandelNotification (DK layer): modified
- [Codeunit 1281 "Update Currency Exchange Rates"](../../objects/codeunit/1281.md), Base Application: modified

## Context

- Work items: AB#653385, AB#653446
- Labels: Ownership: Manual, Team: Finance
- Systems: finance, integration

## Possibly related

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

- [Update currency exchange rates](https://learn.microsoft.com/dynamics365/business-central/finance-how-update-currencies) — possibly related: Documents currency exchange rate updates including automatic feeds and service configuration. (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).
