Data entity

FBFiscalDocumentAdjustmentCodeICMSEntity

Adjustment codes for ICMS tax on fiscal documents, used for Brazil. It is keyed by adjustment code. It stores the description, tax type, state, classification, validity dates and codes for SPED, GIA and Receita, and links to the type of tax benefit code.

Entity name
FBFiscalDocumentAdjustmentCodeICMSEntity
Public entity name
FBFiscalDocumentAdjustmentCodeICMS
OData collection
FBFiscalDocumentAdjustmentCodesICMS
Category
Reference
Module
Tax
Read-only
No
Data management enabled
Yes
Configuration key
None
Keys
AdjustmentCode
Staging table
FBFiscalDocumentAdjustmentCodeICMSStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/FBFiscalDocumentAdjustmentCodesICMS
Dataverse virtual table
mserp_fbfiscaldocumentadjustmentcodeicmsentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • FBFiscalDocumentAdjustmentCodeICMS_BR · root
  • TaxBenefitCodeType_BR · OuterJoin to FBFiscalDocumentAdjustmentCodeICMS_BR

Fields (19)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AdjustmentCodeUnique code that identifies the adjustment.String
FBFiscalDocumentTaxAdjustmentCode_BR
YesYesFBFiscalDocumentAdjustmentCodeICMS_BR.AdjustmentCode
DescriptionFree-text description of the adjustment code.String (255)
FBAdjustmentDescription_BR
YesYesFBFiscalDocumentAdjustmentCodeICMS_BR.Description
TaxTypeType of tax, for example IPI, PIS, ICMS or COFINS.Enum
TaxType_BR
  • Blank 0
  • IPI 8
  • PIS 1
  • ICMS 2
  • COFINS 3
  • ISS 4
  • IRRF 5
  • INSS 6
  • ImportTax 10
  • OtherTax 11
  • INSSRetained 12
  • CSLL 13
  • ICMSST 14
  • ICMSDiff 15
  • INSSCPRB 16
  • CBS 17
  • IBSCity 18
  • IBSState 19
  • IS 20
NoYesFBFiscalDocumentAdjustmentCodeICMS_BR.TaxType
Table52Yes/No choice between code Table 5.2 and Table 5.3 for the adjustment code.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesFBFiscalDocumentAdjustmentCodeICMS_BR.Table52
StateBrazilian state that the code applies to.String
LogisticsAddressStateId
YesYesFBFiscalDocumentAdjustmentCodeICMS_BR.State
ClassificationGroups the adjustment as a credit, debit, deduction, reversal or information item.Enum
FBFiscalDocumentClassificationICMS_BR
  • Credit 0
  • OtherCredit 1
  • DebitReversal 2
  • Debit 3
  • OtherDebit 4
  • CreditReversal 5
  • TaxDeduction 6
  • SpecialPurposeDebit 7
  • SpecialControl 8
  • Information 9
NoYesFBFiscalDocumentAdjustmentCodeICMS_BR.Classification
AssessmentTypeKind of assessment the adjustment relates to, such as own operation, ST operation or an informative entry.Enum
FBAdjustmentAssessmentType_BR
  • OwnOperation 0
  • TaxSubstitution 1
  • OtherAssessments 2
  • Assessment1 3
  • Assessment2 4
  • Assessment3 5
  • Assessment4 6
  • Assessment5 7
  • Assessment6 8
  • Informative 9
NoYesFBFiscalDocumentAdjustmentCodeICMS_BR.AssessmentType
ResponsibilityShows who is responsible: own, optional or informative.Enum
FBAdjustmentResponsibilityType_BR
  • Own 0
  • Optional 1
  • Informative 9
NoYesFBFiscalDocumentAdjustmentCodeICMS_BR.ResponsibilityType
TaxPaymentTypeHow the tax is paid, for example normal collection, spontaneous collection or collection by infraction.Enum
FBAdjustmentCollectionType_BR
  • ToAssess 0
  • Spontaneous 1
  • ByProceeding 2
  • FiscalIncentive 8
  • Informative 9
NoYesFBFiscalDocumentAdjustmentCodeICMS_BR.CollectionType
SourceTaxSource of the tax, such as goods, transportation, communication or electric power.Enum
FBAdjustmentSourceTaxationType_BR
  • Good 0
  • Transport 1
  • Communication 2
  • ElectricPower 3
  • Others 9
NoYesFBFiscalDocumentAdjustmentCodeICMS_BR.SourceTaxationType
OccurrenceCodeOccurrence code of up to seven characters linked to the adjustment.String (7)
FBFiscalDocumentAdjOccurrenceCode_BR
NoYesFBFiscalDocumentAdjustmentCodeICMS_BR.OccurrenceCode
SpedAdjustmentCodeAdjustment code as used in the SPED file.String
FBFiscalDocumentTaxSpedAdjustmentCode_BR
NoYesFBFiscalDocumentAdjustmentCodeICMS_BR.SpedAdjustmentCode
GIAAdjustmentCodeOccurrence code used for the GIA report.low confidenceString
FBFiscalDocumentTaxGIAAdjustmentCode_BR
NoYesFBFiscalDocumentAdjustmentCodeICMS_BR.GIAAdjustmentCode
IsPovertyFundYes/No flag showing that the adjustment relates to FCP (poverty fund).Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesFBFiscalDocumentAdjustmentCodeICMS_BR.IsPovertyFund
ValidFromDateFirst date on which the code is valid.Date
FBFromDate_BR
YesYesFBFiscalDocumentAdjustmentCodeICMS_BR.ValidFrom
ValidToDateLast date on which the code is valid.Date
FBToDate_BR
NoYesFBFiscalDocumentAdjustmentCodeICMS_BR.ValidTo
OtherDebitYes/No flag that marks the code as an "other debit".low confidenceEnum
FBAdjustmentCreatePayment_BR
NoYes

Platform enum: values not in the metadata extract.

NoYesFBFiscalDocumentAdjustmentCodeICMS_BR.CreatePayment
ReceitaCodeRevenue (Receita) code of up to 20 characters.String (20)
RevenueCode_BR
NoYesFBFiscalDocumentAdjustmentCodeICMS_BR.RevenueCode
TypeOfBenefitCodeName of the tax benefit code type.String (255)
TypeName
NoYesTaxBenefitCodeType_BR.Type

Need help with FBFiscalDocumentAdjustmentCodeICMSEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk