Table
TaxTransHistory_BR
Posted sales tax history
Holds extra tax details for Brazil that sit alongside posted sales tax history records. The TaxTrans field links each row to its TaxTransHistory record. It stores Brazilian tax types such as ICMS, IPI, PIS and COFINS, with taxation codes, deferred amounts and fields for the IS tax. It also links to cClassTrib codes and ledger accounts.
- Table name
TaxTransHistory_BR- Module
Tax- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasicSalesTax- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (35)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CClassTribPoints to the cClassTrib code that classifies the taxpayer under the Brazilian tax reform rules, used for IBS and CBS. | Int64CClassTribRecId_BR | No | CClassTribTable_BR.RecId | None |
CClassTribSuspensionClassification code used for tax suspension. | Int64cClassTribSuspensionRecId_BR | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeferredAmountCur_BRDeferred sales tax amount in the tax currency, used for Brazil. | RealTaxAmountCur | No | None | |
DeferredAmountMST_BRDeferred sales tax amount in the accounting currency, used for Brazil. | RealTaxAmount | No | None | |
DeferredAmountRep_BRDeferred sales tax amount in the reporting currency, used for Brazil. | RealTaxAmountCur | No | None | |
DeferredRate_BRRate used for deferred tax, used for Brazil. | RealTaxValue | No | None | |
FiscalIndicator_BRFiscal indicator that shows whether the tax gives a credit or debit, used for Brazil. | EnumTaxFiscalIndicator_BR (enum) | No | None | |
FiscalValue_BRFiscal value that shows whether the tax gives a credit or debit, used for Brazil. | EnumTaxFiscalValue_BR (enum) | No | None | |
IsICMSDifferenceTax_BRYes/No flag for the ICMS difference percentage, used for Brazil. | EnumICMSDifferenceTax_BRNoYes (enum) | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
Quantity_BRQuantity used when calculating the IS tax, used for Brazil. | RealTaxQty | 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 | |
SourceDeferredAmount_BRDeferred tax amount, used for Brazil. The currency is not stated in the metadata.low confidence | RealTaxAmountCur | No | None | |
SpecificTaxAmount_BRTax amount from the specific unit rate for the IS tax, used for Brazil. The currency is not stated in the metadata.low confidence | RealTaxAmountCur | No | None | |
SpecificUnitRate_BRRate per unit used for the IS tax, used for Brazil. | RealTaxValue | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxAmountOther_BROther tax amount, used for Brazil. | RealTaxAmountCur | No | None | |
TaxationCode_BRTaxation code of the record, used for Brazil. | String (3)TaxationCode_BR | No | None | |
TaxationOrigin_BROrigin of the goods for taxation, such as national or imported, used for Brazil. | EnumFITaxationOrigin_BR (enum) | No | None | |
TaxBaseAmountExempt_BRExempt part of the tax base, used for Brazil. | RealTaxBaseCur | No | None | |
TaxBaseAmountOther_BROther part of the tax base, used for Brazil. | RealTaxBaseCur | No | None | |
TaxReceivableLongTerm_BRYes/No flag for posting the tax as a long-term receivable, used for Brazil. | EnumTaxReceivableLongTerm_BRNoYes (enum) | No | None | |
TaxReductionPct_BRPercentage by which the tax is reduced, used for Brazil. | RealTaxValue | No | None | |
TaxSalesOffsetLedgerDimension_BRLedger account for the sales offset, pointing to a dimension combination, used for Brazil. | Int64LedgerDimensionAccount | No | DimensionAttributeValueCombination.RecId | None |
TaxSubstitution_BRTax substitution method, such as markup or simplified estimate, used for Brazil. | EnumTaxSubstitution_BRTaxSubstitutionEnum_BR (enum) | No | None | |
TaxTransPoints to the related posted sales tax history record. | Int64TaxTransRefRecId | No | TaxTransHistory.RecId | None |
TaxType_BRKind of Brazilian tax, such as IPI, PIS, ICMS, COFINS or ISS. | EnumTaxType_BR (enum) | No | None | |
TaxValueDiff_BRPercentage used as the tax reduction difference, used for Brazil. It has the same label as the tax reduction field.low confidence | RealTaxValue | No | None | |
Unit_BRUnit of measure used when calculating the IS tax, used for Brazil. | StringUnitOfMeasureSymbol | No | None |
Indexes (1)
TaxTransIdxUnique, alternate key.
Relations (3)
Each relation joins TaxTransHistory_BR to another table on the fields shown.
TaxSalesOffsetLedgerDimension_BR→DimensionAttributeValueCombinationJoin on
TaxSalesOffsetLedgerDimension_BR = DimensionAttributeValueCombination.RecIdMany TaxTransHistory_BR records → zero or one DimensionAttributeValueCombination record
TaxTrans→TaxTransHistoryJoin on
TaxTrans = TaxTransHistory.RecIdZero or one TaxTransHistory_BR record → exactly one TaxTransHistory record
CClassTribTable_BR→CClassTribTable_BRJoin on
CClassTrib = CClassTribTable_BR.RecIdMany TaxTransHistory_BR records → zero or one CClassTribTable_BR record
Get this data out
No public entity reads from TaxTransHistory_BR. Its data is only reachable through the application, a custom entity or a database export.
Need help with TaxTransHistory_BR in a report, an integration or a migration? Talk to Dr Dynamics.