Table
TaxationCodeTable_BR
Taxation code
Holds taxation codes used for Brazil. A code is identified by tax type, taxation code and fiscal value. It also has a description, a validity period and input and output codes.
- Table name
TaxationCodeTable_BR- Module
Tax- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
RecId- Replacement key
TaxationCodeIdx- Key fields
TaxType, TaxationCode, FiscalValue- Model
Foundation
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TaxTypeThe kind of Brazilian tax the code belongs to, such as IPI, PIS or ICMS. | EnumTaxType_BR (enum) | Yes | TaxationCodeEntity | |
TaxationCodeThree-character taxation code. | String (3)TaxationCode_BR | Yes | TaxationCodeEntityTaxAllowedExemptCodesForIPIEntityTaxCodeEntityand 2 more | |
FiscalValueFiscal value of the code, such as with credit/debit or without credit/debit. | EnumTaxFiscalValue_BR (enum) | Yes | TaxationCodeEntityTaxAllowedExemptCodesForIPIEntityTaxCodeEntity | |
AtoCotepeTaxCodeThe SPED code that matches this taxation code. | String (3)TaxationCode_BR | No | TaxationCodeEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionDescription of the taxation code. | String (60)Name | No | TaxationCodeEntity | |
FromDateFirst date on which the code is valid. | DateFromDate | No | TaxationCodeEntity | |
InputCodeOne-character taxation code used for input. | String (1)char | No | TaxationCodeEntity | |
OutputCodeOne-character taxation code used for output. | String (1)char | No | TaxationCodeEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ToDateLast date on which the code is valid. | DateToDate | No | TaxationCodeEntity |
Indexes (1)
TaxationCodeIdxReplacement keyTaxType,TaxationCode,FiscalValueUnique, alternate key.
Get this data out
Tables are not exposed directly. These public entities read from TaxationCodeTable_BR; use one of them in Power BI, Power Platform or a data management project.
TaxationCodeEntity· 9 fields from this tableTaxAllowedExemptCodesForIPIEntity· 2 fields from this tableTaxCodeEntity· 2 fields from this tableTaxGroupDataEntity· 1 field from this tableTaxItemGroupEntity· 1 field from this table
Need help with TaxationCodeTable_BR in a report, an integration or a migration? Talk to Dr Dynamics.