---
id: object/xmlport/31061-cz
type: object
title: XMLport 31061 "VIES Declaration CZL" (CZ)
summary: XMLport 31061 "VIES Declaration CZL" (CZ) in the CZ country layer (Microsoft.Finance.VAT.Reporting). 4 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - xmlport
  - cz layer
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: a4359db0930081c3785627703680834bb80133909ab9048a1ee1cd825a5a3336
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/CZ/CoreLocalizationPack/app/Src/XmlPorts/VIESDeclarationCZL.XmlPort.al
    title: src/Apps/CZ/CoreLocalizationPack/app/Src/XmlPorts/VIESDeclarationCZL.XmlPort.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/cz
  videos: []
  posts: []
  guidelines: []
object_type: xmlport
object_id: 31061
name: VIES Declaration CZL
caption: VIES Declaration
namespace: Microsoft.Finance.VAT.Reporting
app: CoreLocalizationPack
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
country: CZ
counts:
  fields: 0
  procedures: 6
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# XMLport 31061 "VIES Declaration CZL" (CZ)

> XMLport 31061 "VIES Declaration CZL" (CZ) in the CZ country layer (Microsoft.Finance.VAT.Reporting). 4 public procedures. Introduced in BC29, still in BC30.

CZ country layer · Microsoft.Finance.VAT.Reporting · captioned "VIES Declaration" · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/CZ/CoreLocalizationPack/app/Src/XmlPorts/VIESDeclarationCZL.XmlPort.al) · facts from BC29

An object of the [CZ localization](../../localizations/cz.md), not part of W1.

## Properties

| Property | Value |
|---|---|
| Caption | VIES Declaration |

## Procedures

- `SetHeader(NewVIESDeclarationHeaderCZL: Record "VIES Declaration Header CZL")` (obsolete 28.0: This function is not used anymore, because the xmlport no longer uses temporary records.)
- `SetLines(var TempVIESDeclarationLineCZL: Record "VIES Declaration Line CZL")` (obsolete 28.0: This function is not used anymore, because the xmlport no longer uses temporary records.)
- `GetOfficialData(CompanyOfficialCode: Code[20]; var OfficialLastName: Text[30]; var OfficialFirstName: Text[30]; var OfficialJobTitle: Text[30]; var OfficialPhoneNo: Text[30])`
- `SetShowAmtInAddCurrency(SetAmtInAddCurrency: Boolean)` (obsolete 28.0: This function is not used anymore. The "Export Amt.inAdd.-CurrencyAmt." field from VIES Declaration Header is used instead.)

Plus 2 local procedures.

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

## Deprecations

- procedure DeleteVIESLines: guarded (#if not CLEAN28)
- procedure SetHeader: Pending 28.0 (#if not CLEAN28), "This function is not used anymore, because the xmlport no longer uses temporary records."
- procedure SetLines: Pending 28.0 (#if not CLEAN28), "This function is not used anymore, because the xmlport no longer uses temporary records."
- procedure SetShowAmtInAddCurrency: Pending 28.0 (#if not CLEAN28), "This function is not used anymore. The "Export Amt.inAdd.-CurrencyAmt." field from VIES Declaration Header is used instead."

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "xmlport", object_name: "VIES Declaration CZL")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

A CZ country object, not part of W1: the default corpus does not have it; `bcatlas_list_countries` shows which countries the atlas has.
