Table

FBTaxTrans_BR

Tax assessment details

Tax assessment detail lines for Brazil. Each line holds tax amounts, base amounts, tax type, CFOP and classification. It links to the source: a fiscal document, an adjustment, a withholding tax, a non-fiscal operation or a retail receipt. Used for Brazil.

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

Fields (39)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CClassTribClassification code of the taxpayer (cClassTrib), used for the tax reform and for IBS and CBS.Int64
CClassTribRecId_BR
NoNone
CFOPCFOP code of the operation.String (5)
SalesPurchCFOPId_BR
NoFBTaxAssessmentReformInquiry_BREntity
ClassificationRole of the line in the assessment, such as debit, credit, adjustment, deduction or balance.Enum
FBTaxAssessmentClassification_BR (enum)
NoFBTaxAssessmentReformInquiry_BREntity
FBContribCreditControlDetail_BRPoints to a tax credit detail record.Int64
RefRecId
NoFBContribCreditControlDetail_BR.RecIdNone
FBFiscalDocumentAdjustment_BRPoints to a fiscal document adjustment record.Int64
RefRecId
NoFBFiscalDocumentAdjustment_BR.RecIdNone
FBNonFiscalOperation_BRPoints to a non-fiscal operation reported in the SPED file.Int64
RefRecId
NoFBNonFiscalOperation_BR.RecIdNone
FBNonFiscalOperationTaxTrans_BRPoints to a tax transaction of a non-fiscal operation.Int64
RefRecId
NoFBNonFiscalOperationTaxTrans_BR.RecIdNone
FBTaxAssessment_BRPoints to the tax assessment record that this line belongs to.Int64
RefRecId
NoFBTaxAssessment_BR.RecIdFBTaxAssessmentReformInquiry_BREntity
FBTaxAssessmentAdjustment_BRPoints to a general tax adjustment record.Int64
RefRecId
NoFBTaxAssessmentAdjustment_BR.RecIdNone
FBTaxWithholdTrans_BRPoints to a withholding tax record reported in the SPED file.Int64
RefRecId
NoFBTaxWithholdTrans_BR.RecIdNone
FBTaxWithholdTransCreditDetail_BRPoints to a withholding tax credit record.Int64
RefRecId
NoFBTaxWithholdTransCreditDetail_BR.RecIdNone
FinancialLedgerDimensionLedger account (dimension combination) for the line.Int64
LedgerDimensionAccount
NoDimensionAttributeValueCombination.RecIdNone
FiscalDocument_BRPoints to the fiscal document header.Int64
RefRecId
NoFiscalDocument_BR.RecIdNone
FiscalDocumentTaxTrans_BRPoints to the fiscal document tax line.Int64
RefRecId
NoFiscalDocumentTaxTrans_BR.RecIdFBTaxAssessmentReformInquiry_BREntity
FiscalEstablishmentDataAreaCompany of the fiscal establishment.String
SelectableDataArea
NoFBTaxAssessmentReformInquiry_BREntity
FiscalEstablishmentIdIdentifier of the fiscal establishment.String
FBFiscalEstablishmentId_BR
NoNone
LineAmountAmount of the fiscal document line.Real
FiscalDocumentLineAmount_BR
NoNone
NoPostingTaxAmountSales tax amount that is not posted.low confidenceReal
TaxAmount
NoFBTaxAssessmentReformInquiry_BREntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PisCofinsRevenueClassificationRevenue classification for PIS/COFINS: none, internal market or external market.Enum
FBPISCofinsRevenueClassification_BR (enum)
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
NoFBTaxAssessmentReformInquiry_BREntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RetailFiscalReceiptTaxTrans_BRPoints to a retail fiscal receipt tax transaction.Int64
RefRecId
NoRetailFiscalReceiptTaxTrans_BR.RecIdNone
RetailZReportTotalizerTaxTrans_BRPoints to a Z report totalizer tax transaction.Int64
RefRecId
NoRetailZReportTotalizerTaxTrans_BR.RecIdNone
RevenueSourcePISCOFINSSource of revenue for PIS/COFINS, up to three characters.String (3)
FBRevenueSource_BR
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAmountTax amount in the company currency.Real
AmountMST
NoFBTaxAssessmentReformInquiry_BREntity
TaxationCodeTaxation code of up to three characters.String (3)
TaxationCode_BR
NoNone
TaxBaseAmountAmount on which the tax is based.Real
TaxBaseCur
NoFBTaxAssessmentReformInquiry_BREntity
TaxBaseAmountExemptBase amount that is exempt from tax.Real
TaxBaseCur
NoNone
TaxBaseAmountOtherOther base amount outside the main and exempt bases.Real
TaxBaseCur
NoNone
TaxTypeType of tax, for example IPI, PIS, ICMS or COFINS.Enum
TaxType_BR (enum)
NoFBTaxAssessmentReformInquiry_BREntity
TaxValueTax value, such as a rate.Real
TaxValue
NoNone
TotalTaxAmountTotal tax amount in the company currency.Real
AmountMST
NoNone
VoucherVoucher number of the related transaction.String (20)
Voucher
NoNone
VoucherDataAreaCompany of the voucher.String
DataAreaId
NoNone
VoucherTransDateTransaction date of the voucher.Date
TransDate
NoNone
WithholdingTaxYes/No flag showing that the line is a withholding tax.Enum
NoYesId
NoYes (enum)
NoNone
WithholdingTaxAmountWithholding tax amount in the company currency.Real
AmountMST
NoNone

