Table

FiscalDocumentTaxTrans_BR

Fiscal document taxes

Holds the taxes on a Brazilian fiscal document. Each record is one tax, such as IPI, PIS, ICMS or COFINS, on a fiscal document line or a miscellaneous charge. It links to the posted sales tax transaction and has base, rate and amount fields.

Table name
FiscalDocumentTaxTrans_BR
Module
Fiscal books brazil
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
FiscalBooks

Fields (30)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CClassTribcClassTrib classification code, linked to the Brazilian tax reform and the IBS and CBS taxes. It points to a cClassTrib record.Int64
CClassTribRecId_BR
NoCClassTribTable_BR.RecIdNone
CClassTribSuspensioncClassTrib classification code used for suspension. It points to a cClassTrib record.Int64
cClassTribSuspensionRecId_BR
NoCClassTribTable_BR.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DisplayTaxValueTax rate or value shown to the user.low confidenceReal
TaxValue
NoNone
FiscalDocumentLineSystem record ID of the fiscal document line the tax belongs to.Int64
FiscalDocumentLineRecId_BR
NoFiscalDocumentLine_BR.RecIdNone
FiscalDocumentMiscChargeSystem record ID of the miscellaneous charge the tax belongs to.Int64
RefRecId
NoFiscalDocumentMiscCharge_BR.RecIdNone
FiscalIndicatorFiscal indicator showing whether the tax gives a credit or debit.Enum
TaxFiscalIndicator_BR (enum)
NoNone
FiscalValueFiscal value code showing whether the tax gives a credit or debit.Enum
TaxFiscalValue_BR (enum)
NoNone
IncludedTaxYes/No flag showing whether the tax is included.Enum
NoYes (enum)
NoNone
NoPostingTaxAmountSales tax amount that is not posted.low confidenceReal
TaxAmount
NoNone
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
RetainedTaxYes/No flag showing whether the tax is retained or to be recovered.Enum
NoYes (enum)
NoNone
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
TaxAmountTaxable amount.low confidenceReal
TaxAmount
NoNone
TaxAmountOtherTax amount for the "other" part.Real
TaxAmount
NoNone
TaxationCodeTaxation code of the tax.String (3)
TaxationCode_BR
NoNone
TaxationOriginOrigin of the goods for taxation, such as national or imported.Enum
FITaxationOrigin_BR (enum)
NoNone
TaxBaseAmountBase amount on which the tax is worked out.Real
TaxBaseCur
NoNone
TaxBaseAmountExemptPart of the base amount that is exempt.Real
TaxBaseCur
NoNone
TaxBaseAmountOtherPart of the base amount classed as other.Real
TaxBaseCur
NoNone
TaxExemptCodeExempt code for the tax. It points to a sales tax exempt code.String
TaxExemptCode_BR
NoTaxExemptCodeTable.ExemptCodeNone
TaxNonRecoverablePctPercentage of the tax that cannot be recovered.Real
TaxValue
NoNone
TaxReductionPctPercentage by which the tax is reduced.Real
TaxValue
NoNone
TaxSubstitutionMarkupPctPercentage used for tributary substitution.Real
TaxValue
NoNone
TaxTransSystem record ID of the posted sales tax transaction.Int64
TaxTransRecId
NoTaxTrans.RecIdNone
TaxValueTax rate or value.Real
TaxValue
NoNone
TypeKind of tax, such as IPI, PIS, ICMS, COFINS, ISS, IRRF or INSS.Enum
TaxType_BR (enum)
NoNone

Indexes (4)

Relations (6)

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

  • FiscalDocumentLine → FiscalDocumentLine_BR

    Join on FiscalDocumentLine = FiscalDocumentLine_BR.RecId

    Many FiscalDocumentTaxTrans_BR records → zero or one FiscalDocumentLine_BR record

  • FiscalDocumentMiscCharge → FiscalDocumentMiscCharge_BR

    Join on FiscalDocumentMiscCharge = FiscalDocumentMiscCharge_BR.RecId

    Many FiscalDocumentTaxTrans_BR records → zero or one FiscalDocumentMiscCharge_BR record

  • CClassTribTable → CClassTribTable_BR

    Join on CClassTrib = CClassTribTable_BR.RecId

    Many FiscalDocumentTaxTrans_BR records → zero or one CClassTribTable_BR record

  • CClassTribTableSuspension → CClassTribTable_BR

    Join on CClassTribSuspension = CClassTribTable_BR.RecId

    Many FiscalDocumentTaxTrans_BR records → zero or one CClassTribTable_BR record

  • TaxTrans → TaxTrans

    Join on TaxTrans = TaxTrans.RecId

    Many FiscalDocumentTaxTrans_BR records → zero or one TaxTrans record

  • TaxExemptCodeTable → TaxExemptCodeTable

    Join on TaxExemptCode = TaxExemptCodeTable.ExemptCode

    Many FiscalDocumentTaxTrans_BR records → zero or one TaxExemptCodeTable record

Get this data out

No public entity reads from FiscalDocumentTaxTrans_BR. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk