msdyn_taxcode EntityType

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.

Entity Set Path
[organization URI]/api/data/v9.0/msdyn_taxcodes
Base Type
crmbaseentity
Display Name
Tax Code
Primary Key
msdyn_taxcodeid
Primary Key Attribute
msdyn_name
Operations Supported
POST GET PATCH DELETE

Properties

Properties represent fields of data stored in the entity.Some properties are read-only.

Name Type Details
createdon Edm.DateTimeOffset

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.

Display Name: Created On

Read Only
importsequencenumber Edm.Int32

Shows the sequence number of the import that created this record.

Display Name: Import Sequence Number

modifiedon Edm.DateTimeOffset

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.

Display Name: Modified On

Read Only
msdyn_actastaxgroup Edm.Boolean

If set as a Tax Group the tax rate will be the total of all the Tax Code details combined

Display Name: Act as Tax Group

Default Options
Value Label
1 Yes
0 No
msdyn_agreementtaxable Edm.Boolean

Select whether this tax code applies to service agreements.

Display Name: Agreement Taxable

Default Options
Value Label
1 Yes
0 No
msdyn_name Edm.String

Type the sales tax code name.

Display Name: Name

msdyn_productstaxable Edm.Boolean

Select whether this tax code applies to products.

Display Name: Products Taxable

Default Options
Value Label
1 Yes
0 No
msdyn_servicestaxable Edm.Boolean

Select whether this tax code applies to services.

Display Name: Services Taxable

Default Options
Value Label
1 Yes
0 No
msdyn_taxcodeid Edm.Guid

Shows the entity instances.

Display Name: Tax Code

msdyn_taxrate Edm.Double

Enter the rate of this sales tax code.

Display Name: Tax Rate %

overriddencreatedon Edm.DateTimeOffset

Shows the date and time that the record was migrated.

Display Name: Record Created On

statecode Edm.Int32

Status of the Tax Code

Display Name: Status

Default Options
Value Label
0 Active
1 Inactive
statuscode Edm.Int32

Reason for the status of the Tax Code

Display Name: Status Reason

Default Options
Value Label
1 Active
2 Inactive
timezoneruleversionnumber Edm.Int32

For internal use only.

Display Name: Time Zone Rule Version Number

utcconversiontimezonecode Edm.Int32

Shows the time zone code that was in use when the record was created.

Display Name: UTC Conversion Time Zone Code

versionnumber Edm.Int64

Version Number

Display Name: Version Number

Read Only

Lookup Properties

Lookup properties are read-only, computed properties which contain entity primary key Edm.Guid data for one or more corresponding single-valued navigation properties. More information: Lookup properties and Retrieve data about lookup properties.

Name Single-valued navigation property Description
_createdby_value createdby

Unique identifier of the user who created the record.

_createdonbehalfby_value createdonbehalfby

Shows who created the record on behalf of another user.

_modifiedby_value modifiedby

Unique identifier of the user who modified the record.

_modifiedonbehalfby_value modifiedonbehalfby

Shows who last updated the record on behalf of another user.

_ownerid_value ownerid

Owner Id

_owningbusinessunit_value owningbusinessunit

Unique identifier for the business unit that owns the record

_owningteam_value owningteam

Unique identifier for the team that owns the record.

_owninguser_value owninguser

Unique identifier for the user that owns the record.

Single-valued navigation properties

Single-valued navigation properties represent lookup fields where a single entity can be referenced. Each single-valued navigation property has a corresponding partner collection-valued navigation property on the related entity.

Name Type Partner
createdby systemuser lk_msdyn_taxcode_createdby
createdonbehalfby systemuser lk_msdyn_taxcode_createdonbehalfby
modifiedby systemuser lk_msdyn_taxcode_modifiedby
modifiedonbehalfby systemuser lk_msdyn_taxcode_modifiedonbehalfby
ownerid principal owner_msdyn_taxcode
owningbusinessunit businessunit business_unit_msdyn_taxcode
owningteam team team_msdyn_taxcode
owninguser systemuser user_msdyn_taxcode

Collection-valued navigation properties

Collection-valued navigation properties represent collections of entities which may represent either a one-to-many (1:N) or many-to-many (N:N) relationship between the entities.

Name Type Partner
msdyn_msdyn_taxcode_account_SalesTaxCode account msdyn_salestaxcode
msdyn_msdyn_taxcode_msdyn_actual_TaxCode msdyn_actual msdyn_TaxCode
msdyn_msdyn_taxcode_msdyn_agreement_SalesTaxCode msdyn_agreement msdyn_salestaxcode
msdyn_msdyn_taxcode_msdyn_purchaseorderbill_TaxCode msdyn_purchaseorderbill msdyn_taxcode
msdyn_msdyn_taxcode_msdyn_rma_TaxCode msdyn_rma msdyn_taxcode
msdyn_msdyn_taxcode_msdyn_rtv_TaxCode msdyn_rtv msdyn_taxcode
msdyn_msdyn_taxcode_msdyn_taxcodedetail_ParentTaxCode msdyn_taxcodedetail msdyn_parenttaxcode
msdyn_msdyn_taxcode_msdyn_taxcodedetail_TaxCode msdyn_taxcodedetail msdyn_taxcode
msdyn_msdyn_taxcode_msdyn_workorder_TaxCode msdyn_workorder msdyn_taxcode
msdyn_msdyn_taxcode_quotedetail_SalesTaxCode quotedetail msdyn_SalesTaxCode
msdyn_taxcode_Annotations annotation objectid_msdyn_taxcode
msdyn_taxcode_AsyncOperations asyncoperation regardingobjectid_msdyn_taxcode
msdyn_taxcode_BulkDeleteFailures bulkdeletefailure regardingobjectid_msdyn_taxcode
msdyn_taxcode_connections1 connection record1id_msdyn_taxcode
msdyn_taxcode_connections2 connection record2id_msdyn_taxcode
msdyn_taxcode_DuplicateBaseRecord duplicaterecord baserecordid_msdyn_taxcode
msdyn_taxcode_DuplicateMatchingRecord duplicaterecord duplicaterecordid_msdyn_taxcode
msdyn_taxcode_MailboxTrackingFolders mailboxtrackingfolder regardingobjectid_msdyn_taxcode
msdyn_taxcode_PrincipalObjectAttributeAccesses principalobjectattributeaccess objectid_msdyn_taxcode
msdyn_taxcode_ProcessSession processsession regardingobjectid_msdyn_taxcode
msdyn_taxcode_SyncErrors syncerror regardingobjectid_msdyn_taxcode

Operations

The following operations can be used with the msdyn_taxcode entity type.

Name Binding
GrantAccess Not Bound
IsValidStateTransition Not Bound
ModifyAccess Not Bound
RetrievePrincipalAccess Not Bound
RetrieveSharedPrincipalsAndAccess Not Bound
RevokeAccess Not Bound

Solutions

The following solutions include the msdyn_taxcode entity type.

Name Description
Field Service Microsoft Dynamics 365 for Field Service allows organizations of any size to deliver intelligent, world class field service, managing all aspects of the end-to-end field service management cycle. Features include scheduling, mobile, asset management, inventory control, customer notifications, and resource utilization controls that help maximize efficiency and minimize costs.

See also