---
id: object/table/9
type: object
title: Table 9 "Country/Region"
summary: Table 9 "Country/Region" in Base Application (Microsoft.Foundation.Address). 11 fields, 8 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24, BC26, 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: 6ca8b54f47f5370c600cdd858320ce79f45945cc1e16e6d4525e20961f5fb0a1
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Foundation/Address/CountryRegion.Table.al
    title: src/Layers/W1/BaseApp/Foundation/Address/CountryRegion.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_countryregion_create
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_countryregion_delete
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_countryregion_get
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_countryregion_update
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_countryRegion
    - https://learn.microsoft.com/dynamics365/business-central/finance-setup-vat
    - https://learn.microsoft.com/dynamics365/business-central/sales-tax-concept
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/finance/manage-receivables
    - topic/business-central/business-functionality/finance/working-with-value-added-tax-vat/set-up-vat
    - topic/business-central/business-functionality/set-up-business-central/set-up-finance
  localizations:
    - localization/au
    - localization/be
    - localization/ca
    - localization/ch
    - localization/es
    - localization/fi
    - localization/fr
    - localization/it
    - localization/mx
    - localization/nl
    - localization/nz
    - localization/ru
    - localization/us
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 9
name: Country/Region
namespace: Microsoft.Foundation.Address
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "26"
  - "29"
source_major: "29"
obsolete: null
countries:
  - au
  - be
  - ca
  - ch
  - es
  - fi
  - fr
  - it
  - mx
  - nl
  - nz
  - ru
  - us
ms_search_form_ids: []
counts:
  fields: 11
  procedures: 10
  events: 1
  subscribers: 0
relations:
  out: 1
  referenced_by: 223
  pages: 3
  extended_by: 1
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Table 9 "Country/Region"

> Table 9 "Country/Region" in Base Application (Microsoft.Foundation.Address). 11 fields, 8 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24, BC26, BC29.

Base Application · Microsoft.Foundation.Address · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Foundation/Address/CountryRegion.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 30027 "APIV2 - Countries/Regions"](../page/30027.md) (5 Learn pages), [Page 10 "Countries/Regions"](../page/10.md) (2).

## Properties

| Property | Value |
|---|---|
| Caption | Country/Region |
| DataClassification | CustomerContent |

## 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 | Code | Code[10] | Specifies the country/region of the address. | NotBlank |
| 2 | Name | Text[50] | Specifies the country/region of the address. |  |
| 4 | ISO Code | Code[2] | Specifies a two-letter country code defined in ISO 3166-1. |  |
| 5 | ISO Numeric Code | Code[3] | Specifies a three-digit code number defined in ISO 3166-1. |  |
| 6 | EU Country/Region Code | Code[10] | Specifies the EU code for the country/region you are doing business with. |  |
| 7 | Intrastat Code | Code[10] | Specifies an INTRASTAT code for the country/region you are trading with. |  |
| 8 | Address Format | Enum "Country/Region Address Format" | Specifies the format of the address that is displayed on external-facing documents. You link an address format to a country/region code so that external-facing documents based on cards or documents with that country/region code use the specified address format. NOTE: If the County field is filled in... | enum [Enum 8 "Country/Region Address Format"](../enum/8.md) |
| 9 | Contact Address Format | Option | Specifies where you want the contact name to appear in mailing addresses. | OptionCaption: First,After Company Name,Last |
| 10 | VAT Scheme | Code[10] | Specifies the national body that issues the VAT registration number for the country/region in connection with electronic document sending. |  |
| 11 | Last Modified Date Time | DateTime | — | not editable |
| 12 | County Name | Text[30] | Specifies the name of the county. |  |

## Keys

- Key1: Code (clustered)
- Key2: EU Country/Region Code
- Key3: Intrastat Code
- Key4: Name

## Events published

- `OnBeforeInitAddressFormat(var CountryRegion: Record "Country/Region"; var IsHandled: Boolean)` (integration)

## Procedures

- `IsEUCountry(CountryRegionCode: Code[10]): Boolean`
- `TranslateName(LanguageCode: Code[10])`
- `GetTranslatedName(LanguageID: Integer): Text[50]`
- `GetTranslatedName(LanguageCode: Code[10]): Text[50]`
- `GetNameInCurrentLanguage(): Text[50]`
- `CreateAddressFormat(CountryCode: Code[10]; LinePosition: Integer; FieldID: Integer): Integer`
- `CreateAddressFormatLine(CountryCode: Code[10]; FieldPosition: Integer; FieldID: Integer; LineNo: Integer)`
- `InitAddressFormat()`

Plus 1 local procedures.

## Triggers

OnDelete, OnInsert, OnModify, OnRename

