---
title: "Codeunit 10150 O365 Tax Settings Management"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/10150-o365-tax-settings-management/
type: codeunit
id: 10150
name: "O365 Tax Settings Management"
app: "Base Application"
namespace: Microsoft.Finance.SalesTax
versions: "17-29"
build: 29.0.54011.55644
countries: "US"
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 10150 O365 Tax Settings Management

JOP-AL, https://jonas-paprotka.de/ref/codeunit/10150-o365-tax-settings-management/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Finance.SalesTax |
| Versions | 17-29 |
| Minors | US 17.0-29.0, [every minor](https://jonas-paprotka.de/ref/codeunit/10150-o365-tax-settings-management/editions.json) |
| Source file | Local/Finance/SalesTax/O365TaxSettingsManagement.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| IsDefaultTaxAreaAPI | (TaxAreaCode: Code[20]) | Boolean | public | 17-29 | - | - |
| UpdateSalesTaxSetupWizard | (TempSalesTaxSetupWizard: Record "Sales Tax Setup Wizard" temporary) | - | public | 17-29 | - | - |
| InitializeTaxSetupFromTaxAreaLinesForUS | (var TempSalesTaxSetupWizard: Record "Sales Tax Setup Wizard" temporary) | - | public | 17-29 | - | - |
| GetProvince | (JurisdictionCode: Code[10]) | Text[50] | public | 17-23 | Pending 21.0 | Replaced with GetProvinceFullLength. |
| GetTaxRate | (JurisdictionCode: Code[10]) | Decimal | public | 17-29 | - | - |
| GetDefaultTaxDetail | (var TaxDetail: Record "Tax Detail"; JurisdictionCode: Code[10]) | Boolean | public | 17-29 | - | - |
| GetDefaultTaxArea | () | Code[20] | public | 17-29 | - | - |
| GenerateTaxAreaDescription | (TotalRate: Decimal; City: Text; State: Code[10]) | Text[100] | public | 17-29 | - | - |
| UpdateTaxAreaDescriptionsWithSameStateOrCity | (SalesTaxSetupWizard: Record "Sales Tax Setup Wizard") | - | public | 17-29 | - | - |
| CountTaxAreaLinesWithJurisdictionCode | (JurisdictionCode: Code[10]) | Integer | public | 17-29 | - | - |
| HasBeenModifiedUS | (SalesTaxSetupWizard: Record "Sales Tax Setup Wizard") | Boolean | public | 17-29 | - | - |
| OtherTaxAreasWithSameStateOrCityExist | (SalesTaxSetupWizard: Record "Sales Tax Setup Wizard") | Boolean | public | 17-29 | - | - |
| StoreTaxSettingsForUS | (var TempSalesTaxSetupWizard: Record "Sales Tax Setup Wizard" temporary; TaxRateDescription: Text[100]) | Boolean | public | 17-29 | - | - |
| UpdateTaxAreaNameUS | (var SalesTaxSetupWizard: Record "Sales Tax Setup Wizard") | - | public | 17-29 | - | - |
| AssignDefaultTaxArea | (NewTaxAreaCode: Code[20]) | - | public | 17-29 | - | - |
| GetTotalTaxRate | (TaxAreaCode: Code[20]) | Decimal | public | 17-29 | - | - |
| IsTaxSet | (TaxAreaCode: Code[20]) | Boolean | public | 17-29 | - | - |
| CheckCustomerTemplateTaxIntegrity | () | - | public | 17-29 | - | - |
| DeleteTaxArea | (var TaxArea: Record "Tax Area") | Boolean | public | 17-29 | - | - |
| GetProvinceFullLength | (JurisdictionCode: Code[10]) | Text[100] | public | 20-29 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeSanitizeCustomerTemplateTax | (ConfigTemplateLine: Record "Config. Template Line") | 17-29 | - | - |

## Source

Symbols: Microsoft.BaseApplication.US.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.

JOP-AL, 2026-11-20.
