---
title: "Codeunit 799 VAT Reporting Date Mgt"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/
type: codeunit
id: 799
name: "VAT Reporting Date Mgt"
app: "Base Application"
namespace: Microsoft.Finance.VAT.Calculation
versions: "21-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 799 VAT Reporting Date Mgt

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Finance.VAT.Calculation |
| Versions | 21-28 |
| Source file | Finance/VAT/Calculation/VATReportingDateMgt.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| UpdateLinkedEntries | (Record VAT Entry) | - | public | 21-28 | - | - |
| IsVATDateModifiable | () | Boolean | public | 21-28 | - | - |
| IsVATDateUsageSetToPostingDate | () | Boolean | public | 21-28 | - | - |
| IsVATDateUsageSetToDocumentDate | () | Boolean | public | 21-28 | - | - |
| IsVATDateEnabled | () | Boolean | public | 21-28 | - | - |
| IsValidVATDate | (Record VAT Entry) | Boolean | public | 21-28 | - | - |
| IsValidDate | (Date) | Boolean | public | 21-28 | - | - |
| IsValidDate | (Date, Boolean) | Boolean | internal | 21-22 | - | - |
| IsValidDate | (Variant, Integer) | Boolean | internal | 23-28 | - | - |
| IsValidDate | (Variant, Integer, Boolean) | Boolean | public | 23-28 | - | - |
| CheckDateAllowed | (Date, Integer) | - | public | 23-28 | - | - |
| CheckDateAllowed | (Date, Integer, Boolean) | - | internal | 23-28 | - | - |
| CheckDateAllowed | (Date, Integer, Boolean, Boolean) | - | internal | 23-28 | - | - |
| CheckVATDateValidInVATReturnPeriod | (Date, Integer, Boolean) | - | internal | 23-28 | - | - |
| ResetVATReturnPeriodWarning | () | - | public | 28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeIsVATDateModifiable | (var Boolean, var Boolean) | 21-28 | - | - |
| Integration event | OnBeforeIsVATDateEnabled | (var Boolean, var Boolean) | 21-25 | Pending 23.0 | Replaced by OnBeforeIsVATDateEnabledForUse with correct parameter name |
| Integration event | OnBeforeIsVATDateEnabledForUse | (var Boolean, var Boolean) | 22-28 | - | - |
| Integration event | OnAfterUpdateLinkedEntries | (Record VAT Entry) | 22-28 | - | - |
| Integration event | OnBeforeUpdateLinkedEntries | (Record VAT Entry, var Boolean) | 23-28 | - | - |
| Integration event | OnUpdatePostedDocumentsOnAfterUpdateSalesInvoice | (Record VAT Entry, var Boolean) | 25-28 | - | - |
| Integration event | OnUpdatePostedDocumentsOnAfterUpdateSalesCreditMemo | (Record VAT Entry, var Boolean) | 25-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
