Data entity

PayIntV1OMLegalEntity

Read-only list of legal entities (companies) for payroll integration version 1, keyed by legal entity ID. It holds the name, search name, party ID, language and address details. It also includes many contact fields, such as phone, email and instant message, each with a purpose and description.

Entity name
PayIntV1OMLegalEntity
Public entity name
PayIntV1LegalEntity
OData collection
PayIntV1LegalEntities
Category
Not set
Module
Other (no module in the metadata)
Read-only
Yes
Data management enabled
No
Configuration key
None
Keys
LegalEntityId
Staging table
None

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/PayIntV1LegalEntities
Dataverse virtual table
mserp_payintv1omlegalentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Not enabled for import and export projects.

Data sources

  • PayIntV1OMLegal · root

Fields (101)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
NameName of the legal entity.String (160)
DirPartyName
YesYesPayIntV1OMLegal.Name
NameAliasShort search name for the legal entity.String (20)
NameAlias
NoYesPayIntV1OMLegal.NameAlias
PartyNumberParty ID that identifies the legal entity as a party.String (40)
DirPartyNumber
YesYesPayIntV1OMLegal.PartyNumber
AddressBooksText list of the address books the party belongs to.String (1000)
DirAddressBookNames
NoYesPayIntV1OMLegal.AddressBooks
LanguageIdLanguage code of the legal entity.String (7)
LanguageId
NoYesPayIntV1OMLegal.LanguageId
FullPrimaryAddressName or description of the primary address.String (60)
LogisticsDescription
NoYesPayIntV1OMLegal.FullPrimaryAddress
AddressDescriptionName or description of the address.String (60)
LogisticsDescription
NoYesPayIntV1OMLegal.AddressDescription
AddressZipCodeZIP or postal code of the primary address.String
LogisticsAddressZipCodeId
NoYesPayIntV1OMLegal.AddressZipCode
AddressCityCity of the primary address.String (60)
LogisticsAddressCityName
NoYesPayIntV1OMLegal.AddressCity
AddressCountryRegionIdCountry or region code of the primary address.String
LogisticsAddressCountryRegionId
YesYesPayIntV1OMLegal.AddressCountryRegionId
AddressCountryRegionISOCodeTwo-letter ISO code of the address country or region.String (2)
LogisticsAddressCountryRegionISOCode
NoYesPayIntV1OMLegal.AddressCountryRegionISOCode
AddressCountyCounty of the primary address.String (30)
LogisticsAddressCountyId
NoYesPayIntV1OMLegal.AddressCounty
AddressDistrictNameDistrict of the primary address.String (60)
LogisticsAddressDistrictName
NoYesPayIntV1OMLegal.AddressDistrictName
AddressLatitudeLatitude of the primary address.Real
LogisticsAddressLatitude
NoYesPayIntV1OMLegal.AddressLatitude
AddressLocationRolesText list of the purposes of the address.String (1000)
DirPartyAddressLocationRoleNames
NoYesPayIntV1OMLegal.AddressLocationRoles
AddressLongitudeLongitude of the primary address.Real
LogisticsAddressLongitude
NoYesPayIntV1OMLegal.AddressLongitude
AddressStateState or province of the primary address.String
LogisticsAddressStateId
NoYesPayIntV1OMLegal.AddressState
AddressStreetStreet of the primary address.String (250)
LogisticsAddressStreet
NoYesPayIntV1OMLegal.AddressStreet
AddressTimeZoneTime zone of the primary address.Enum
Timezone

Platform enum: values not in the metadata extract.

NoYesPayIntV1OMLegal.AddressTimeZone
AddressValidFromDate and time from which the address is valid.UtcDateTime
EffectiveDateTime
NoYesPayIntV1OMLegal.AddressValidFrom
AddressValidToDate and time at which the address stops being valid.UtcDateTime
ExpirationDateTime
NoYesPayIntV1OMLegal.AddressValidTo
PrimaryContactEmailPrimary email address of the legal entity.String (255)
LogisticsElectronicAddressLocator
NoYesPayIntV1OMLegal.PrimaryContactEmail
PrimaryContactEmailDescriptionDescription of the primary email contact.String (60)
Description
NoYesPayIntV1OMLegal.PrimaryContactEmailDescription
PrimaryContactEmailIsIMYes or No flag showing whether the email contact is used for instant messages.Enum
LogisticsIsInstantMessage
NoYes