Indexes (7)

Relations (13)

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

  • FBFiscalDocumentAdjustment_BR → FBFiscalDocumentAdjustment_BR

    Join on FBFiscalDocumentAdjustment_BR = FBFiscalDocumentAdjustment_BR.RecId

    Many FBTaxTrans_BR records → zero or one FBFiscalDocumentAdjustment_BR record

  • FBTaxAssessment_BR → FBTaxAssessment_BR

    Join on FBTaxAssessment_BR = FBTaxAssessment_BR.RecId

    One or more FBTaxTrans_BR records → zero or one FBTaxAssessment_BR record

  • FBTaxAssessmentAdjustment_BR → FBTaxAssessmentAdjustment_BR

    Join on FBTaxAssessmentAdjustment_BR = FBTaxAssessmentAdjustment_BR.RecId

    Many FBTaxTrans_BR records → zero or one FBTaxAssessmentAdjustment_BR record

  • FiscalDocument_BR → FiscalDocument_BR

    Join on FiscalDocument_BR = FiscalDocument_BR.RecId

    Many FBTaxTrans_BR records → zero or one FiscalDocument_BR record

  • FiscalDocumentTaxTrans_BR → FiscalDocumentTaxTrans_BR

    Join on FiscalDocumentTaxTrans_BR = FiscalDocumentTaxTrans_BR.RecId

    Many FBTaxTrans_BR records → zero or one FiscalDocumentTaxTrans_BR record

  • DimensionAttributeValueCombination → DimensionAttributeValueCombination

    Join on FinancialLedgerDimension = DimensionAttributeValueCombination.RecId

    Many FBTaxTrans_BR records → zero or one DimensionAttributeValueCombination record

  • RetailFiscalReceiptTaxTrans_BR → RetailFiscalReceiptTaxTrans_BR

    Join on RetailFiscalReceiptTaxTrans_BR = RetailFiscalReceiptTaxTrans_BR.RecId

    Many FBTaxTrans_BR records → zero or one RetailFiscalReceiptTaxTrans_BR record

  • FBNonFiscalOperation_BR → FBNonFiscalOperation_BR

    Join on FBNonFiscalOperation_BR = FBNonFiscalOperation_BR.RecId

    Many FBTaxTrans_BR records → zero or one FBNonFiscalOperation_BR record

  • FBNonFiscalOperationTaxTrans_BR → FBNonFiscalOperationTaxTrans_BR

    Join on FBNonFiscalOperationTaxTrans_BR = FBNonFiscalOperationTaxTrans_BR.RecId

    Many FBTaxTrans_BR records → zero or one FBNonFiscalOperationTaxTrans_BR record

  • FBTaxWithholdTrans_BR → FBTaxWithholdTrans_BR

    Join on FBTaxWithholdTrans_BR = FBTaxWithholdTrans_BR.RecId

    Many FBTaxTrans_BR records → zero or one FBTaxWithholdTrans_BR record

  • FBTaxWithholdTransCreditDetail_BR → FBTaxWithholdTransCreditDetail_BR

    Join on FBTaxWithholdTransCreditDetail_BR = FBTaxWithholdTransCreditDetail_BR.RecId

    Exactly one FBTaxTrans_BR record → zero or one FBTaxWithholdTransCreditDetail_BR record

  • RetailZReportTotalizerTaxTrans_BR → RetailZReportTotalizerTaxTrans_BR

    Join on RetailZReportTotalizerTaxTrans_BR = RetailZReportTotalizerTaxTrans_BR.RecId

    Many FBTaxTrans_BR records → zero or one RetailZReportTotalizerTaxTrans_BR record

  • FBContribCreditControlDetail_BR → FBContribCreditControlDetail_BR

    Join on FBContribCreditControlDetail_BR = FBContribCreditControlDetail_BR.RecId

    Exactly one FBTaxTrans_BR record → zero or one FBContribCreditControlDetail_BR record

Get this data out

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

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

Email sales@drdynamics.co.uk