Table
FBParametersPerState_BR
Fiscal books parameters per state
Setup table used for Brazil that keeps fiscal books settings separately for each state. Each record is identified by country or region and state. Other fields in the table link to journal names, CFOP groups, adjustment codes and observation codes.
- Table name
FBParametersPerState_BR- Module
Fiscal books brazil- Table group
Parameter- Table type
Regular- Data per company
No- Configuration key
None- Primary index
StateIdx- Replacement key
None- Key fields
CountryRegionId, StateId- Model
FiscalBooks
Fields (43)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CountryRegionIdCountry or region of the state. Part of the key and points to the state record. | StringLogisticsAddressCountryRegionId | No | LogisticsAddressState.CountryRegionId | None |
StateIdState that the parameters apply to. Part of the key and points to the state record. | StringLogisticsAddressStateId | No | LogisticsAddressState.StateId | FiscalBooksParametersPerStateEntity |
Block1900Yes/No option to generate block 1900 and its child records. | EnumNoYesIdNoYes (enum) | No | None | |
CAT66AdjustmentCodeIPITablePoints to the IPI adjustment code used for the IPI-related C197 record. | Int64FBGeneralAdjustmentCodeRecId_BR | No | FBGeneralAdjustmentCodeIPI_BR.RecId | None |
CAT66AjustmentCodeBasePoints to the adjustment code for ICMS-ST tax base in record C197 of the GIA/SP report. | Int64FBGeneralAdjustmentCodeRecId_BR | No | FBFiscalDocumentAdjustmentCodeICMS_BR.RecId | None |
CAT66AjustmentCodeIPIPoints to the adjustment code for IPI in record C197 of the GIA/SP report. | Int64FBGeneralAdjustmentCodeRecId_BR | No | FBFiscalDocumentAdjustmentCodeICMS_BR.RecId | None |
CAT66AjustmentCodeValuePoints to the adjustment code for ICMS-ST tax in record C197 of the GIA/SP report. | Int64FBGeneralAdjustmentCodeRecId_BR | No | FBFiscalDocumentAdjustmentCodeICMS_BR.RecId | None |
CAT66CFOPGroupPoints to the CFOP group used to filter the CAT66 setup. | Int64RefRecId | No | FBCFOPGroupHeading_BR.RecId | None |
CAT66IPIValueIPI tax rate value used for the IPI-related C197 record. | RealTaxValue | No | None | |
CAT66ObservationCodePoints to the observation code used for the CAT66 setup. | Int64FBObservationCodeRecId_BR | No | FBObservationCodeTable_BR.RecId | None |
CIAPCalculateInstallmentForOutgoingYes/No option to calculate the CIAP installment for outgoing transactions. | EnumNoYesIdNoYes (enum) | No | FiscalBooksParametersPerStateEntity | |
Consolidate1923ForOutgoingYes/No option to consolidate record 1923 by fiscal document for outgoing sales to final consumers. | EnumNoYesIdNoYes (enum) | No | None | |
EnableC180C185Yes/no switch that turns on the C180 and C185 records for this state. These records cover the ICMS ST tax complement and restitution. | EnumNoYesIdNoYes (enum) | No | None | |
EnableC181C186Yes/no switch that turns on the C181 and C186 records for this state. These records also cover the ICMS ST tax complement and restitution. | EnumNoYesIdNoYes (enum) | No | None | |
EnableDocumentAdjustmentYes/No option to process document adjustments under Resolution 13/2019. | EnumNoYesIdNoYes (enum) | No | None | |
FBSubTaxAssessment_BRSub tax assessment indicator, from Assessment 1 to Assessment 6. | EnumFBSubTaxAssessment_BR (enum) | No | None | |
GenerateC176RecordYes/No option to generate record C176. | EnumNoYes (enum) | No | None | |
GroupICMSDifPaymentByDocumentYes/No option to combine ICMS-DIF and FCP into one payment for each fiscal document. | EnumNoYes (enum) | No | None | |
ICMSAdjustmentByFiscalDocumentYes/No option to handle ICMS adjustments by fiscal document. | EnumNoYesIdNoYes (enum) | No | FiscalBooksParametersPerStateEntity | |
ICMSFBObservationCodeTablePoints to the observation code used for ICMS. | Int64FBObservationCodeRecId_BR | No | FBObservationCodeTable_BR.RecId | FiscalBooksParametersPerStateEntity |
ICMSFiscalDocumentAdjCodeFixedAssetPoints to the fiscal document adjustment code used for fixed assets. | Int64FBFiscalDocumentAdjustmentCodeRecId_BR | No | FBFiscalDocumentAdjustmentCodeICMS_BR.RecId | FiscalBooksParametersPerStateEntity |
ICMSFiscalDocumentAdjustmentCodePoints to the fiscal document adjustment code used for item consumption. | Int64FBFiscalDocumentAdjustmentCodeRecId_BR | No | FBFiscalDocumentAdjustmentCodeICMS_BR.RecId | FiscalBooksParametersPerStateEntity |
ICMSGeneralAdjustmentCodePoints to the general adjustment code used for item consumption. | Int64FBGeneralAdjustmentCodeRecId_BR | No | FBGeneralAdjustmentCode_BR.RecId | FiscalBooksParametersPerStateEntity |
ICMSGeneralAdjustmentCodeComplementPoints to the record 1921 adjustment code for the complement (reverse) amount. | Int64FBGeneralAdjustmentCodeRecId_BR | No | FBGeneralAdjustmentCodeICMS_BR.RecId | None |
ICMSGeneralAdjustmentCodeComplementE220Points to the record E220 adjustment code for the complement amount. | Int64FBGeneralAdjustmentCodeRecId_BR | No | FBGeneralAdjustmentCodeICMS_BR.RecId | None |
ICMSGeneralAdjustmentCodeCreditInventoryPoints to the record 1921 adjustment code for credit on inventory subject to ICMS-ST. | Int64FBGeneralAdjustmentCodeRecId_BR | No | FBGeneralAdjustmentCodeICMS_BR.RecId | None |
ICMSGeneralAdjustmentCodeCreditReversalPoints to the record 1921 adjustment code for credit reversal on outgoing documents to non-final consumers, or exempt or non-taxable ones. | Int64FBGeneralAdjustmentCodeRecId_BR | No | FBGeneralAdjustmentCodeICMS_BR.RecId | None |
ICMSGeneralAdjustmentCodeFixedAssetPoints to the ICMS general adjustment code used for fixed assets. | Int64FBGeneralAdjustmentCodeRecId_BR | No | FBGeneralAdjustmentCodeICMS_BR.RecId | FiscalBooksParametersPerStateEntity |
ICMSGeneralAdjustmentCodeRestitutionPoints to the record 1921 adjustment code for the restitution (reverse) amount. | Int64FBGeneralAdjustmentCodeRecId_BR | No | FBGeneralAdjustmentCodeICMS_BR.RecId | None |
ICMSGeneralAdjustmentCodeRestitutionE111Points to the record E111 adjustment code for the restitution amount. | Int64FBGeneralAdjustmentCodeRecId_BR | No | FBGeneralAdjustmentCodeICMS_BR.RecId | None |
ICMSGeneralAdjustmentCodeTaxableIncomingPoints to the record 1921 adjustment code for credit on incoming documents subject to ICMS-ST. | Int64FBGeneralAdjustmentCodeRecId_BR | No | FBGeneralAdjustmentCodeICMS_BR.RecId | None |
ICMSGeneralAdjustmentCodeTaxableOutgoingPoints to the record 1921 adjustment code for debit on outgoing documents to final consumers subject to ICMS-ST. | Int64FBGeneralAdjustmentCodeRecId_BR | No | FBGeneralAdjustmentCodeICMS_BR.RecId | None |
IsRetailCompanyYes/No option to use the retail company method for presumed credit. | EnumNoYesIdNoYes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PresumedCreditYes/No option to turn on the ICMS presumed credit function. | EnumNoYes (enum) | No | None | |
PresumedTaxAlgorithmMethod for presumed tax: last purchase or average. | EnumPresumedTaxAlgorithm_BR (enum) | No | None | |
PresumedTaxAlgorithmSPEDMethod used to recalculate presumed tax for SPED: last purchase or average. | EnumPresumedTaxAlgorithm_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 | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SubTaxAssesmentLedgerJournalNameIdPoints to the journal name for restitution or complement adjustments in the general ledger. | StringLedgerJournalNameId | No | LedgerJournalName.JournalName | None |
SubTaxAssessmentDescriptionExtra description of the sub tax assessment, reported in record 1900. | String (60)Description | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxAdjustmentJournalNamePoints to the journal name used for adjustments. | StringLedgerJournalNameId | No | LedgerJournalName.JournalName | None |
Indexes (1)
StateIdxPrimary indexUnique.
Relations (24)
Each relation joins FBParametersPerState_BR to another table on the fields shown.
FBFiscalDocumentAdjustmentCodeICMS_BR→FBFiscalDocumentAdjustmentCodeICMS_BRJoin on
ICMSFiscalDocumentAdjustmentCode = FBFiscalDocumentAdjustmentCodeICMS_BR.RecIdMany FBParametersPerState_BR records → zero or one FBFiscalDocumentAdjustmentCodeICMS_BR record
FBGeneralAdjustmentCode_BR→FBGeneralAdjustmentCode_BRJoin on
ICMSGeneralAdjustmentCode = FBGeneralAdjustmentCode_BR.RecIdMany FBParametersPerState_BR records → exactly one FBGeneralAdjustmentCode_BR record
FBObservationCodeTable_BR→FBObservationCodeTable_BRJoin on
ICMSFBObservationCodeTable = FBObservationCodeTable_BR.RecIdMany FBParametersPerState_BR records → exactly one FBObservationCodeTable_BR record
ICMSFiscalDocumentAdjCodeFixedAsset→FBFiscalDocumentAdjustmentCodeICMS_BRJoin on
ICMSFiscalDocumentAdjCodeFixedAsset = FBFiscalDocumentAdjustmentCodeICMS_BR.RecIdMany FBParametersPerState_BR records → zero or one FBFiscalDocumentAdjustmentCodeICMS_BR record
ICMSGeneralAdjustmentCodeFixedAsset→FBGeneralAdjustmentCodeICMS_BRJoin on
ICMSGeneralAdjustmentCodeFixedAsset = FBGeneralAdjustmentCodeICMS_BR.RecIdMany FBParametersPerState_BR records → zero or one FBGeneralAdjustmentCodeICMS_BR record
LogisticsAddressState→LogisticsAddressStateJoin on
StateId = LogisticsAddressState.StateId,CountryRegionId = LogisticsAddressState.CountryRegionIdZero or one FBParametersPerState_BR record → zero or one LogisticsAddressState record
ICMSGeneralAdjustmentCodeTaxableOutgoing→FBGeneralAdjustmentCodeICMS_BRJoin on
ICMSGeneralAdjustmentCodeTaxableOutgoing = FBGeneralAdjustmentCodeICMS_BR.RecIdMany FBParametersPerState_BR records → zero or one FBGeneralAdjustmentCodeICMS_BR record
ICMSGeneralAdjustmentCodeTaxableIncoming→FBGeneralAdjustmentCodeICMS_BRJoin on
ICMSGeneralAdjustmentCodeTaxableIncoming = FBGeneralAdjustmentCodeICMS_BR.RecIdMany FBParametersPerState_BR records → zero or one FBGeneralAdjustmentCodeICMS_BR record
ICMSGeneralAdjustmentCodeCreditReversal→FBGeneralAdjustmentCodeICMS_BRJoin on
ICMSGeneralAdjustmentCodeCreditReversal = FBGeneralAdjustmentCodeICMS_BR.RecIdMany FBParametersPerState_BR records → zero or one FBGeneralAdjustmentCodeICMS_BR record
ICMSGeneralAdjustmentCodeCreditInventory→FBGeneralAdjustmentCodeICMS_BRJoin on
ICMSGeneralAdjustmentCodeCreditInventory = FBGeneralAdjustmentCodeICMS_BR.RecIdMany FBParametersPerState_BR records → zero or one FBGeneralAdjustmentCodeICMS_BR record
ICMSGeneralAdjustmentCodeComplement→FBGeneralAdjustmentCodeICMS_BRJoin on
ICMSGeneralAdjustmentCodeComplement = FBGeneralAdjustmentCodeICMS_BR.RecIdMany FBParametersPerState_BR records → zero or one FBGeneralAdjustmentCodeICMS_BR record
ICMSGeneralAdjustmentCodeRestitution→FBGeneralAdjustmentCodeICMS_BRJoin on
ICMSGeneralAdjustmentCodeRestitution = FBGeneralAdjustmentCodeICMS_BR.RecIdMany FBParametersPerState_BR records → zero or one FBGeneralAdjustmentCodeICMS_BR record
ICMSGeneralAdjustmentCodeComplementE220→FBGeneralAdjustmentCodeICMS_BRJoin on
ICMSGeneralAdjustmentCodeComplementE220 = FBGeneralAdjustmentCodeICMS_BR.RecIdMany FBParametersPerState_BR records → zero or one FBGeneralAdjustmentCodeICMS_BR record
ICMSGeneralAdjustmentCodeRestitutionE111→FBGeneralAdjustmentCodeICMS_BRJoin on
ICMSGeneralAdjustmentCodeRestitutionE111 = FBGeneralAdjustmentCodeICMS_BR.RecIdMany FBParametersPerState_BR records → zero or one FBGeneralAdjustmentCodeICMS_BR record
CAT66AjustmentCodeIPI→FBFiscalDocumentAdjustmentCodeICMS_BRJoin on
CAT66AjustmentCodeIPI = FBFiscalDocumentAdjustmentCodeICMS_BR.RecId,FBFiscalDocumentAdjustmentCodeICMS_BR.TaxType = TaxType_BR::ICMSSTExactly one FBParametersPerState_BR record → zero or one FBFiscalDocumentAdjustmentCodeICMS_BR record
CAT66AjustmentCodeBaseIncoming→FBFiscalDocumentAdjustmentCodeICMS_BRJoin on
CAT66AjustmentCodeBase = FBFiscalDocumentAdjustmentCodeICMS_BR.RecId,FBFiscalDocumentAdjustmentCodeICMS_BR.TaxType = TaxType_BR::ICMSSTMany FBParametersPerState_BR records → zero or one FBFiscalDocumentAdjustmentCodeICMS_BR record
CAT66AjustmentCodeValueIncoming→FBFiscalDocumentAdjustmentCodeICMS_BRJoin on
CAT66AjustmentCodeValue = FBFiscalDocumentAdjustmentCodeICMS_BR.RecId,FBFiscalDocumentAdjustmentCodeICMS_BR.TaxType = TaxType_BR::ICMSSTMany FBParametersPerState_BR records → zero or one FBFiscalDocumentAdjustmentCodeICMS_BR record
CAT66AjustmentCodeBaseOutgoing→FBFiscalDocumentAdjustmentCodeICMS_BRJoin on
FBFiscalDocumentAdjustmentCodeICMS_BR.TaxType = TaxType_BR::ICMSSTMany FBParametersPerState_BR records → zero or one FBFiscalDocumentAdjustmentCodeICMS_BR record
CAT66AjustmentCodeValueOutgoing→FBFiscalDocumentAdjustmentCodeICMS_BRJoin on
FBFiscalDocumentAdjustmentCodeICMS_BR.TaxType = TaxType_BR::ICMSSTMany FBParametersPerState_BR records → zero or one FBFiscalDocumentAdjustmentCodeICMS_BR record
CAT66ObservationCode→FBObservationCodeTable_BRJoin on
CAT66ObservationCode = FBObservationCodeTable_BR.RecIdMany FBParametersPerState_BR records → zero or one FBObservationCodeTable_BR record
FBCFOPGroupHeading_BR→FBCFOPGroupHeading_BRJoin on
CAT66CFOPGroup = FBCFOPGroupHeading_BR.RecIdMany FBParametersPerState_BR records → zero or one FBCFOPGroupHeading_BR record
CAT66AjustmentCodeIPITable→FBGeneralAdjustmentCodeIPI_BRJoin on
CAT66AdjustmentCodeIPITable = FBGeneralAdjustmentCodeIPI_BR.RecIdCardinality not set in the metadata.
SubTaxAssesmentLedgerJournalNameId→LedgerJournalNameJoin on
SubTaxAssesmentLedgerJournalNameId = LedgerJournalName.JournalName,LedgerJournalName.JournalType = LedgerJournalType::FBTaxAssessmentAdjustments_BRMany FBParametersPerState_BR records → zero or one LedgerJournalName record
LedgerJournalName→LedgerJournalNameJoin on
TaxAdjustmentJournalName = LedgerJournalName.JournalName,LedgerJournalName.JournalType = LedgerJournalType::FBTaxAssessmentAdjustments_BRMany FBParametersPerState_BR records → exactly one LedgerJournalName record
Get this data out
Tables are not exposed directly. These public entities read from FBParametersPerState_BR; use one of them in Power BI, Power Platform or a data management project.
FiscalBooksParametersPerStateEntity· 8 fields from this table
Need help with FBParametersPerState_BR in a report, an integration or a migration? Talk to Dr Dynamics.