Platform enum: values not in the metadata extract.

NoYesPayIntV1OMLegal.PrimaryContactEmailIsIM
PrimaryContactEmailPurposePurposes of the primary email contact.String (1000)
DirPartyContactLocationRoleNames
NoYesPayIntV1OMLegal.PrimaryContactEmailPurpose
PrimaryContactFaxPrimary fax number of the legal entity.String (255)
LogisticsElectronicAddressLocator
NoYesPayIntV1OMLegal.PrimaryContactFax
PrimaryContactFaxDescriptionDescription of the primary fax contact.String (60)
Description
NoYesPayIntV1OMLegal.PrimaryContactFaxDescription
PrimaryContactFaxExtensionExtension number for the primary fax contact.String
PhoneLocal
NoYesPayIntV1OMLegal.PrimaryContactFaxExtension
PrimaryContactFaxPurposePurposes of the primary fax contact.String (1000)
DirPartyContactLocationRoleNames
NoYesPayIntV1OMLegal.PrimaryContactFaxPurpose
PrimaryContactPhonePrimary phone number of the legal entity.String (255)
LogisticsElectronicAddressLocator
NoYesPayIntV1OMLegal.PrimaryContactPhone
PrimaryContactPhoneDescriptionDescription of the primary phone contact.String (60)
Description
NoYesPayIntV1OMLegal.PrimaryContactPhoneDescription
PrimaryContactPhoneExtensionExtension number for the primary phone contact.String
PhoneLocal
NoYesPayIntV1OMLegal.PrimaryContactPhoneExtension
PrimaryContactPhoneIsMobileYes or No flag showing whether the primary phone is a mobile phone.Enum
LogisticsIsMobilePhone
NoYes

Platform enum: values not in the metadata extract.

NoYesPayIntV1OMLegal.PrimaryContactPhoneIsMobile
PrimaryContactPhonePurposePurposes of the primary phone contact.String (1000)
DirPartyContactLocationRoleNames
NoYesPayIntV1OMLegal.PrimaryContactPhonePurpose
PrimaryContactTelexPrimary telex number of the legal entity.String (255)
LogisticsElectronicAddressLocator
NoYesPayIntV1OMLegal.PrimaryContactTelex
PrimaryContactTelexDescriptionDescription of the primary telex contact.String (60)
Description
NoYesPayIntV1OMLegal.PrimaryContactTelexDescription
PrimaryContactTelexPurposePurposes of the primary telex contact.String (1000)
DirPartyContactLocationRoleNames
NoYesPayIntV1OMLegal.PrimaryContactTelexPurpose
PrimaryContactURLPrimary web address of the legal entity.String (255)
LogisticsElectronicAddressLocator
NoYesPayIntV1OMLegal.PrimaryContactURL
PrimaryContactURLDescriptionDescription of the primary web address.String (60)
Description
NoYesPayIntV1OMLegal.PrimaryContactURLDescription
PrimaryContactURLPurposePurposes of the primary web address contact.String (1000)
DirPartyContactLocationRoleNames
NoYesPayIntV1OMLegal.PrimaryContactURLPurpose
PrimaryContactFacebookFacebook contact of the legal entity.String (255)
LogisticsElectronicAddressLocator
NoYesPayIntV1OMLegal.PrimaryContactFacebook
PrimaryContactFacebookDescriptionDescription of the Facebook contact.String (60)
Description
NoYesPayIntV1OMLegal.PrimaryContactFacebookDescription
PrimaryContactFacebookIsPrivateYes or No flag showing whether the Facebook contact is private.Enum
LogisticsIsPrivate
NoYes

Platform enum: values not in the metadata extract.

