---
id: object/table/747
type: object
title: Table 747 "VAT Report Archive"
summary: Table 747 "VAT Report Archive" in Base Application (Microsoft.Finance.VAT.Reporting). 7 fields, 6 public procedures, 3 events. Present since at least BC23, still in BC30, changed in BC24, BC27, BC29.
tier: official
language: en
tags:
  - table
  - 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: 6251b7fdaebedc0f3dc49884ea119ef9d8b1e866ff02c50226b0a613e6f1f06b
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Finance/VAT/Reporting/VATReportArchive.Table.al
    title: src/Layers/W1/BaseApp/Finance/VAT/Reporting/VATReportArchive.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/finance-how-report-vat
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/finance/closing-years-and-periods
    - topic/business-central/business-functionality/finance/working-with-value-added-tax-vat
  localizations:
    - localization/gb
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 747
name: VAT Report Archive
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"
  - "27"
  - "29"
source_major: "29"
obsolete: null
countries:
  - gb
ms_search_form_ids: []
counts:
  fields: 7
  procedures: 10
  events: 3
  subscribers: 0
relations:
  out: 1
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 2
  called_by: 0
  implements: 0
---

# Table 747 "VAT Report Archive"

> Table 747 "VAT Report Archive" in Base Application (Microsoft.Finance.VAT.Reporting). 7 fields, 6 public procedures, 3 events. Present since at least BC23, still in BC30, changed in BC24, BC27, 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/VATReportArchive.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 739 "VAT Report Log"](../page/739.md) (1 Learn page).

## Properties

| Property | Value |
|---|---|
| Caption | VAT Report Archive |
| DataClassification | CustomerContent |
| Permissions | TableData "VAT Report Archive" = rimd |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | VAT Report Type | Enum "VAT Report Configuration" | Specifies if you want to create a new VAT report, or if you want to change a previously submitted report. | enum [Enum 740 "VAT Report Configuration"](../enum/740.md) |
| 2 | VAT Report No. | Code[20] | Specifies the number of the VAT Report. | TableRelation [Table 740 "VAT Report Header"](../table/740.md) ("VAT Report Header"."No.") |
| 4 | Submitted By | Code[50] | Specifies the name of the person who submitted the VAT Report. | TableRelation User."User Name"; DataClassification EndUserIdentifiableInformation |
| 5 | Submission Message BLOB | BLOB | — |  |
| 6 | Submittion Date | Date | Specifies the date that the VAT Report was submitted. |  |
| 7 | Response Message BLOB | BLOB | — |  |
| 8 | Response Received Date | DateTime | Specifies the date when the response was received. |  |

## Keys

- Key1: VAT Report Type, VAT Report No. (clustered)

## Events published

- `OnAfterInitVATReportArchive(var VATReportArchive: Record "VAT Report Archive"; var Rec: Record "VAT Report Archive")` (integration)
- `OnAfterNoSubmissionMessageAvailableError(var VATReportArchive: Record "VAT Report Archive"; var Rec: Record "VAT Report Archive"; VATReportTypeValue: Option; VATReportNoValue: Code[20])` (integration)
- `OnAfterNoResponseMessageAvailableError(var VATReportArchive: Record "VAT Report Archive"; var Rec: Record "VAT Report Archive"; VATReportTypeValue: Option; VATReportNoValue: Code[20])` (integration)

## Procedures

- `ArchiveSubmissionMessage(VATReportTypeValue: Option; VATReportNoValue: Code[20]; TempBlobSubmissionMessage: Codeunit "Temp Blob"): Boolean`: Archives the submission message for a VAT report with compression and user tracking. Creates new archive record with submission details and compressed message data.
- `ArchiveResponseMessage(VATReportTypeValue: Option; VATReportNoValue: Code[20]; TempBlobResponseMessage: Codeunit "Temp Blob"): Boolean`: Archives the response message received from tax authorities for an existing VAT report submission. Updates existing archive record with response data and timestamp.
- `DownloadSubmissionMessage(VATReportTypeValue: Option; VATReportNoValue: Code[20])`: Downloads the archived submission message as a compressed ZIP file. Includes document attachments if available, otherwise downloads BLOB data.
- `DownloadResponseMessage(VATReportTypeValue: Option; VATReportNoValue: Code[20])`: Downloads the archived response message as a compressed ZIP file. Includes document attachments if available, otherwise downloads BLOB data.
- `SetSubmissionMessageBLOBFromBlob(TempBlob: Codeunit "Temp Blob")`: Sets the submission message BLOB field from a Temp Blob codeunit. Transfers BLOB data using RecordRef for field manipulation.
- `SetResponseMessageBLOBFromBlob(TempBlob: Codeunit "Temp Blob")`: Sets the response message BLOB field from a Temp Blob codeunit. Transfers BLOB data using RecordRef for field manipulation.

Plus 1 local procedures.

## Relations

- VAT Report No.: TableRelation [Table 740 "VAT Report Header"](../table/740.md)

## Pages and codeunits on this table

- [Page 739 "VAT Report Log"](../page/739.md) (source table)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 4100 "Temp Blob"](../codeunit/4100.md) (8 calls: `ArchiveResponseMessage → HasValue`, `ArchiveSubmissionMessage → HasValue`, `DownloadResponseMessage → FromRecord`, …)
- [Codeunit 425 "Data Compression"](../codeunit/425.md) (4 calls: `DownloadZipFile → AddEntry`, `DownloadZipFile → CloseZipArchive`, `DownloadZipFile → CreateZipArchive`, …)

## Across versions

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

## Countries that replace it

[GB](../../localizations/gb.md)

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). The call sections above are our own, per object, from the BC29 call graph. 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: "table", object_name: "VAT Report Archive")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
