---
id: object/report/12
type: object
title: Report 12 "VAT Statement"
summary: Report 12 "VAT Statement" in Base Application (Microsoft.Finance.VAT.Reporting). 7 public procedures, 7 events. Present since at least BC23, still in BC30, changed in BC24-26, BC29.
tier: official
language: en
tags:
  - report
  - base application
versions:
  introduced: null
  last_changed: "29"
  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: 0af68b8c37797adc446731672b62b5eb671683e9692e679d7ed0d4de942b24c3
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Finance/VAT/Reporting/VATStatement.Report.al
    title: src/Layers/W1/BaseApp/Finance/VAT/Reporting/VATStatement.Report.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/finance-manage-vat
    title: Value Added Tax management overview
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/finance-reports
    title: Built-in finance reports in Business Central
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/finance-vat-reports
    title: Built-in VAT reports in Business Central
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/reports/report-12
    title: VAT Statement (report)
    date: null
    commit: null
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/finance-manage-vat
    - https://learn.microsoft.com/dynamics365/business-central/finance-reports
    - https://learn.microsoft.com/dynamics365/business-central/finance-vat-reports
    - https://learn.microsoft.com/dynamics365/business-central/reports/report-12
  objects: []
  features: []
  topics:
    - topic/business-central/analytics-business-intelligence-and-repo/built-in-reports/finance
    - topic/business-central/business-functionality/finance/financial-analytics/built-in-finance-reports
    - topic/business-central/business-functionality/finance/working-with-value-added-tax-vat
  localizations:
    - localization/at
    - localization/be
    - localization/de
    - localization/es
    - localization/it
    - localization/nl
    - localization/no
  videos: []
  posts: []
  guidelines: []
object_type: report
object_id: 12
name: VAT Statement
namespace: Microsoft.Finance.VAT.Reporting
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "25"
  - "26"
  - "29"
source_major: "29"
obsolete: null
countries:
  - at
  - be
  - de
  - es
  - it
  - nl
  - "no"
ms_search_form_ids:
  - docs/learn-smb-docs/business-central/finance-manage-vat.md
  - docs/learn-smb-docs/business-central/finance-reports.md
  - docs/learn-smb-docs/business-central/finance-vat-reports.md
  - docs/learn-smb-docs/business-central/reports/report-12.md
counts:
  fields: 0
  procedures: 18
  events: 7
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 1
  calls: 0
  called_by: 0
  implements: 0
---

# Report 12 "VAT Statement"

> Report 12 "VAT Statement" in Base Application (Microsoft.Finance.VAT.Reporting). 7 public procedures, 7 events. Present since at least BC23, still in BC30, changed in BC24-26, BC29.

Base Application · Microsoft.Finance.VAT.Reporting · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Finance/VAT/Reporting/VATStatement.Report.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | VAT Statement |
| UsageCategory | ReportsAndAnalysis |
| ApplicationArea | Basic, Suite |

## Events published

- `OnCalcLineTotalOnBeforeCalcTotalAmountVATEntryTotaling(VATStmtLine: Record "VAT Statement Line"; var VATEntry: Record "VAT Entry"; var Amount: Decimal; UseAmtsInAddCurr: Boolean)` (integration): Integration event raised before calculating total amounts for VAT entry totaling lines. Enables custom calculation logic and amount modifications before standard VAT entry processing.
- `OnCalcLineTotalOnBeforeCalcTotalAmountAccountTotaling(VATStmtLine: Record "VAT Statement Line"; var VATEntry: Record "VAT Entry"; var Amount: Decimal; UseAmtsInAddCurr: Boolean)` (integration): Integration event raised before calculating total amounts for G/L account totaling lines. Enables custom calculation logic and amount modifications before standard G/L account processing.
- `OnCalcLineTotalOnVATEntryTotalingOnAfterVATEntrySetFilters(VATStmtLine: Record "VAT Statement Line"; var VATEntry: Record "VAT Entry"; Selection: Enum "VAT Statement Report Selection")` (integration): Integration event raised after setting filters on VAT entries for VAT entry totaling calculations. Enables additional filter modifications or custom VAT entry selection logic.
  - subscribers: [Codeunit 4885 "EU3 VAT Stat. Subscribers"](../codeunit/4885.md) OnCalcLineTotalOnVATEntryTotalingOnAfterVATEntrySetFilters
