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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CClassTribPoints to the cClassTrib code that classifies the taxpayer under the Brazilian tax reform rules, used for IBS and CBS.Int64
CClassTribRecId_BR
NoCClassTribTable_BR.RecIdNone
CClassTribSuspensionClassification code used for tax suspension.Int64
cClassTribSuspensionRecId_BR
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeferredAmountCur_BRDeferred sales tax amount in the tax currency, used for Brazil.Real
TaxAmountCur
NoNone
DeferredAmountMST_BRDeferred sales tax amount in the accounting currency, used for Brazil.Real
TaxAmount
NoNone
DeferredAmountRep_BRDeferred sales tax amount in the reporting currency, used for Brazil.Real
TaxAmountCur
NoNone
DeferredRate_BRRate used for deferred tax, used for Brazil.Real
TaxValue
NoNone
FiscalIndicator_BRFiscal indicator that shows whether the tax gives a credit or debit, used for Brazil.Enum
TaxFiscalIndicator_BR (enum)
NoNone
FiscalValue_BRFiscal value that shows whether the tax gives a credit or debit, used for Brazil.Enum
TaxFiscalValue_BR (enum)
NoNone
IsICMSDifferenceTax_BRYes/No flag for the ICMS difference percentage, used for Brazil.Enum
ICMSDifferenceTax_BR
NoYes (enum)
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
Quantity_BRQuantity used when calculating the IS tax, used for Brazil.Real
TaxQty
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
SourceDeferredAmount_BRDeferred tax amount, used for Brazil. The currency is not stated in the metadata.low confidenceReal
TaxAmountCur
NoNone
SpecificTaxAmount_BRTax amount from the specific unit rate for the IS tax, used for Brazil. The currency is not stated in the metadata.low confidenceReal
TaxAmountCur
NoNone
SpecificUnitRate_BRRate per unit used for the IS tax, used for Brazil.Real
TaxValue
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAmountOther_BROther tax amount, used for Brazil.Real
TaxAmountCur
NoNone
TaxationCode_BRTaxation code of the record, used for Brazil.String (3)
TaxationCode_BR
NoNone
TaxationOrigin_BROrigin of the goods for taxation, such as national or imported, used for Brazil.Enum
FITaxationOrigin_BR (enum)
NoNone
TaxBaseAmountExempt_BRExempt part of the tax base, used for Brazil.Real
TaxBaseCur
NoNone
TaxBaseAmountOther_BROther part of the tax base, used for Brazil.Real
TaxBaseCur
NoNone
TaxReceivableLongTerm_BRYes/No flag for posting the tax as a long-term receivable, used for Brazil.Enum
TaxReceivableLongTerm_BR
NoYes (enum)
NoNone
TaxReductionPct_BRPercentage by which the tax is reduced, used for Brazil.Real
TaxValue
NoNone
TaxSalesOffsetLedgerDimension_BRLedger account for the sales offset, pointing to a dimension combination, used for Brazil.Int64
LedgerDimensionAccount
NoDimensionAttributeValueCombination.RecIdNone
TaxSubstitution_BRTax substitution method, such as markup or simplified estimate, used for Brazil.Enum
TaxSubstitution_BR
TaxSubstitutionEnum_BR (enum)
NoNone
TaxTransPoints to the related posted sales tax history record.Int64
TaxTransRefRecId
NoTaxTransHistory.RecIdNone
TaxType_BRKind of Brazilian tax, such as IPI, PIS, ICMS, COFINS or ISS.Enum
TaxType_BR (enum)
NoNone
TaxValueDiff_BRPercentage used as the tax reduction difference, used for Brazil. It has the same label as the tax reduction field.low confidenceReal
TaxValue
NoNone
Unit_BRUnit of measure used when calculating the IS tax, used for Brazil.String
UnitOfMeasureSymbol
NoNone

Indexes (1)

  • TaxTransIdx

    TaxTrans

    Unique, alternate key.

Relations (3)

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

  • TaxSalesOffsetLedgerDimension_BR → DimensionAttributeValueCombination

    Join on TaxSalesOffsetLedgerDimension_BR = DimensionAttributeValueCombination.RecId

    Many TaxTransHistory_BR records → zero or one DimensionAttributeValueCombination record

  • TaxTrans → TaxTransHistory

    Join on TaxTrans = TaxTransHistory.RecId

    Zero or one TaxTransHistory_BR record → exactly one TaxTransHistory record

  • CClassTribTable_BR → CClassTribTable_BR

    Join on CClassTrib = CClassTribTable_BR.RecId

    Many 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.

Email sales@drdynamics.co.uk