---
id: object/codeunit/20361
type: object
title: Codeunit 20361 "Tax Json Deserialization"
summary: Codeunit 20361 "Tax Json Deserialization" in INTaxEngine (Microsoft.Finance.TaxEngine.JsonExchange). 11 public procedures, 1 events. 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: 4eefa09f772575b5366dd61023bcefc173d687aa4bb7afa624ba116aff03b569
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/INTaxEngine/app/TaxEngine-JsonExchange/src/ExportImport/TaxJsonDeserialization.Codeunit.al
    title: src/Apps/W1/INTaxEngine/app/TaxEngine-JsonExchange/src/ExportImport/TaxJsonDeserialization.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: 20361
name: Tax Json Deserialization
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: 132
  events: 1
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 10
  called_by: 4
  implements: 0
---

# Codeunit 20361 "Tax Json Deserialization"

> Codeunit 20361 "Tax Json Deserialization" in INTaxEngine (Microsoft.Finance.TaxEngine.JsonExchange). 11 public procedures, 1 events. 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/ExportImport/TaxJsonDeserialization.Codeunit.al) · facts from BC29

## Events published

- `OnBeforeReadUseCase(JObject: JsonObject; var IsHandled: Boolean)` (integration)

## Procedures

- `SetCanImportUseCases(NewCanImportUseCases: Boolean)`
- `SetGlobalCaseID(NewGlobalCaseId: Guid)`
- `GetCreatedCaseID(): Guid`
- `HideDialog(NewHideDialog: Boolean)`
- `SkipVersionCheck(SkipVersionCheck: Boolean)`
- `SkipUseCaseIndentation(SkipIndentation: Boolean)`
- `ImportTaxTypes(JsonText: Text)`
- `ImportUseCases(JsonText: Text)`
- `InitTaxTypeProgressWindow()`
- `InitUseCaseProgressWindow()`
- `ExtractJTokenValue(JsonToken: JsonToken; TaxType: Text): Text`

Plus 120 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 20130 "App Object Helper"](../codeunit/20130.md) (17 calls: `ReadEntityAttributeMapping → GetFieldID`, `ReadEntityAttributeMapping → GetFieldName`, `ReadEntityAttributeMapping → GetObjectID`, …)
- [Codeunit 20132 "Script Data Type Mgmt."](../codeunit/20132.md) (17 calls: `ReadComponentFormulaExprToken → GetFieldOptionIndex`, `ReadConditionItemAttributes → GetFieldOptionIndex`, `ReadConvertCase → GetFieldOptionIndex`, …)
- [Codeunit 20360 "Json Entity Mgmt."](../codeunit/20360.md) (14 calls: `ReadAction → CreateContainerItem`, `ReadIfStatement → AddAndGetElseIfStatement`, `ReadIfStatement → CreateCondition`, …)
- [Codeunit 20292 "Use Case Entity Mgmt."](../codeunit/20292.md) (3 calls: `ReadAttributeMapping → CreateUseCaseAttributeMapping`, `ReadComponentCalculation → CreateComponentCalculation`, `ReadComponentCalculation → CreateComponentExpression`)
- [Codeunit 20367 "Tax Json Single Instance"](../codeunit/20367.md) (2 calls: `ReadTaxType → UpdateReplacedTaxType`, `ReadUseCase → UpdateReplacedUseCase`)
- [Codeunit 10 "Type Helper"](../codeunit/10.md) (1 call: `ConstantOrLookupText → GetOptionNo`)
- [Codeunit 20232 "Tax Type Object Helper"](../codeunit/20232.md) (1 call: `ReadTaxTypeComponent → CreateComponentFormula`)
- [Codeunit 20284 "Switch Statement Helper"](../codeunit/20284.md) (1 call: `ReadAttributeMapping → CreateSwitchStatement`)
- [Codeunit 20294 "Use Case Mgmt."](../codeunit/20294.md) (1 call: `ImportUseCases → IndentUseCases`)
- [Codeunit 20346 "Tax Posting Helper"](../codeunit/20346.md) (1 call: `ReadSwitchCase → CreateInsertRecord`)

## Called by

- [Codeunit 20366 "Tax Engine Assisted Setup"](../codeunit/20366.md) (13 calls: `ImportTaxTypeFromLibrary → HideDialog`, `ImportTaxTypeFromLibrary → ImportTaxTypes`, `OnImportUseCaseOnDemand → HideDialog`, …)
- [Codeunit 20365 "Use Case Archival Mgmt."](../codeunit/20365.md) (8 calls: `CopyUseCase → GetCreatedCaseID`, `CopyUseCase → ImportUseCases`, `ImportTaxTypes → ImportTaxTypes`, …)
- [Codeunit 20137 "Tax Engine Resource Helper"](../codeunit/20137.md) (5 calls: `GetTaxType → ExtractJTokenValue`, `GetUseCase → ExtractJTokenValue`, `ImportUseCases → ImportUseCases`, …)
- [Codeunit 20368 "Tax Type Archival Mgmt."](../codeunit/20368.md) (2 calls: `RestoreTaxType → HideDialog`, `RestoreTaxType → ImportTaxTypes`)

## 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 Json Deserialization")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