- `OnCalcLineTotalWithBaseOnCaseElse(var VATStmtLine2: Record "VAT Statement Line"; var Amount: Decimal; var TotalAmount: Decimal; Level: Integer; PeriodSelection: Enum "VAT Statement Report Period Selection"; StartDate: Date; EndDate: Date; EndDateReq: Date; PrintInIntegers: Boolean; UseAmtsInAddCurr: Boolean; var TotalBase: Decimal)` (integration): Integration event raised for custom VAT statement line types not handled by standard calculation logic. Enables implementation of custom totaling and calculation methods for extended line types.
- `OnCalcLineTotalWithBaseOnAfterGLAccSetFilters(var GLAccount: Record "G/L Account"; VATStatementLine2: Record "VAT Statement Line")` (integration): Integration event raised after setting filters on G/L accounts for account totaling calculations. Enables additional filter modifications or custom G/L account selection logic.
- `OnAfterGetAmtRoundingDirection(var Direction: Text[1])` (integration): Integration event raised after determining amount rounding direction for VAT statement calculations. Enables custom rounding direction logic based on specific business requirements.
- `OnBeforeCalcLineTotalWithBase(VATStmtLine2: Record "VAT Statement Line"; var TotalAmount: Decimal; var TotalBase: Decimal; Level: Integer; var RowNo: array[6] of Code[10]; var ErrorText: Text[80]; var Result: Boolean; var IsHandled: Boolean)` (integration): Integration event raised before calculating VAT statement line totals with base amounts. Enables complete override of line total calculation logic with custom implementations.

## Procedures

- `CalcLineTotal(VATStmtLine2: Record "VAT Statement Line"; var TotalAmount: Decimal; Level: Integer): Boolean`: Calculates the total amount for a VAT statement line based on configured calculation rules. Processes VAT entries and G/L accounts according to line type and formula settings.
- `CalcLineTotalWithBase(VATStmtLine2: Record "VAT Statement Line"; var TotalAmount: Decimal; var TotalBase: Decimal; Level: Integer): Boolean`: Calculates both total amount and total base for a VAT statement line with detailed VAT calculations. Processes VAT entries and G/L accounts to determine both VAT amount and base amount components.
- `InitializeRequest(var NewVATStmtName: Record "VAT Statement Name"; var NewVATStatementLine: Record "VAT Statement Line"; NewSelection: Enum "VAT Statement Report Selection"; NewPeriodSelection: Enum "VAT Statement Report Period Selection"; NewPrintInIntegers: Boolean; NewUseAmtsInAddCurr: Boolean)`: Initializes VAT statement report parameters with standard configuration options. Sets up report context including VAT statement template, selection criteria, and formatting preferences.
- `InitializeRequest(var NewVATStmtName: Record "VAT Statement Name"; var NewVATStatementLine: Record "VAT Statement Line"; NewSelection: Enum "VAT Statement Report Selection"; NewPeriodSelection: Enum "VAT Statement Report Period Selection"; NewPrintInIntegers: Boolean; NewUseAmtsInAddCurr: Boolean; NewCountryRegionFilter: Text)`: Initializes VAT statement report parameters with country/region filtering capability. Extended version including geographic filtering for multi-country VAT reporting scenarios.
- `GetCurrency(): Code[10]` (protected)
- `GetAmtRoundingDirection(): Text[1]` (protected)
- `RoundAmount(Amt: Decimal): Decimal` (protected)

Plus 4 local procedures.

## Triggers

OnPreReport

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-26, BC29

## Countries that replace it

[AT](../../localizations/at.md), [BE](../../localizations/be.md), [DE](../../localizations/de.md), [ES](../../localizations/es.md), [IT](../../localizations/it.md), [NL](../../localizations/nl.md), [NO](../../localizations/no.md)

## Documented on Microsoft Learn

- [Value Added Tax management overview](https://learn.microsoft.com/dynamics365/business-central/finance-manage-vat)
- [Built-in finance reports in Business Central](https://learn.microsoft.com/dynamics365/business-central/finance-reports)
- [Built-in VAT reports in Business Central](https://learn.microsoft.com/dynamics365/business-central/finance-vat-reports)
- [VAT Statement (report)](https://learn.microsoft.com/dynamics365/business-central/reports/report-12)

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: "report", object_name: "VAT Statement")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
