#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.
- 4files
- 2AL files
- 2objects
Pull request · 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”, NemhandelNotification (DK layer): modified
- Codeunit 1281 “Update Currency Exchange Rates”, 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 — 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).