Table

TaxRegistrationNumbers_IN

Tax registration numbers

Tax registration numbers used for India, identified by registration type, tax type and number. It holds the taxable person's details, turnover and GST type. It also holds credentials and certificate links for online services, kept as encrypted values or Key Vault references. It can point to a default bank account and a business vertical.

Table name
TaxRegistrationNumbers_IN
Module
Tax
Table group
Main
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
RegistrationNumberTaxTypeIdx
Key fields
RegistrationType, TaxType, RegistrationNumber
Model
Foundation

Fields (30)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RegistrationTypeSays whether the number belongs to the company, a customer or a vendor.Enum
TaxRegistrationType_IN (enum)
NoTaxCustomsTaxRegistrationNumberEntityTaxExciseTaxRegistrationNumberEntityTaxGSTRegistrationNumberEntityand 3 more
TaxTypeKind of tax the number is for, such as VAT, excise, customs or GST.Enum
TaxType_IN (enum)
NoTaxCustomsTaxRegistrationNumberEntityTaxExciseTaxRegistrationNumberEntityTaxGSTRegistrationNumberEntityand 3 more
RegistrationNumberThe tax registration number itself.String (15)
TaxRegistrationNumber_IN
YesTaxCustomsTaxRegistrationNumberEntityTaxExciseTaxRegistrationNumberEntityTaxGSTRegistrationNumberEntityand 125 more
AccessTokenExpiryDateTimeDate and time when the access token expires.UtcDateTimeNoNone
BusinessVerticalsPoints to the business vertical linked to this number.Int64
RefRecId
NoBusinessVerticalsTable_IN.RecIdNone
CertificateSubjectSubject text of the digital certificate.String (960)
DigitalCertificateSubject
NoNone
ClientIdKeyVaultRefPoints to the Key Vault certificate record holding the client ID.Int64
RefRecId
NoKeyVaultCertificateTable.RecIdNone
ClientSecretKeyVaultRefPoints to the Key Vault certificate record holding the client secret.Int64
RefRecId
NoKeyVaultCertificateTable.RecIdNone
CreatedCompanyIdCompany in which the record was created. The metadata gives no further detail.low confidenceString
SelectableDataArea
NoTaxCustomsTaxRegistrationNumberEntityTaxExciseTaxRegistrationNumberEntityTaxGSTRegistrationNumberEntityand 3 more
DefaultBankAccountIdBank account chosen by default, with a link to the bank account record.String
CompanyBankAccountId
NoBankAccountTable.AccountIDNone
EncryptedAccessTokenAccess token, stored in encrypted form.Container
CryptoBlob
NoNone
EncryptedClientIdClient ID, stored in encrypted form.Container
CryptoBlob
NoNone
EncryptedClientSecretClient secret, stored in encrypted form.Container
CryptoBlob
NoNone
EncryptedSEKSession encryption key, stored in encrypted form.Container
CryptoBlob
NoNone
EncryptedUserPasswordUser password, stored in encrypted form.Container
CryptoBlob
NoNone
IsGlobalShows whether the registration number is shared across companies.Enum
NoYes (enum)
NoTaxCustomsTaxRegistrationNumberEntityTaxExciseTaxRegistrationNumberEntityTaxGSTRegistrationNumberEntityand 3 more
KeyVaultCertificateRefPoints to a Key Vault certificate record.Int64
KeyVaultCertificateRef
NoKeyVaultCertificateTable.RecIdNone
NameDescription of the registration number.String (60)
Description
NoTaxCustomsTaxRegistrationNumberEntityTaxExciseTaxRegistrationNumberEntityTaxGSTRegistrationNumberEntityand 3 more
NameOfTaxablePersonRegistered name of the taxable person.String (60)
Name
NoTaxGSTRegistrationNumberEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RefCompanyIdCompany reference linked to this record. The metadata gives no further detail.low confidenceString
SelectableDataArea
NoTaxCustomsTaxRegistrationNumberEntityTaxExciseTaxRegistrationNumberEntityTaxGSTRegistrationNumberEntityand 3 more
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TurnOverTurnover amount recorded for the taxable person (in accounting currency).Real
AmountMST
NoTaxGSTRegistrationNumberEntity
TypeGST number type: GSTIN, GDI or UID.Enum
GSTType_IN (enum)
NoTaxGSTRegistrationNumberEntity
UserNameUser name stored for the registration.String (20)
UserRequestAccountNumber
NoNone
UserNameKeyVaultRefPoints to the Key Vault certificate record holding the user name.Int64
RefRecId
NoKeyVaultCertificateTable.RecIdNone
UserPasswordKeyVaultRefPoints to the Key Vault certificate record holding the user password.Int64
RefRecId
NoKeyVaultCertificateTable.RecIdNone

Indexes (1)

Relations (7)

Each relation joins TaxRegistrationNumbers_IN to another table on the fields shown.

  • BusinessVerticalsTable_IN → BusinessVerticalsTable_IN

    Join on BusinessVerticals = BusinessVerticalsTable_IN.RecId

    Many TaxRegistrationNumbers_IN records → zero or one BusinessVerticalsTable_IN record

  • UserNameKeyVaultRef → KeyVaultCertificateTable

    Join on UserNameKeyVaultRef = KeyVaultCertificateTable.RecId

    Many TaxRegistrationNumbers_IN records → zero or one KeyVaultCertificateTable record

  • UserPasswordKeyVaultRef → KeyVaultCertificateTable

    Join on UserPasswordKeyVaultRef = KeyVaultCertificateTable.RecId

    Many TaxRegistrationNumbers_IN records → zero or one KeyVaultCertificateTable record

  • ClientIdKeyVaultRef → KeyVaultCertificateTable

    Join on ClientIdKeyVaultRef = KeyVaultCertificateTable.RecId

    Many TaxRegistrationNumbers_IN records → zero or one KeyVaultCertificateTable record

  • ClientSecretKeyVaultRef → KeyVaultCertificateTable

    Join on ClientSecretKeyVaultRef = KeyVaultCertificateTable.RecId

    Many TaxRegistrationNumbers_IN records → zero or one KeyVaultCertificateTable record

  • KeyVaultCertificateTable → KeyVaultCertificateTable

    Join on KeyVaultCertificateRef = KeyVaultCertificateTable.RecId

    Many TaxRegistrationNumbers_IN records → zero or one KeyVaultCertificateTable record

  • BankAccountTable → BankAccountTable

    Join on DefaultBankAccountId = BankAccountTable.AccountID

    Many TaxRegistrationNumbers_IN records → zero or one BankAccountTable record

Get this data out

Tables are not exposed directly. These public entities read from TaxRegistrationNumbers_IN; use one of them in Power BI, Power Platform or a data management project.

Need help with TaxRegistrationNumbers_IN in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk