code change · fixFinanceofficial - Microsoftreviewed - checked by Opus

#13107 CZ Registration No. verification must do integrity and schema check of the response

The CZ Registration No. validation against the ARES Czech business register now includes schema, integrity, and size checks before marking responses as Valid, similar to other unauthenticated integrations.

Pull request · merged into main (BC30) on 2026-10-25 by dcenic · 3 files (+355 -3), 2 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Schema validation ensures responses contain required fields (ico, obchodniJmeno, sidlo) as non-empty strings or objects
  • Integrity check confirms the response ico exactly matches the requested IČO
  • Response body is capped at 64 KB and validated before JSON parsing
  • Invalid responses are rejected with Security Audit and telemetry entries
  • Prevents acceptance of malformed or unrelated ARES data for master data updates
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#656065
  • Labels: Team: Finance
  • Systems: finance
  • From the description: “the response must contain the fields ARES returns for every economic subject”

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

  • Validate VAT Registration Numbers — possibly related: Documents VAT registration number validation using EU VIES service for compliance verification. (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).