NoYesPayIntV1OMLegal.PrimaryContactFacebookIsPrivate
PrimaryContactFacebookPurposePurposes of the Facebook contact.String (1000)
DirPartyContactLocationRoleNames
NoYesPayIntV1OMLegal.PrimaryContactFacebookPurpose
PrimaryContactLinkedInLinkedIn contact of the legal entity.String (255)
LogisticsElectronicAddressLocator
NoYesPayIntV1OMLegal.PrimaryContactLinkedIn
PrimaryContactLinkedInDescriptionDescription of the LinkedIn contact.String (60)
Description
NoYesPayIntV1OMLegal.PrimaryContactLinkedInDescription
PrimaryContactLinkedInIsPrivateYes or No flag showing whether the LinkedIn contact is private.Enum
LogisticsIsPrivate
NoYes

Platform enum: values not in the metadata extract.

NoYesPayIntV1OMLegal.PrimaryContactLinkedInIsPrivate
PrimaryContactLinkedInPurposePurposes of the LinkedIn contact.String (1000)
DirPartyContactLocationRoleNames
NoYesPayIntV1OMLegal.PrimaryContactLinkedInPurpose
PrimaryContactTwitterTwitter contact of the legal entity.String (255)
LogisticsElectronicAddressLocator
NoYesPayIntV1OMLegal.PrimaryContactTwitter
PrimaryContactTwitterDescriptionDescription of the Twitter contact.String (60)
Description
NoYesPayIntV1OMLegal.PrimaryContactTwitterDescription
PrimaryContactTwitterIsPrivateYes or No flag showing whether the Twitter contact is private.Enum
LogisticsIsPrivate
NoYes

Platform enum: values not in the metadata extract.

NoYesPayIntV1OMLegal.PrimaryContactTwitterIsPrivate
PrimaryContactTwitterPurposePurposes of the Twitter contact.String (1000)
DirPartyContactLocationRoleNames
NoYesPayIntV1OMLegal.PrimaryContactTwitterPurpose
LegalEntityIdCompany ID of the legal entity.String
SelectableDataArea
YesYesPayIntV1OMLegal.LegalEntityId
PartyTypeType of the party record, as a text name.String (13)
DirPartyInstanceRelationTypeName
NoYesPayIntV1OMLegal.PartyType
PhoneticNamePhonetic spelling of the legal entity name.String (160)
DirPartyName
NoYesPayIntV1OMLegal.PhoneticName
AccountingPersonnelName of the accounting person. Used for Japan.String (60)
AccountingPersonnel_JP
NoYesPayIntV1OMLegal.AccountingPersonnel
CompanyRepresentativeName of the company representative. Used for Japan.String (60)
CompanyRepresentative_JP
NoYesPayIntV1OMLegal.CompanyRepresentative
StartDateOfBusinessDate the business started. Used for Japan.Date
AssetBusinessCommencedDate_JP
NoYesPayIntV1OMLegal.StartDateOfBusiness
InitialCapitalInvestmentInitial capital invested in the business. Used for Japan.Real
AssetBusinessInitialCapital_JP
NoYesPayIntV1OMLegal.InitialCapitalInvestment
BusinessItemDescription of the business item. Used for Japan.String (30)
AssetBusinessItem_JP
NoYesPayIntV1OMLegal.BusinessItem
CertifiedTaxAccountantNameName of the certified tax accountant. Used for Japan.String (60)
AssetCertifiedTaxAccountant_JP
NoYesPayIntV1OMLegal.CertifiedTaxAccountantName
ExternalLegalRepresentativeNameName of the external legal representative. Used for Japan.String (60)
AssetLegalRepresentative_JP
NoYesPayIntV1OMLegal.ExternalLegalRepresentativeName
PersonInChargeName of the contact person. Used for Japan.String (60)
AssetPersonInCharge_JP
NoYesPayIntV1OMLegal.PersonInCharge
AccountsOfficeReferenceNumberAccounts office reference number of the company.String (13)
AccountOfficeRefNum
NoYesPayIntV1OMLegal.AccountsOfficeReferenceNumber
CommerceRegistrationCommerce registration number. Used for France.String (30)
CompanyRegComFR
NoYesPayIntV1OMLegal.CommerceRegistration
LegalFormLegal form of the company. Used for France.String (100)
CompanyLegalFormFR
NoYesPayIntV1OMLegal.LegalForm
DNBRoutingNumberDNB routing number used in payments.String (8)
PaymRoutingDNB
NoYesPayIntV1OMLegal.DNBRoutingNumber
TraderNumberTrader number used in payments.String (4)
PaymTraderNumber
NoYesPayIntV1OMLegal.TraderNumber
FICreditorIDFI creditor ID. Used for Denmark.String (8)
FICreditorID_DK
NoYesPayIntV1OMLegal.FICreditorID
NationalRegistryNumberNational registry number of the organisation.String
OrgId
NoYesPayIntV1OMLegal.NationalRegistryNumber
PrintCorrectiveInvoiceYes or No flag for printing a corrective invoice on sales credit notes. Used for Germany.Enum
PrintCorrInvoiceLabel_DE
NoYes

