---
id: object/codeunit/5473
type: object
title: Codeunit 5473 "Create VAT Posting Groups"
summary: Codeunit 5473 "Create VAT Posting Groups" in ContosoCoffeeDemoDataset (Microsoft.DemoData.Finance). 12 public procedures. Present since at least BC23, still in BC30, changed in BC29.
tier: official
language: en
tags:
  - codeunit
  - contosocoffeedemodataset
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: 29fc8c86362598df068b06c81e0fae36556345f0f029353552f01ffa49be4f81
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup%20data/CreateVATPostingGroups.Codeunit.al
    title: src/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup data/CreateVATPostingGroups.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: 5473
name: Create VAT Posting Groups
namespace: Microsoft.DemoData.Finance
app: ContosoCoffeeDemoDataset
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "29"
  - "30"
changed_in:
  - "29"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 16
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 3
  called_by: 9
  implements: 0
---

# Codeunit 5473 "Create VAT Posting Groups"

> Codeunit 5473 "Create VAT Posting Groups" in ContosoCoffeeDemoDataset (Microsoft.DemoData.Finance). 12 public procedures. Present since at least BC23, still in BC30, changed in BC29.

ContosoCoffeeDemoDataset · Microsoft.DemoData.Finance · BC23, BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup%20data/CreateVATPostingGroups.Codeunit.al) · facts from BC29

## Procedures

- `UpdateVATPostingSetup()`
- `Domestic(): Code[20]`
- `EU(): Code[20]`
- `Export(): Code[20]`
- `Zero(): Code[20]` (obsolete 27.0: Zero() is now replaced with NoVAT() instead)
- `NoVAT(): Code[20]`
- `Standard(): Code[20]`
- `Reduced(): Code[20]`
- `ServRed(): Code[20]`
- `ServNormal(): Code[20]`
- `FullRed(): Code[20]`
- `FullNormal(): Code[20]`

Plus 4 local procedures.

## Triggers

OnRun

## 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 5208 "Create G/L Account"](../codeunit/5208.md) (6 calls: `UpdateVATPostingSetup → PurchaseVAT10`, `UpdateVATPostingSetup → PurchaseVAT10EU`, `UpdateVATPostingSetup → PurchaseVAT25`, …)
- [Codeunit 5136 "Contoso Posting Setup"](../codeunit/5136.md) (4 calls: `InsertVATClause → InsertVATClause`, `InsertVATPostingSetupWithoutGLAccounts → InsertVATPostingSetup`, `UpdateVATPostingSetup → InsertVATPostingSetup`, …)
- [Codeunit 5132 "Contoso Posting Group"](../codeunit/5132.md) (2 calls: `InsertVATBusinessPostingGroups → InsertVATBusinessPostingGroup`, `InsertVATProductPostingGroup → InsertVATProductPostingGroup`)

## Called by

- [Codeunit 5629 "Create VAT Setup Posting Grp."](../codeunit/5629.md) (7 calls: `CreateVATAssistedSetupGrp → Domestic`, `CreateVATAssistedSetupGrp → EU`, `CreateVATAssistedSetupGrp → Export`, …)
- [Codeunit 5630 "Create VAT Statement"](../codeunit/5630.md) (5 calls: `CreateVATStatementLine → Domestic`, `CreateVATStatementLine → EU`, `CreateVATStatementLine → Export`, …)
- [Codeunit 5208 "Create G/L Account"](../codeunit/5208.md) (3 calls: `OnRun → Domestic`, `OnRun → EU`, `OnRun → Export`)
- [Codeunit 5209 "Create Customer"](../codeunit/5209.md) (3 calls: `OnRun → Domestic`, `OnRun → EU`, `OnRun → Export`)
- [Codeunit 5539 "Create Vendor"](../codeunit/5539.md) (3 calls: `OnRun → Domestic`, `OnRun → EU`, `OnRun → Export`)
- [Codeunit 5319 "Create Vendor Template"](../codeunit/5319.md) (2 calls: `OnRun → Domestic`, `OnRun → EU`)
- [Codeunit 5415 "Finance Module"](../codeunit/5415.md) (2 calls: `CreateSetupData → (object)`, `CreateSetupData → UpdateVATPostingSetup`)
- [Codeunit 5256 "Create Sust. Vendor"](../codeunit/5256.md) (1 call: `OnRun → Domestic`)
- [Codeunit 5271 "Create Sales Receivable Setup"](../codeunit/5271.md) (1 call: `OnRun → Domestic`)

## Across versions

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

## Deprecations

- procedure Zero: Pending 27.0 (#if not CLEAN27), "Zero() is now replaced with NoVAT() instead"

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: "Create VAT Posting Groups")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
