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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CClassTribClassification code of the taxpayer (cClassTrib), used for the tax reform and for IBS and CBS. | Int64CClassTribRecId_BR | No | None | |
CFOPCFOP code of the operation. | String (5)SalesPurchCFOPId_BR | No | FBTaxAssessmentReformInquiry_BREntity | |
ClassificationRole of the line in the assessment, such as debit, credit, adjustment, deduction or balance. | EnumFBTaxAssessmentClassification_BR (enum) | No | FBTaxAssessmentReformInquiry_BREntity | |
FBContribCreditControlDetail_BRPoints to a tax credit detail record. | Int64RefRecId | No | FBContribCreditControlDetail_BR.RecId | None |
FBFiscalDocumentAdjustment_BRPoints to a fiscal document adjustment record. | Int64RefRecId | No | FBFiscalDocumentAdjustment_BR.RecId | None |
FBNonFiscalOperation_BRPoints to a non-fiscal operation reported in the SPED file. | Int64RefRecId | No | FBNonFiscalOperation_BR.RecId | None |
FBNonFiscalOperationTaxTrans_BRPoints to a tax transaction of a non-fiscal operation. | Int64RefRecId | No | FBNonFiscalOperationTaxTrans_BR.RecId | None |
FBTaxAssessment_BRPoints to the tax assessment record that this line belongs to. | Int64RefRecId | No | FBTaxAssessment_BR.RecId | FBTaxAssessmentReformInquiry_BREntity |
FBTaxAssessmentAdjustment_BRPoints to a general tax adjustment record. | Int64RefRecId | No | FBTaxAssessmentAdjustment_BR.RecId | None |
FBTaxWithholdTrans_BRPoints to a withholding tax record reported in the SPED file. | Int64RefRecId | No | FBTaxWithholdTrans_BR.RecId | None |
FBTaxWithholdTransCreditDetail_BRPoints to a withholding tax credit record. | Int64RefRecId | No | FBTaxWithholdTransCreditDetail_BR.RecId | None |
FinancialLedgerDimensionLedger account (dimension combination) for the line. | Int64LedgerDimensionAccount | No | DimensionAttributeValueCombination.RecId | None |
FiscalDocument_BRPoints to the fiscal document header. | Int64RefRecId | No | FiscalDocument_BR.RecId | None |
FiscalDocumentTaxTrans_BRPoints to the fiscal document tax line. | Int64RefRecId | No | FiscalDocumentTaxTrans_BR.RecId | FBTaxAssessmentReformInquiry_BREntity |
FiscalEstablishmentDataAreaCompany of the fiscal establishment. | StringSelectableDataArea | No | FBTaxAssessmentReformInquiry_BREntity | |
FiscalEstablishmentIdIdentifier of the fiscal establishment. | StringFBFiscalEstablishmentId_BR | No | None | |
LineAmountAmount of the fiscal document line. | RealFiscalDocumentLineAmount_BR | No | None | |
NoPostingTaxAmountSales tax amount that is not posted.low confidence | RealTaxAmount | No | FBTaxAssessmentReformInquiry_BREntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PisCofinsRevenueClassificationRevenue classification for PIS/COFINS: none, internal market or external market. | EnumFBPISCofinsRevenueClassification_BR (enum) | 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 | FBTaxAssessmentReformInquiry_BREntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RetailFiscalReceiptTaxTrans_BRPoints to a retail fiscal receipt tax transaction. | Int64RefRecId | No | RetailFiscalReceiptTaxTrans_BR.RecId | None |
RetailZReportTotalizerTaxTrans_BRPoints to a Z report totalizer tax transaction. | Int64RefRecId | No | RetailZReportTotalizerTaxTrans_BR.RecId | None |
RevenueSourcePISCOFINSSource of revenue for PIS/COFINS, up to three characters. | String (3)FBRevenueSource_BR | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxAmountTax amount in the company currency. | RealAmountMST | No | FBTaxAssessmentReformInquiry_BREntity | |
TaxationCodeTaxation code of up to three characters. | String (3)TaxationCode_BR | No | None | |
TaxBaseAmountAmount on which the tax is based. | RealTaxBaseCur | No | FBTaxAssessmentReformInquiry_BREntity | |
TaxBaseAmountExemptBase amount that is exempt from tax. | RealTaxBaseCur | No | None | |
TaxBaseAmountOtherOther base amount outside the main and exempt bases. | RealTaxBaseCur | No | None | |
TaxTypeType of tax, for example IPI, PIS, ICMS or COFINS. | EnumTaxType_BR (enum) | No | FBTaxAssessmentReformInquiry_BREntity | |
TaxValueTax value, such as a rate. | RealTaxValue | No | None | |
TotalTaxAmountTotal tax amount in the company currency. | RealAmountMST | No | None | |
VoucherVoucher number of the related transaction. | String (20)Voucher | No | None | |
VoucherDataAreaCompany of the voucher. | StringDataAreaId | No | None | |
VoucherTransDateTransaction date of the voucher. | DateTransDate | No | None | |
WithholdingTaxYes/No flag showing that the line is a withholding tax. | EnumNoYesIdNoYes (enum) | No | None | |
WithholdingTaxAmountWithholding tax amount in the company currency. | RealAmountMST | No | None |
Indexes (7)
TaxAssessmentIdxFBTaxAssessment_BR,ClassificationNot unique.
TaxAssessmentCFOPIdxFBTaxAssessment_BR,CFOP,TaxationCodeNot unique.
FiscalDocumentTaxTransIdxNot unique.
RetailFiscalReceiptTaxTransIdxRetailFiscalReceiptTaxTrans_BRNot unique.
TaxTypeIdxNot unique.
ClassificationPisCofinsRevenueClassification,ClassificationNot unique.
VoucherIdxNot unique.
Relations (13)
Each relation joins FBTaxTrans_BR to another table on the fields shown.
FBFiscalDocumentAdjustment_BR→FBFiscalDocumentAdjustment_BRJoin on
FBFiscalDocumentAdjustment_BR = FBFiscalDocumentAdjustment_BR.RecIdMany FBTaxTrans_BR records → zero or one FBFiscalDocumentAdjustment_BR record
FBTaxAssessment_BR→FBTaxAssessment_BRJoin on
FBTaxAssessment_BR = FBTaxAssessment_BR.RecIdOne or more FBTaxTrans_BR records → zero or one FBTaxAssessment_BR record
FBTaxAssessmentAdjustment_BR→FBTaxAssessmentAdjustment_BRJoin on
FBTaxAssessmentAdjustment_BR = FBTaxAssessmentAdjustment_BR.RecIdMany FBTaxTrans_BR records → zero or one FBTaxAssessmentAdjustment_BR record
FiscalDocument_BR→FiscalDocument_BRJoin on
FiscalDocument_BR = FiscalDocument_BR.RecIdMany FBTaxTrans_BR records → zero or one FiscalDocument_BR record
FiscalDocumentTaxTrans_BR→FiscalDocumentTaxTrans_BRJoin on
FiscalDocumentTaxTrans_BR = FiscalDocumentTaxTrans_BR.RecIdMany FBTaxTrans_BR records → zero or one FiscalDocumentTaxTrans_BR record
DimensionAttributeValueCombination→DimensionAttributeValueCombinationJoin on
FinancialLedgerDimension = DimensionAttributeValueCombination.RecIdMany FBTaxTrans_BR records → zero or one DimensionAttributeValueCombination record
RetailFiscalReceiptTaxTrans_BR→RetailFiscalReceiptTaxTrans_BRJoin on
RetailFiscalReceiptTaxTrans_BR = RetailFiscalReceiptTaxTrans_BR.RecIdMany FBTaxTrans_BR records → zero or one RetailFiscalReceiptTaxTrans_BR record
FBNonFiscalOperation_BR→FBNonFiscalOperation_BRJoin on
FBNonFiscalOperation_BR = FBNonFiscalOperation_BR.RecIdMany FBTaxTrans_BR records → zero or one FBNonFiscalOperation_BR record
FBNonFiscalOperationTaxTrans_BR→FBNonFiscalOperationTaxTrans_BRJoin on
FBNonFiscalOperationTaxTrans_BR = FBNonFiscalOperationTaxTrans_BR.RecIdMany FBTaxTrans_BR records → zero or one FBNonFiscalOperationTaxTrans_BR record
FBTaxWithholdTrans_BR→FBTaxWithholdTrans_BRJoin on
FBTaxWithholdTrans_BR = FBTaxWithholdTrans_BR.RecIdMany FBTaxTrans_BR records → zero or one FBTaxWithholdTrans_BR record
FBTaxWithholdTransCreditDetail_BR→FBTaxWithholdTransCreditDetail_BRJoin on
FBTaxWithholdTransCreditDetail_BR = FBTaxWithholdTransCreditDetail_BR.RecIdExactly one FBTaxTrans_BR record → zero or one FBTaxWithholdTransCreditDetail_BR record
RetailZReportTotalizerTaxTrans_BR→RetailZReportTotalizerTaxTrans_BRJoin on
RetailZReportTotalizerTaxTrans_BR = RetailZReportTotalizerTaxTrans_BR.RecIdMany FBTaxTrans_BR records → zero or one RetailZReportTotalizerTaxTrans_BR record
FBContribCreditControlDetail_BR→FBContribCreditControlDetail_BRJoin on
FBContribCreditControlDetail_BR = FBContribCreditControlDetail_BR.RecIdExactly 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.
FBTaxAssessmentReformInquiry_BREntity· 10 fields from this table
Need help with FBTaxTrans_BR in a report, an integration or a migration? Talk to Dr Dynamics.