---
id: change/bcapps/13107
type: change
title: "#13107 CZ Registration No. verification must do integrity and schema check of the response"
summary: 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.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit reg. lookup ext. data czl
  - codeunit registration log mgt. czl
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-26T06:43:18.949Z"
  flags: []
generated:
  at: "2026-10-29T00:16:37.959Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 9445935193bb6b2cf2675c1551286ee36cef329c
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/13107
    title: "microsoft/BCApps#13107: CZ Registration No. verification must do integrity and schema check of the response"
    date: "2026-10-25"
    commit: 9445935193bb6b2cf2675c1551286ee36cef329c
    t: null
    quote: the response must contain the fields ARES returns for every economic subject
links:
  learn: []
  objects:
    - object/codeunit/11754-cz
    - object/codeunit/11755-cz
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/finance-how-validate-vat-registration-number
      title: Validate VAT Registration Numbers
      label: possibly related
      why: Documents VAT registration number validation using EU VIES service for compliance verification.
      by: model
number: 13107
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/13107
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-25T08:30:22Z"
author: dcenic
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 3
  additions: 355
  deletions: 3
  al: 2
apps:
  - CoreLocalizationPack
objects_touched:
  - key: codeunit/11754
    page: codeunit/11754-cz
    type: codeunit
    id: 11754
    name: Reg. Lookup Ext. Data CZL
    app: CoreLocalizationPack
    status: modified
  - key: codeunit/11755
    page: codeunit/11755-cz
    type: codeunit
    id: 11755
    name: Registration Log Mgt. CZL
    app: CoreLocalizationPack
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 656065
systems:
  - finance
quote: the response must contain the fields ARES returns for every economic subject
joined_against:
  major: "30"
  commit: 15385dede95a4f9e7be01be47c684fc9d654a7ce
---

# #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](https://github.com/microsoft/BCApps/pull/13107) · 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

- [Codeunit 11754 "Reg. Lookup Ext. Data CZL"](../../objects/codeunit/11754-cz.md), CoreLocalizationPack (CZ layer): modified
- [Codeunit 11755 "Registration Log Mgt. CZL"](../../objects/codeunit/11755-cz.md), CoreLocalizationPack (CZ layer): modified

## 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"

## Possibly related

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

- [Validate VAT Registration Numbers](https://learn.microsoft.com/dynamics365/business-central/finance-how-validate-vat-registration-number) — 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).
