---
id: object/codeunit/11787-cz
type: object
title: Codeunit 11787 "VAT Stmt XML Export Helper CZL" (CZ)
summary: Codeunit 11787 "VAT Stmt XML Export Helper CZL" (CZ) in the CZ country layer (Microsoft.Finance.VAT.Reporting). 27 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - 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: b3dbae68e253e658641ce4eac14c28a8f0476f161a18342eb356a58c534f786d
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/CZ/CoreLocalizationPack/app/Src/Codeunits/VATStmtXMLExportHelperCZL.Codeunit.al
    title: src/Apps/CZ/CoreLocalizationPack/app/Src/Codeunits/VATStmtXMLExportHelperCZL.Codeunit.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: codeunit
object_id: 11787
name: VAT Stmt XML Export Helper CZL
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: 31
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 11787 "VAT Stmt XML Export Helper CZL" (CZ)

> Codeunit 11787 "VAT Stmt XML Export Helper CZL" (CZ) in the CZ country layer (Microsoft.Finance.VAT.Reporting). 27 public procedures. Introduced in BC29, still in BC30.

CZ country layer · Microsoft.Finance.VAT.Reporting · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/CZ/CoreLocalizationPack/app/Src/Codeunits/VATStmtXMLExportHelperCZL.Codeunit.al) · facts from BC29

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

## Properties

| Property | Value |
|---|---|
| Permissions | tabledata "Object Options" = imd |

## Procedures

- `GetParametersXmlDoc(Parameters: Text; var ParametersXmlDoc: XmlDocument)`
- `GetRequestPageOptionXmlElement(OptionName: Text; ParametersXmlDoc: XmlDocument): XmlElement`
- `GetRequestPageOptionValue(OptionName: Text; ParametersXmlDoc: XmlDocument): Text`
- `SetRequestPageOptionValue(OptionName: Text; var ParametersXmlDoc: XmlDocument; NewValue: Text)`
- `FindNodes(var FoundXmlNodeList: XmlNodeList; XmlDoc: XmlDocument; NodePath: Text): Boolean`
- `GetReportRequestPageParameters(ReportID: Integer): Text`
- `UpdateParamsVATStatementName(var XMLTxt: Text; VATStatementName: Record "VAT Statement Name")`
- `SaveReportRequestPageParameters(ReportID: Integer; XMLText: Text)`
- `GetVATStatementName(var VATStatementTemplateName: Code[10]; var VATStatementName: Code[10]; ParamsXmlDoc: XmlDocument)`
- `GetPeriod(var StartDate: Date; var EndDate: Date; var Month: Integer; var Quarter: Integer; var Year: Integer; ParamsXmlDoc: XmlDocument)`
- `GetSelection(var Selection: Enum "VAT Statement Report Selection"; var PeriodSelection: Enum "VAT Statement Report Period Selection"; ParamsXmlDoc: XmlDocument)`
- `GetRounding(var PrintInIntegers: Boolean; var RoundingDirection: Option Nearest,Down,Up; ParamsXmlDoc: XmlDocument)`
- `GetDeclarationAndFilledBy(var DeclarationType: Enum "VAT Stmt. Declaration Type CZL"; var FilledByEmployeeCode: Code[20]; ParamsXmlDoc: XmlDocument)`
- `GetAdditionalParams(var ReasonsObservedOnDate: Date; var NextYearVATPeriodCode: Text; var SettlementNoFilter: Text[50]; var NoTaxBoolean: Boolean; var UseAmtsInAddCurr: Boolean; ParamsXmlDoc: XmlDocument)`
- `EncodeAttachmentsToXML(var TempBlob: Codeunit "Temp Blob"; AttachmentXPath: Text; AttachmentNodeName: Text; VATStatementAttachmentCZL: Record "VAT Statement Attachment CZL")`
- `ConvertToFormType(DeclarationType: Enum "VAT Stmt. Declaration Type CZL"): Code[1]`
- `ConvertToSectionCode(DeclarationType: Enum "VAT Stmt. Declaration Type CZL"): Code[1]`
- `ConvertTaxPayerStatus(TaxPayerStatus: Option Payer,"Non-payer",Other,"VAT Group"): Code[1]`
- `ConvertBoolean(BooleanValue: Boolean): Code[1]`
- `ConvertSubjectType(SubjectType: Option " ",Individual,Corporate): Code[1]`
- `UpdateParamsVATCtrlReportHeader(var XMLTxt: Text; VATCtrlReportHeaderCZL: Record "VAT Ctrl. Report Header CZL")`
- `GetVATCtrlReportNo(var VATControlReportNo: Code[20]; ParamsXmlDoc: XmlDocument)`
- `GetSelection(var Selection: Enum "VAT Statement Report Selection"; ParamsXmlDoc: XmlDocument)`
- `GetRounding(var PrintInIntegers: Boolean; ParamsXmlDoc: XmlDocument)`
- `GetDeclarationAndFilledBy(var DeclarationType: Enum "VAT Ctrl. Report Decl Type CZL"; var FilledByEmployeeCode: Code[20]; ParamsXmlDoc: XmlDocument)`
- `GetVATControlReportAddParams(var ReasonsObservedOnDate: Date; var FastAppelReaction: Option " ",B,P; var AppelDocumentNo: Text; ParamsXmlDoc: XmlDocument)`
- `GetVATControlReportAddParams(var ReasonsObservedOnDate: Date; var FastAppelReaction: Option " ",B,P; var AppelDocumentNo: Text; var UseAmtsInAddCurr: Boolean; ParamsXmlDoc: XmlDocument)`

Plus 4 local procedures.

## Across versions

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

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: "codeunit", object_name: "VAT Stmt XML Export Helper 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.