## Relations

- lookup page [Page 10 "Countries/Regions"](../page/10.md)

## Referenced by

223 fields in 127 objects relate to this table (TableRelation or CalcFormula).

- [Table 114 "Sales Cr.Memo Header"](../table/114.md): Bill-to Country/Region Code, Rcvd.-from Count./Region Code, Sell-to Country/Region Code, Ship-to Country/Region Code, VAT Country/Region Code
- [Table 36 "Sales Header"](../table/36.md): Bill-to Country/Region Code, Rcvd.-from Count./Region Code, Sell-to Country/Region Code, Ship-to Country/Region Code, VAT Country/Region Code
- [Table 5107 "Sales Header Archive"](../table/5107.md): Bill-to Country/Region Code, Rcvd.-from Count./Region Code, Sell-to Country/Region Code, Ship-to Country/Region Code, VAT Country/Region Code
- [Table 6660 "Return Receipt Header"](../table/6660.md): Bill-to Country/Region Code, Rcvd.-from Count./Region Code, Sell-to Country/Region Code, Ship-to Country/Region Code, VAT Country/Region Code
- [Table 110 "Sales Shipment Header"](../table/110.md): Bill-to Country/Region Code, Sell-to Country/Region Code, Ship-to Country/Region Code, VAT Country/Region Code
- [Table 112 "Sales Invoice Header"](../table/112.md): Bill-to Country/Region Code, Sell-to Country/Region Code, Ship-to Country/Region Code, VAT Country/Region Code
- [Table 120 "Purch. Rcpt. Header"](../table/120.md): Buy-from Country/Region Code, Pay-to Country/Region Code, Ship-to Country/Region Code, VAT Country/Region Code
- [Table 122 "Purch. Inv. Header"](../table/122.md): Buy-from Country/Region Code, Pay-to Country/Region Code, Ship-to Country/Region Code, VAT Country/Region Code
- [Table 124 "Purch. Cr. Memo Hdr."](../table/124.md): Buy-from Country/Region Code, Pay-to Country/Region Code, Ship-to Country/Region Code, VAT Country/Region Code
- [Table 38 "Purchase Header"](../table/38.md): Buy-from Country/Region Code, Pay-to Country/Region Code, Ship-to Country/Region Code, VAT Country/Region Code
- [Table 5109 "Purchase Header Archive"](../table/5109.md): Buy-from Country/Region Code, Pay-to Country/Region Code, Ship-to Country/Region Code, VAT Country/Region Code
- [Table 5900 "Service Header"](../table/5900.md): Bill-to Country/Region Code, Country/Region Code, Ship-to Country/Region Code, VAT Country/Region Code
- [Table 5990 "Service Shipment Header"](../table/5990.md): Bill-to Country/Region Code, Country/Region Code, Ship-to Country/Region Code, VAT Country/Region Code
- [Table 5992 "Service Invoice Header"](../table/5992.md): Bill-to Country/Region Code, Country/Region Code, Ship-to Country/Region Code, VAT Country/Region Code
- [Table 5994 "Service Cr.Memo Header"](../table/5994.md): Bill-to Country/Region Code, Country/Region Code, Ship-to Country/Region Code, VAT Country/Region Code
- [Table 6010 "Service Header Archive"](../table/6010.md): Bill-to Country/Region Code, Country/Region Code, Ship-to Country/Region Code, VAT Country/Region Code
- [Table 6650 "Return Shipment Header"](../table/6650.md): Buy-from Country/Region Code, Pay-to Country/Region Code, Ship-to Country/Region Code, VAT Country/Region Code
- [Table 1001 "Job Task"](../table/1001.md): Bill-to Country/Region Code, Sell-to Country/Region Code, Ship-to Country/Region Code
- [Table 167 "Job"](../table/167.md): Bill-to Country/Region Code, Sell-to Country/Region Code, Ship-to Country/Region Code
- [Table 4812 "Intrastat Report Line"](../table/4812.md): Country/Region Code, Country/Region of Origin Code, Country/Region of Payment Code
- [Table 5135 "Job Archive"](../table/5135.md): Bill-to Country/Region Code, Sell-to Country/Region Code, Ship-to Country/Region Code
- [Table 5136 "Job Task Archive"](../table/5136.md): Bill-to Country/Region Code, Sell-to Country/Region Code, Ship-to Country/Region Code
- [Table 5475 "Sales Invoice Entity Aggregate"](../table/5475.md): Bill-to Country/Region Code, Sell-to Country/Region Code, Ship-to Country/Region Code
- [Table 5477 "Purch. Inv. Entity Aggregate"](../table/5477.md): Buy-from Country/Region Code, Pay-to Country/Region Code, Ship-to Country/Region Code
- [Table 5495 "Sales Order Entity Buffer"](../table/5495.md): Bill-to Country/Region Code, Sell-to Country/Region Code, Ship-to Country/Region Code
- [Table 5496 "Purchase Order Entity Buffer"](../table/5496.md): Buy-from Country/Region Code, Pay-to Country/Region Code, Ship-to Country/Region Code
- [Table 5505 "Sales Quote Entity Buffer"](../table/5505.md): Bill-to Country/Region Code, Sell-to Country/Region Code, Ship-to Country/Region Code
- [Table 5970 "Filed Service Contract Header"](../table/5970.md): Bill-to Country/Region Code, Country/Region Code, Ship-to Country/Region Code
- [Table 8052 "Customer Subscription Contract"](../table/8052.md): Bill-to Country/Region Code, Sell-to Country/Region Code, Ship-to Country/Region Code
- [Table 8057 "Subscription Header"](../table/8057.md): Bill-to Country/Region Code, End-User Country/Region Code, Ship-to Country/Region Code
- [Table 1226 "Payment Export Data"](../table/1226.md): Recipient Bank Country/Region, Sender Bank Country/Region
- [Table 1382 "Item Templ."](../table/1382.md): Country/Region of Origin Code, Country/Region Purchased Code
- [Table 263 "Intrastat Jnl. Line"](../table/263.md): Country/Region Code, Country/Region of Origin Code
- [Table 27 "Item"](../table/27.md): Country/Region of Origin Code, Country/Region Purchased Code
- [Table 5507 "Sales Cr. Memo Entity Buffer"](../table/5507.md): Bill-to Country/Region Code, Sell-to Country/Region Code
- [Table 5508 "Purch. Cr. Memo Entity Buffer"](../table/5508.md): Buy-from Country/Region Code, Pay-to Country/Region Code
- [Table 5740 "Transfer Header"](../table/5740.md): Trsf.-from Country/Region Code, Trsf.-to Country/Region Code
- [Table 5744 "Transfer Shipment Header"](../table/5744.md): Trsf.-from Country/Region Code, Trsf.-to Country/Region Code
- [Table 5746 "Transfer Receipt Header"](../table/5746.md): Trsf.-from Country/Region Code, Trsf.-to Country/Region Code
- [Table 5856 "Direct Trans. Header"](../table/5856.md): Trsf.-from Country/Region Code, Trsf.-to Country/Region Code
- [Table 6219 "Sustainability Goal"](../table/6219.md): Country/Region Code, Country/Region Code Filter
- [Table 6291 "Emission Source Setup"](../table/6291.md): Country Name, Country/Region Code
- [Table 79 "Company Information"](../table/79.md): Country/Region Code, Ship-to Country/Region Code
- [Table 8063 "Vendor Subscription Contract"](../table/8063.md): Buy-from Country/Region Code, Pay-to Country/Region Code
- [Table extension 6908 "Expense Spend Request"](../tableextension/6908.md): Dest. Country/Region Code, Origin Country/Region Code
- [Table 1003 "Job Planning Line"](../table/1003.md): Country/Region Code
- [Table 11 "Country/Region Translation"](../table/11.md): Country/Region Code
- [Table 1381 "Customer Templ."](../table/1381.md): Country/Region Code
- [Table 1383 "Vendor Templ."](../table/1383.md): Country/Region Code
- [Table 1384 "Employee Templ."](../table/1384.md): Country/Region Code
- and 77 more objects (77 fields): data/code/relations/29.json

## Pages and codeunits on this table

- [Page 10 "Countries/Regions"](../page/10.md) (source table)
- [Page 20027 "APIV1 - Countries/Regions"](../page/20027.md) (source table)
- [Page 30027 "APIV2 - Countries/Regions"](../page/30027.md) (source table)

## Extended by

- [Table extension 4825 "Intrastat Report Country "](../tableextension/4825.md)

## 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 43 "Language"](../codeunit/43.md) (2 calls: `GetNameInCurrentLanguage → GetUserLanguageCode`, `GetTranslatedName → GetLanguageCode`)

## Across versions

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

## Countries that replace it

[AU](../../localizations/au.md), [BE](../../localizations/be.md), [CA](../../localizations/ca.md), [CH](../../localizations/ch.md), [ES](../../localizations/es.md), [FI](../../localizations/fi.md), [FR](../../localizations/fr.md), [IT](../../localizations/it.md), [MX](../../localizations/mx.md), [NL](../../localizations/nl.md), [NZ](../../localizations/nz.md), [RU](../../localizations/ru.md), [US](../../localizations/us.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: "Country/Region")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
