Table "Tax Jurisdiction"
Stores tax jurisdiction definitions with account mappings and calculation rules. Represents governmental tax authorities (city, county, state) with specific tax configuration.
Properties
| Name | Value |
|---|---|
| Caption | Tax Jurisdiction |
| DataCaptionFields | 1,2 |
| LookupPageID | Page Microsoft.Finance.SalesTax."Tax Jurisdictions" |
| DataClassification | CustomerContent |
Fields
| Name | Type | Description |
|---|---|---|
| Code | Code[10] | Unique identifier for the tax jurisdiction. |
| Description | Text[100] | Descriptive name for the tax jurisdiction. |
| "Tax Account (Sales)" | Code[20] | G/L account for posting tax amounts on sales transactions. |
| "Tax Account (Purchases)" | Code[20] | G/L account for posting tax amounts on purchase transactions. |
| "Report-to Jurisdiction" | Code[10] | Parent jurisdiction for consolidated tax reporting. |
| "Date Filter" | Date | Date filter for tax calculation queries and reports. |
| "Tax Group Filter" | Code[20] | Tax group filter for jurisdiction-specific tax calculations. |
| "Unreal. Tax Acc. (Sales)" | Code[20] | G/L account for unrealized tax amounts on sales transactions. |
| "Unreal. Tax Acc. (Purchases)" | Code[20] | G/L account for unrealized tax amounts on purchase transactions. |
| "Reverse Charge (Purchases)" | Code[20] | G/L account for reverse charge amounts on purchase transactions. |
| "Unreal. Rev. Charge (Purch.)" | Code[20] | G/L account for unrealized reverse charge amounts on purchase transactions. |
| "Unrealized VAT Type" | Option | Method for calculating unrealized VAT on partial payments. |
| "Calculate Tax on Tax" | Boolean | Indicates whether tax is calculated on previously calculated taxes (compound taxation). |
| "Adjust for Payment Discount" | Boolean | Controls whether tax amounts are adjusted for payment discounts. |
| Name | Text[30] | Short name for the tax jurisdiction used in reports and displays. |
| SystemId | Guid | |
| SystemCreatedAt | DateTime | |
| SystemCreatedBy | Guid | |
| SystemModifiedAt | DateTime | |
| SystemModifiedBy | Guid | |
| SystemCreatedByUserName | Text[50] | |
| SystemCreatedByFullName | Text[80] | |
| SystemModifiedByUserName | Text[50] | |
| SystemModifiedByFullName | Text[80] | |
| SystemRowVersion | BigInteger |
Methods
GetSalesAccount
Returns the appropriate sales tax G/L account based on realization status.
procedure GetSalesAccount(Unrealized: Boolean): Code[20]
Parameters
| Name | Type | Description |
|---|---|---|
| Unrealized | Boolean |
Whether to return the unrealized tax account |
Returns
| Type | Description |
|---|---|
| Code[20] |
G/L account code for sales tax posting |
GetPurchAccount
Returns the appropriate purchase tax G/L account based on realization status.
procedure GetPurchAccount(Unrealized: Boolean): Code[20]
Parameters
| Name | Type | Description |
|---|---|---|
| Unrealized | Boolean |
Whether to return the unrealized tax account |
Returns
| Type | Description |
|---|---|
| Code[20] |
G/L account code for purchase tax posting |
GetRevChargeAccount
Returns the appropriate reverse charge G/L account based on realization status.
procedure GetRevChargeAccount(Unrealized: Boolean): Code[20]
Parameters
| Name | Type | Description |
|---|---|---|
| Unrealized | Boolean |
Whether to return the unrealized reverse charge account |
Returns
| Type | Description |
|---|---|
| Code[20] |
G/L account code for reverse charge posting |
CreateTaxJurisdiction
Creates a new tax jurisdiction with the specified code and default account setup.
procedure CreateTaxJurisdiction(NewJurisdictionCode: Code[10])
Parameters
| Name | Type | Description |
|---|---|---|
| NewJurisdictionCode | Code[10] |
Code for the new tax jurisdiction |
GetDescriptionInCurrentLanguageFullLength
Returns the tax jurisdiction description in the user's current language. Falls back to the default description if no translation is available.
procedure GetDescriptionInCurrentLanguageFullLength(): Text[100]
Returns
| Type | Description |
|---|---|
| Text[100] |
Localized description text |
GetName
Returns the jurisdiction name, defaulting to the code if name is empty.
procedure GetName(): Text[30]
Returns
| Type | Description |
|---|---|
| Text[30] |
Jurisdiction name or code |