---
id: object/codeunit/20368
type: object
title: Codeunit 20368 "Tax Type Archival Mgmt."
summary: Codeunit 20368 "Tax Type Archival Mgmt." in INTaxEngine (Microsoft.Finance.TaxEngine.JsonExchange). 3 public procedures, 5 event subscribers. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - intaxengine
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: 9ffdc7f55effe36f832e729032dd8848bdb447baecc7b2b3543f6d9b53ecf56a
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/INTaxEngine/app/TaxEngine-JsonExchange/src/Archival/TaxTypeArchivalMgmt.Codeunit.al
    title: src/Apps/W1/INTaxEngine/app/TaxEngine-JsonExchange/src/Archival/TaxTypeArchivalMgmt.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 20368
name: Tax Type Archival Mgmt.
namespace: Microsoft.Finance.TaxEngine.JsonExchange
app: INTaxEngine
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 19
  events: 0
  subscribers: 5
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 6
  called_by: 0
  implements: 0
---

# Codeunit 20368 "Tax Type Archival Mgmt."

> Codeunit 20368 "Tax Type Archival Mgmt." in INTaxEngine (Microsoft.Finance.TaxEngine.JsonExchange). 3 public procedures, 5 event subscribers. Introduced in BC29, still in BC30.

INTaxEngine · Microsoft.Finance.TaxEngine.JsonExchange · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/INTaxEngine/app/TaxEngine-JsonExchange/src/Archival/TaxTypeArchivalMgmt.Codeunit.al) · facts from BC29

## Event subscriptions

- OnAfterExportModified subscribes to Page "Tax Engine Setup Wizard" OnAfterActionEvent (ExportModified)
- OnAfterValidateEnableEvent subscribes to Table "Tax Type" OnBeforeValidateEvent (Status)
- OnAfterActionArchivedLogsFromTaxTypeCard subscribes to Page "Tax Type" OnAfterActionEvent (ArchivedLogs)
- OnAfterActionArchivedLogsFromTaxTypeList subscribes to Page "Tax Types" OnAfterActionEvent (ArchivedLogs)
- OnAfterExportTaxTypes subscribes to Page "Tax Type" OnAfterExportTaxTypes

## Procedures

- `ShowConfigurationFile(TaxTypeArchivalLogEntry: Record "Tax Type Archival Log Entry")`
- `RestoreArchivalToUse(TaxTypeArchivalLogEntry: Record "Tax Type Archival Log Entry")`
- `SetIfChangedByMicrosoft(NewChangedByMicrosoft: Boolean)`

Plus 11 local procedures.

## 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 20361 "Tax Json Deserialization"](../codeunit/20361.md) (2 calls: `RestoreTaxType → HideDialog`, `RestoreTaxType → ImportTaxTypes`)
- [Codeunit 20365 "Use Case Archival Mgmt."](../codeunit/20365.md) (2 calls: `ExportModifiedTaxTypes → ExportTaxTypes`, `OnAfterExportTaxTypes → ExportTaxTypes`)
- [Page 20361 "Tax Type Archival Log Entries"](../page/20361.md) (2 calls: `OnAfterActionArchivedLogsFromTaxTypeCard → (object)`, `OnAfterActionArchivedLogsFromTaxTypeList → (object)`)
- [Codeunit 10 "Type Helper"](../codeunit/10.md) (1 call: `RestoreArchivalToUse → ReadAsTextWithSeparator`)
- [Codeunit 20362 "Tax Json Serialization"](../codeunit/20362.md) (1 call: `GetTaxTypeJsonText → ExportTaxTypes`)
- [Page 20249 "Tax Type"](../page/20249.md) (1 call: `RestoreTaxType → (object)`)

## 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). 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: "codeunit", object_name: "Tax Type Archival Mgmt.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
