Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Store tax related information. Each tax code could contain multiple child tax codes, and in that case the tax rate will be determined by the total tax of all children.
Messages
The following table lists the messages for the Tax Code (msdyn_taxcode) table. Messages represent operations that can be performed on the table. They may also be events.
| Name Is Event? |
Web API Operation | SDK for .NET |
|---|---|---|
AssignEvent: True |
PATCH /msdyn_taxcodes(msdyn_taxcodeid)Update the ownerid property. |
AssignRequest |
AssociateEvent: True |
Associate records | Associate records |
BulkRetainEvent: True |
BulkRetain | Learn to use messages with the SDK for .NET |
CreateEvent: True |
POST /msdyn_taxcodesSee Create |
Create records |
CreateMultipleEvent: True |
CreateMultiple | CreateMultipleRequest |
DeleteEvent: True |
DELETE /msdyn_taxcodes(msdyn_taxcodeid)See Delete |
Delete records |
DisassociateEvent: True |
Disassociate records | Disassociate records |
GrantAccessEvent: True |
GrantAccess | GrantAccessRequest |
IsValidStateTransitionEvent: False |
IsValidStateTransition | IsValidStateTransitionRequest |
ModifyAccessEvent: True |
ModifyAccess | ModifyAccessRequest |
PurgeRetainedContentEvent: True |
PurgeRetainedContent | Learn to use messages with the SDK for .NET |
RestoreEvent: True |
Restore | Learn to use messages with the SDK for .NET |
RetainEvent: True |
Retain | Learn to use messages with the SDK for .NET |
RetrieveEvent: True |
GET /msdyn_taxcodes(msdyn_taxcodeid)See Retrieve |
Retrieve records |
RetrieveMultipleEvent: True |
GET /msdyn_taxcodesSee Query data |
Query data |
RetrievePrincipalAccessEvent: True |
RetrievePrincipalAccess | RetrievePrincipalAccessRequest |
RetrieveSharedPrincipalsAndAccessEvent: True |
RetrieveSharedPrincipalsAndAccess | RetrieveSharedPrincipalsAndAccessRequest |
RevokeAccessEvent: True |
RevokeAccess | RevokeAccessRequest |
RollbackRetainEvent: True |
RollbackRetain | Learn to use messages with the SDK for .NET |
SetStateEvent: True |
PATCH /msdyn_taxcodes(msdyn_taxcodeid)Update the statecode and statuscode properties. |
SetStateRequest |
UpdateEvent: True |
PATCH /msdyn_taxcodes(msdyn_taxcodeid)See Update |
Update records |
UpdateMultipleEvent: True |
UpdateMultiple | UpdateMultipleRequest |
UpsertEvent: False |
PATCH /msdyn_taxcodes(msdyn_taxcodeid)See Upsert a table row |
UpsertRequest |
UpsertMultipleEvent: False |
UpsertMultiple | UpsertMultipleRequest |
ValidateRetentionConfigEvent: True |
ValidateRetentionConfig | Learn to use messages with the SDK for .NET |
Properties
The following table lists selected properties for the Tax Code (msdyn_taxcode) table.
| Property | Value |
|---|---|
| DisplayName | Tax Code |
| DisplayCollectionName | Tax Codes |
| SchemaName | msdyn_taxcode |
| CollectionSchemaName | msdyn_taxcodes |
| EntitySetName | msdyn_taxcodes |
| LogicalName | msdyn_taxcode |
| LogicalCollectionName | msdyn_taxcodes |
| PrimaryIdAttribute | msdyn_taxcodeid |
| PrimaryNameAttribute | msdyn_name |
| TableType | Standard |
| OwnershipType | UserOwned |
Writable columns/attributes
These columns/attributes return true for either IsValidForCreate or IsValidForUpdate (usually both). Listed by SchemaName.
- ImportSequenceNumber
- msdyn_ActasTaxGroup
- msdyn_AgreementTaxable
- msdyn_name
- msdyn_ProductsTaxable
- msdyn_ServicesTaxable
- msdyn_taxcodeId
- msdyn_TaxRate
- OverriddenCreatedOn
- OwnerId
- OwnerIdType
- statecode
- statuscode
- TimeZoneRuleVersionNumber
- UTCConversionTimeZoneCode
ImportSequenceNumber
| Property | Value |
|---|---|
| Description | Shows the sequence number of the import that created this record. |
| DisplayName | Import Sequence Number |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | importsequencenumber |
| RequiredLevel | None |
| Type | Integer |
| MaxValue | 2147483647 |
| MinValue | -2147483648 |
msdyn_ActasTaxGroup
| Property | Value |
|---|---|
| Description | If set as a Tax Group the tax rate will be the total of all the Tax Code details combined |
| DisplayName | Act as Tax Group |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | msdyn_actastaxgroup |
| RequiredLevel | ApplicationRequired |
| Type | Boolean |
| GlobalChoiceName | msdyn_taxcode_msdyn_actastaxgroup |
| DefaultValue | False |
| True Label | Yes |
| False Label | No |
msdyn_AgreementTaxable
| Property | Value |
|---|---|
| Description | Select whether this tax code applies to service agreements. |
| DisplayName | Agreement Taxable |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | msdyn_agreementtaxable |
| RequiredLevel | ApplicationRequired |
| Type | Boolean |
| GlobalChoiceName | msdyn_taxcode_msdyn_agreementtaxable |
| DefaultValue | True |
| True Label | Yes |
| False Label | No |
msdyn_name
| Property | Value |
|---|---|
| Description | Type the sales tax code name. |
| DisplayName | Name |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | msdyn_name |
| RequiredLevel | ApplicationRequired |
| Type | String |
| Format | Text |
| FormatName | Text |
| ImeMode | Auto |
| IsLocalizable | False |
| MaxLength | 100 |
msdyn_ProductsTaxable
| Property | Value |
|---|---|
| Description | Select whether this tax code applies to products. |
| DisplayName | Products Taxable |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | msdyn_productstaxable |
| RequiredLevel | ApplicationRequired |
| Type | Boolean |
| GlobalChoiceName | msdyn_taxcode_msdyn_productstaxable |
| DefaultValue | True |
| True Label | Yes |
| False Label | No |
msdyn_ServicesTaxable
| Property | Value |
|---|---|
| Description | Select whether this tax code applies to services. |
| DisplayName | Services Taxable |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | msdyn_servicestaxable |
| RequiredLevel | ApplicationRequired |
| Type | Boolean |
| GlobalChoiceName | msdyn_taxcode_msdyn_servicestaxable |
| DefaultValue | True |
| True Label | Yes |
| False Label | No |
msdyn_taxcodeId
| Property | Value |
|---|---|
| Description | Shows the entity instances. |
| DisplayName | Tax Code |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | msdyn_taxcodeid |
| RequiredLevel | SystemRequired |
| Type | Uniqueidentifier |
msdyn_TaxRate
| Property | Value |
|---|---|
| Description | Enter the rate of this sales tax code. |
| DisplayName | Tax Rate % |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | msdyn_taxrate |
| RequiredLevel | None |
| Type | Double |
| ImeMode | Auto |
| MaxValue | 100 |
| MinValue | 0 |
| Precision | 5 |
OverriddenCreatedOn
| Property | Value |
|---|---|
| Description | Shows the date and time that the record was migrated. |
| DisplayName | Record Created On |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | overriddencreatedon |
| RequiredLevel | None |
| Type | DateTime |
| CanChangeDateTimeBehavior | False |
| DateTimeBehavior | UserLocal |
| Format | DateOnly |
| ImeMode | Inactive |
| SourceTypeMask | 0 |
OwnerId
| Property | Value |
|---|---|
| Description | Owner Id |
| DisplayName | Owner |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | ownerid |
| RequiredLevel | SystemRequired |
| Type | Owner |
| Targets | systemuser, team |
OwnerIdType
| Property | Value |
|---|---|
| Description | Owner Id Type |
| DisplayName | |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | owneridtype |
| RequiredLevel | SystemRequired |
| Type | EntityName |
statecode
| Property | Value |
|---|---|
| Description | Status of the Tax Code |
| DisplayName | Status |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | statecode |
| RequiredLevel | SystemRequired |
| Type | State |
| DefaultFormValue | |
| GlobalChoiceName | msdyn_taxcode_statecode |
statecode Choices/Options
| Value | Details |
|---|---|
| 0 | Label: Active DefaultStatus: 1 InvariantName: Active |
| 1 | Label: Inactive DefaultStatus: 2 InvariantName: Inactive |
statuscode
| Property | Value |
|---|---|
| Description | Reason for the status of the Tax Code |
| DisplayName | Status Reason |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | statuscode |
| RequiredLevel | None |
| Type | Status |
| DefaultFormValue | |
| GlobalChoiceName | msdyn_taxcode_statuscode |
statuscode Choices/Options
| Value | Details |
|---|---|
| 1 | Label: Active State:0 TransitionData: None |
| 2 | Label: Inactive State:1 TransitionData: None |
TimeZoneRuleVersionNumber
| Property | Value |
|---|---|
| Description | For internal use only. |
| DisplayName | Time Zone Rule Version Number |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | timezoneruleversionnumber |
| RequiredLevel | None |
| Type | Integer |
| MaxValue | 2147483647 |
| MinValue | -1 |
UTCConversionTimeZoneCode
| Property | Value |
|---|---|
| Description | Shows the time zone code that was in use when the record was created. |
| DisplayName | UTC Conversion Time Zone Code |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | utcconversiontimezonecode |
| RequiredLevel | None |
| Type | Integer |
| MaxValue | 2147483647 |
| MinValue | -1 |
Read-only columns/attributes
These columns/attributes return false for both IsValidForCreate and IsValidForUpdate. Listed by SchemaName.
- CreatedBy
- CreatedOn
- CreatedOnBehalfBy
- ModifiedBy
- ModifiedOn
- ModifiedOnBehalfBy
- OwnerIdName
- OwnerIdYomiName
- OwningBusinessUnit
- OwningTeam
- OwningUser
- VersionNumber
CreatedBy
| Property | Value |
|---|---|
| Description | Unique identifier of the user who created the record. |
| DisplayName | Created By |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | createdby |
| RequiredLevel | None |
| Type | Lookup |
| Targets | systemuser |
CreatedOn
| Property | Value |
|---|---|
| Description | Shows the date and time when the record was created. The date and time are displayed in the time zone selected in Microsoft Dynamics 365 options. |
| DisplayName | Created On |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | createdon |
| RequiredLevel | None |
| Type | DateTime |
| CanChangeDateTimeBehavior | False |
| DateTimeBehavior | UserLocal |
| Format | DateAndTime |
| ImeMode | Inactive |
| SourceTypeMask | 0 |
CreatedOnBehalfBy
| Property | Value |
|---|---|
| Description | Shows who created the record on behalf of another user. |
| DisplayName | Created By (Delegate) |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | createdonbehalfby |
| RequiredLevel | None |
| Type | Lookup |
| Targets | systemuser |
ModifiedBy
| Property | Value |
|---|---|
| Description | Unique identifier of the user who modified the record. |
| DisplayName | Modified By |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | modifiedby |
| RequiredLevel | None |
| Type | Lookup |
| Targets | systemuser |
ModifiedOn
| Property | Value |
|---|---|
| Description | Shows the date and time when the record was last updated. The date and time are displayed in the time zone selected in Microsoft Dynamics 365 options. |
| DisplayName | Modified On |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | modifiedon |
| RequiredLevel | None |
| Type | DateTime |
| CanChangeDateTimeBehavior | False |
| DateTimeBehavior | UserLocal |
| Format | DateAndTime |
| ImeMode | Inactive |
| SourceTypeMask | 0 |
ModifiedOnBehalfBy
| Property | Value |
|---|---|
| Description | Shows who last updated the record on behalf of another user. |
| DisplayName | Modified By (Delegate) |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | modifiedonbehalfby |
| RequiredLevel | None |
| Type | Lookup |
| Targets | systemuser |
OwnerIdName
| Property | Value |
|---|---|
| Description | Name of the owner |
| DisplayName | |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | owneridname |
| RequiredLevel | SystemRequired |
| Type | String |
| Format | Text |
| FormatName | Text |
| ImeMode | Auto |
| IsLocalizable | False |
| MaxLength | 100 |
OwnerIdYomiName
| Property | Value |
|---|---|
| Description | Yomi name of the owner |
| DisplayName | |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | owneridyominame |
| RequiredLevel | SystemRequired |
| Type | String |
| Format | Text |
| FormatName | Text |
| ImeMode | Auto |
| IsLocalizable | False |
| MaxLength | 100 |
OwningBusinessUnit
| Property | Value |
|---|---|
| Description | Unique identifier for the business unit that owns the record |
| DisplayName | Owning Business Unit |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | owningbusinessunit |
| RequiredLevel | None |
| Type | Lookup |
| Targets | businessunit |
OwningTeam
| Property | Value |
|---|---|
| Description | Unique identifier for the team that owns the record. |
| DisplayName | Owning Team |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | owningteam |
| RequiredLevel | None |
| Type | Lookup |
| Targets | team |
OwningUser
| Property | Value |
|---|---|
| Description | Unique identifier for the user that owns the record. |
| DisplayName | Owning User |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | owninguser |
| RequiredLevel | None |
| Type | Lookup |
| Targets | systemuser |
VersionNumber
| Property | Value |
|---|---|
| Description | Version Number |
| DisplayName | Version Number |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | versionnumber |
| RequiredLevel | None |
| Type | BigInt |
| MaxValue | 9223372036854775807 |
| MinValue | -9223372036854775808 |
One-to-Many relationships
These relationships are one-to-many. Listed by SchemaName.
- msdyn_msdyn_taxcode_account_SalesTaxCode
- msdyn_msdyn_taxcode_msdyn_actual_TaxCode
- msdyn_msdyn_taxcode_msdyn_agreement_SalesTaxCode
- msdyn_msdyn_taxcode_msdyn_purchaseorderbill_TaxCode
- msdyn_msdyn_taxcode_msdyn_rma_TaxCode
- msdyn_msdyn_taxcode_msdyn_rtv_TaxCode
- msdyn_msdyn_taxcode_msdyn_taxcodedetail_ParentTaxCode
- msdyn_msdyn_taxcode_msdyn_taxcodedetail_TaxCode
- msdyn_msdyn_taxcode_msdyn_workorder_TaxCode
msdyn_msdyn_taxcode_account_SalesTaxCode
Many-To-One Relationship: account msdyn_msdyn_taxcode_account_SalesTaxCode
| Property | Value |
|---|---|
| ReferencingEntity | account |
| ReferencingAttribute | msdyn_salestaxcode |
| ReferencedEntityNavigationPropertyName | msdyn_msdyn_taxcode_account_SalesTaxCode |
| IsCustomizable | True |
| AssociatedMenuConfiguration | AvailableOffline: True Behavior: UseCollectionNameGroup: DetailsLabel: MenuId: null Order: 10000 QueryApi: null ViewId: 00000000-0000-0000-0000-000000000000 |
msdyn_msdyn_taxcode_msdyn_actual_TaxCode
Many-To-One Relationship: msdyn_actual msdyn_msdyn_taxcode_msdyn_actual_TaxCode
| Property | Value |
|---|---|
| ReferencingEntity | msdyn_actual |
| ReferencingAttribute | msdyn_taxcode |
| ReferencedEntityNavigationPropertyName | msdyn_msdyn_taxcode_msdyn_actual_TaxCode |
| IsCustomizable | True |
| AssociatedMenuConfiguration | AvailableOffline: True Behavior: DoNotDisplayGroup: DetailsLabel: MenuId: null Order: 10000 QueryApi: null ViewId: 00000000-0000-0000-0000-000000000000 |
msdyn_msdyn_taxcode_msdyn_agreement_SalesTaxCode
Many-To-One Relationship: msdyn_agreement msdyn_msdyn_taxcode_msdyn_agreement_SalesTaxCode
| Property | Value |
|---|---|
| ReferencingEntity | msdyn_agreement |
| ReferencingAttribute | msdyn_salestaxcode |
| ReferencedEntityNavigationPropertyName | msdyn_msdyn_taxcode_msdyn_agreement_SalesTaxCode |
| IsCustomizable | True |
| AssociatedMenuConfiguration | AvailableOffline: True Behavior: UseCollectionNameGroup: DetailsLabel: MenuId: null Order: 10000 QueryApi: null ViewId: 00000000-0000-0000-0000-000000000000 |
msdyn_msdyn_taxcode_msdyn_purchaseorderbill_TaxCode
Many-To-One Relationship: msdyn_purchaseorderbill msdyn_msdyn_taxcode_msdyn_purchaseorderbill_TaxCode
| Property | Value |
|---|---|
| ReferencingEntity | msdyn_purchaseorderbill |
| ReferencingAttribute | msdyn_taxcode |
| ReferencedEntityNavigationPropertyName | msdyn_msdyn_taxcode_msdyn_purchaseorderbill_TaxCode |
| IsCustomizable | True |
| AssociatedMenuConfiguration | AvailableOffline: True Behavior: UseCollectionNameGroup: DetailsLabel: MenuId: null Order: 10000 QueryApi: null ViewId: 00000000-0000-0000-0000-000000000000 |
msdyn_msdyn_taxcode_msdyn_rma_TaxCode
Many-To-One Relationship: msdyn_rma msdyn_msdyn_taxcode_msdyn_rma_TaxCode
| Property | Value |
|---|---|
| ReferencingEntity | msdyn_rma |
| ReferencingAttribute | msdyn_taxcode |
| ReferencedEntityNavigationPropertyName | msdyn_msdyn_taxcode_msdyn_rma_TaxCode |
| IsCustomizable | True |
| AssociatedMenuConfiguration | AvailableOffline: True Behavior: UseLabelGroup: DetailsLabel: Tax Code MenuId: null Order: 10000 QueryApi: null ViewId: 00000000-0000-0000-0000-000000000000 |
msdyn_msdyn_taxcode_msdyn_rtv_TaxCode
Many-To-One Relationship: msdyn_rtv msdyn_msdyn_taxcode_msdyn_rtv_TaxCode
| Property | Value |
|---|---|
| ReferencingEntity | msdyn_rtv |
| ReferencingAttribute | msdyn_taxcode |
| ReferencedEntityNavigationPropertyName | msdyn_msdyn_taxcode_msdyn_rtv_TaxCode |
| IsCustomizable | True |
| AssociatedMenuConfiguration | AvailableOffline: True Behavior: UseLabelGroup: DetailsLabel: Tax Code MenuId: null Order: 10000 QueryApi: null ViewId: 00000000-0000-0000-0000-000000000000 |
msdyn_msdyn_taxcode_msdyn_taxcodedetail_ParentTaxCode
Many-To-One Relationship: msdyn_taxcodedetail msdyn_msdyn_taxcode_msdyn_taxcodedetail_ParentTaxCode
| Property | Value |
|---|---|
| ReferencingEntity | msdyn_taxcodedetail |
| ReferencingAttribute | msdyn_parenttaxcode |
| ReferencedEntityNavigationPropertyName | msdyn_msdyn_taxcode_msdyn_taxcodedetail_ParentTaxCode |
| IsCustomizable | True |
| AssociatedMenuConfiguration | AvailableOffline: True Behavior: DoNotDisplayGroup: DetailsLabel: Tax Code Groups MenuId: null Order: 10000 QueryApi: null ViewId: 00000000-0000-0000-0000-000000000000 |
msdyn_msdyn_taxcode_msdyn_taxcodedetail_TaxCode
Many-To-One Relationship: msdyn_taxcodedetail msdyn_msdyn_taxcode_msdyn_taxcodedetail_TaxCode
| Property | Value |
|---|---|
| ReferencingEntity | msdyn_taxcodedetail |
| ReferencingAttribute | msdyn_taxcode |
| ReferencedEntityNavigationPropertyName | msdyn_msdyn_taxcode_msdyn_taxcodedetail_TaxCode |
| IsCustomizable | True |
| AssociatedMenuConfiguration | AvailableOffline: True Behavior: UseLabelGroup: DetailsLabel: Tax Code Items MenuId: null Order: 10000 QueryApi: null ViewId: 00000000-0000-0000-0000-000000000000 |
msdyn_msdyn_taxcode_msdyn_workorder_TaxCode
Many-To-One Relationship: msdyn_workorder msdyn_msdyn_taxcode_msdyn_workorder_TaxCode
| Property | Value |
|---|---|
| ReferencingEntity | msdyn_workorder |
| ReferencingAttribute | msdyn_taxcode |
| ReferencedEntityNavigationPropertyName | msdyn_msdyn_taxcode_msdyn_workorder_TaxCode |
| IsCustomizable | True |
| AssociatedMenuConfiguration | AvailableOffline: True Behavior: UseCollectionNameGroup: DetailsLabel: MenuId: null Order: 10000 QueryApi: null ViewId: 00000000-0000-0000-0000-000000000000 |
See also
Dataverse table/entity reference
Dataverse Web API Reference