Platform enum: values not in the metadata extract.

NoYesPayIntV1OMLegal.PrintCorrectiveInvoice
PrintCorrectiveInvoiceStartingDateDate from which the corrective invoice setting applies. Used for Germany.Date
PrintCorrInvoiceLabelEffDate_DE
NoYesPayIntV1OMLegal.PrintCorrectiveInvoiceStartingDate
CompanyTypeType of company, such as legal entity, legal person or foreign company. Used for Mexico.Enum
CompanyType_MX
  • Blank 0
  • LegalEntity 1
  • LegalPerson 2
  • ForeignCompany 3
NoYesPayIntV1OMLegal.CompanyType
CurpNumberCURP number of the company. Used for Mexico.String (18)
Curp_MX
NoYesPayIntV1OMLegal.CurpNumber
CurpLegalRepresentativeCURP number of the legal representative. Used for Mexico.String (18)
Curp_MX
NoYesPayIntV1OMLegal.CurpLegalRepresentative
LegalRepresentativeNameName of the legal representative. Used for Mexico.String (50)
LegalRepresentativeName_MX
NoYesPayIntV1OMLegal.LegalRepresentativeName
RfcLegalRepresentativeRFC number of the legal representative. Used for Mexico.String (13)
Rfc_MX
NoYesPayIntV1OMLegal.RfcLegalRepresentative
RfcRFC number of the company. Used for Mexico.String (13)
Rfc_MX
NoYesPayIntV1OMLegal.Rfc
StateInscriptionState inscription number. Used for Mexico.String (30)
StateInscription_MX
NoYesPayIntV1OMLegal.StateInscription
NationalClassificationOfCompanyEconomicActivityCNAE code for the company's economic activity. Used for Brazil.String
CNAE_BR
NoYesPayIntV1OMLegal.NationalClassificationOfCompanyEconomicActivity
PrimaryAddressLocationIdID of the location record used as the primary address.String (40)
LogisticsLocationId
YesYesPayIntV1OMLegal.PrimaryAddressLocationId
RegistrationNumberBusiness registration number. Used for Canada.String (9)
BusinessNumber_CA
NoYesPayIntV1OMLegal.RegistrationNumber
SoftwareIdentificationCodeSoftware identification code. Used for Canada.String (8)
SoftwareIdentificationCode_CA
NoYesPayIntV1OMLegal.SoftwareIdentificationCode
FiscalCodeFiscal code of the company.String (11)
IVACode
NoYesPayIntV1OMLegal.FiscalCode
LegalNatureLegal nature of the company, such as limited liability company or cooperative. Used for Italy.Enum
LegalNature_IT
  • LN1 1
  • LN2 2
  • LN3 3
  • LN4 4
  • LN5 5
  • LN6 6
  • LN7 7
  • LN8 8
  • LN9 9
  • LN10 10
  • LN11 11
  • LN12 12
  • LN13 13
  • LN14 14
  • LN15 15
  • LN16 16
  • LN17 17
  • LN18 18
  • LN19 19
  • LN20 20
  • LN21 21
  • LN22 22
  • LN23 23
  • LN24 24
  • LN25 25
  • LN26 26
  • LN27 27
  • LN28 28
  • LN29 29
  • LN50 50
  • LN51 51
  • LN52 52
  • LN53 53
  • LN54 54
  • LN55 55
  • LN56 56
  • LN57 57
  • LN58 58
  • LN30 30
  • LN31 31
  • LN32 32
  • LN33 33
  • LN34 34
  • LN35 35
  • LN36 36
  • LN37 37
  • LN38 38
  • LN39 39
  • LN40 40
  • LN41 41
  • LN42 42
  • LN43 43
  • LN44 44
  • LN59 59
NoYesPayIntV1OMLegal.LegalNature
CUCCUC code of the company. Used for Italy.String (8)
CUC_IT
NoYesPayIntV1OMLegal.CUC
CompanyNameName of the company.String (60)
CompanyName
NoYesPayIntV1OMLegal.CompanyName
CompanyCountryCountry or region of the company.String
AddressCountryRegionId
NoYesPayIntV1OMLegal.CompanyCountry
ReportFolderFile path of the folder used for reports.String (259)
FilePath
NoYesPayIntV1OMLegal.ReportFolder
PrintINNKPPInAddressYes or No flag for printing INN and KPP in the company address. Used for Russia.Enum
PrintINNKPPInAddress_RU
NoYes

Platform enum: values not in the metadata extract.

NoYesPayIntV1OMLegal.PrintINNKPPInAddress
PrintEnterpriseRegisterYes or No flag for printing the Foretaksregisteret number on sales documents.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesPayIntV1OMLegal.PrintEnterpriseRegister
NAICSNAICS industry classification code.String (6)
DirNaicsCode
NoYesPayIntV1OMLegal.NAICS
UseForFinancialConsolidationProcessYes or No flag showing whether the company is used in financial consolidation.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesPayIntV1OMLegal.UseForFinancialConsolidationProcess
UseForFinancialEliminationProcessYes or No flag showing whether the company is used in financial elimination.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesPayIntV1OMLegal.UseForFinancialEliminationProcess
TimeZoneTime zone of the legal entity.Enum
Timezone

Platform enum: values not in the metadata extract.

NoYesPayIntV1OMLegal.TimeZone
VATNumTax exempt number of the company.String (20)
VATNum
NoYesPayIntV1OMLegal.VATNum
ImportVATNumTax exempt number used for imports.low confidenceString (20)
VATNum
NoYesPayIntV1OMLegal.ImportVATNum
ProfitMarginSchemeYes or No flag for a profit margin scheme.low confidenceEnum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesPayIntV1OMLegal.ProfitMarginScheme
VATRefundYes or No flag for VAT refund.low confidenceEnum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesPayIntV1OMLegal.VATRefund
VATOnCustomerBehalfYes or No flag for VAT handled on behalf of the customer.low confidenceEnum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesPayIntV1OMLegal.VATOnCustomerBehalf
LocalizationCountryRegionCodeRegion whose localised functions apply to the company. It can be detected from the company address.Enum
SysLocalizationCountryRegionCode
  • Default 0
  • None 1
  • BE 2
  • BR 3
  • CA 4
  • CZ 5
  • DE 6
  • EE 7
  • ES 8
  • FR 9
  • GB 10
  • HU 11
  • IE 12
  • IN 13
  • IT 14
  • JP 15
  • LT 16
  • LV 17
  • MX 18
  • NL 19
  • NO 20
  • PL 21
  • RU 22
  • SA 23
  • TH 24
  • US 25
  • AU 26
  • CN 27
  • DK 28
  • FI 29
  • MY 30
  • SG 31
  • ZA 32
  • SE 33
  • CH 34
  • IS 35
  • AT 36
  • TR 37
NoYesPayIntV1OMLegal.LocalizationCountryRegionCode

Need help with PayIntV1OMLegalEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk