Data entity

FiscalDocumentTypeEntity

Holds fiscal document types for each fiscal establishment, used for Brazil. It sets the series, document model, specie, and limits for item, service and memo lines. It also links to export format mapping and number sequences. The key is the fiscal establishment and the document type.

Entity name
FiscalDocumentTypeEntity
Public entity name
FiscalDocumentType
OData collection
FiscalDocumentTypes
Category
Not set
Module
Accounts receivable
Read-only
No
Data management enabled
Yes
Configuration key
None
Keys
FiscalEstablishmentId, FiscalDocumentType
Staging table
FiscalDocumentTypeStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/FiscalDocumentTypes
Dataverse virtual table
mserp_fiscaldocumenttypeentity. 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

  • FiscalDocumentType_BR · root
  • FiscalEstablishment_BR · InnerJoin to FiscalDocumentType_BR · read-only
  • FiscalDocModel_BR · InnerJoin to FiscalDocumentType_BR · read-only
  • FiscalDocumentFormat_BR · OuterJoin to FiscalDocumentType_BR
  • ERFormatMapping (table ERFormatMappingTable) · OuterJoin to FiscalDocumentFormat_BR · read-only
  • ERSolution (table ERSolutionTable) · OuterJoin to ERFormatMapping · read-only
  • ERVendor (table ERVendorTable) · OuterJoin to ERSolution · read-only
  • NumberSequenceEntity · InnerJoin to FiscalDocumentType_BR · read-only

Fields (30)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
FiscalEstablishmentIdUnique ID of the fiscal establishment. It is the business key of the table.String
FiscalEstablishmentId_BR
YesYesFiscalEstablishment_BR.FiscalEstablishmentId
FiscalDocumentTypeID of the fiscal document type, part of the key.String
FiscalDocumentTypeId_BR
YesYesFiscalDocumentType_BR.FiscalDocumentTypeId
NameName of the fiscal document type.String (60)
FiscalDocumentName_BR
NoYesFiscalDocumentType_BR.Name
SeriesSeries of the fiscal document (up to 9 characters).String (9)
FiscalDocumentSeries_BR
NoYesFiscalDocumentType_BR.FiscalDocumentSeries
FiscalDocumentIssueDateIssue date of the fiscal document.Date
InvoiceIssueDate_BR
NoYesFiscalDocumentType_BR.InvoiceIssueDate
DocumentModelCode of the document model, up to three characters.String (3)
FiscalDocumentModel_BR
NoYesFiscalDocModel_BR.Model
SpecieSpecie of the document: NFF, NF, CTRC or CF.Enum
FiscalDocumentSpecie_BR
  • NFF 0
  • NF 1
  • CTRC 2
  • CF 3
NoYesFiscalDocumentType_BR.FiscalDocumentSpecie
ElectronicFiscalDocumentForServicesYes/no flag that marks the type as an electronic fiscal document for services.Enum
ElectronicInvoice_BR
NoYes

Platform enum: values not in the metadata extract.

NoYesFiscalDocumentType_BR.ElectronicInvoice
ERExportFormatMappingNameName of the format mapping.String (60)
Name
NoYesERFormatMappingTable.Name
ERExportFormatSolutionNameName of the configuration.String (60)
Name
NoYesERSolutionTable.Name
ERExportFormatVendorUrlInternet address of the provider.String (255)
URLBase
NoYesERVendorTable.Url
ExportFileLayoutGroupPoints to the layout group for the export file.String
ConfLayoutGroupId_BR
NoYesConfLayoutGroups_BR.LayoutGroupIdFiscalDocumentFormat_BR.EInvoiceExportLayout
ReturnFileLayoutGroupPoints to the layout group for the return file.String
ConfLayoutGroupId_BR
NoYesConfLayoutGroups_BR.LayoutGroupIdFiscalDocumentFormat_BR.EInvoiceImportLayout
MaxItemLinesMaximum number of item lines.Integer
MaxItemLines_BR
NoYesFiscalDocumentFormat_BR.MaxItemLines
MaxItemDescriptionSizeMaximum length of an item description.Integer
MaxItemDescriptionSize_BR
NoYesFiscalDocumentFormat_BR.MaxItemDescriptionSize
CutOffItemDescriptionYes/No option to cut off long item descriptions.Enum
CutOffItemDescripion_BR
NoYes

Platform enum: values not in the metadata extract.

NoYesFiscalDocumentFormat_BR.CutOffItemDescription
MaxServiceItemLinesMaximum number of service item lines.Integer
MaxItemLines_BR
NoYesFiscalDocumentFormat_BR.MaxServiceItemLines
MaxServiceItemDescriptionMaximum length of a service item description.Integer
MaxItemDescriptionSize_BR
NoYesFiscalDocumentFormat_BR.MaxServiceItemDescription
CutOffServiceItemDescriptionYes/No option to cut off long service item descriptions.Enum
CutOffItemDescripion_BR
NoYes

Platform enum: values not in the metadata extract.

NoYesFiscalDocumentFormat_BR.CutOffServiceItemDescription
MaxMemoLinesMaximum number of memo lines.Integer
MaxMemoLines_BR
NoYesFiscalDocumentFormat_BR.MaxMemoLines
MaxMemoDescriptionSizeMaximum length of a memo description.Integer
MaxMemoDescriptionSize_BR
NoYesFiscalDocumentFormat_BR.MaxMemoDescriptionSize
CutoffMemoDescriptionYes/No option to cut off long memo descriptions.Enum
CutoffMemoDescription_BR
NoYes

Platform enum: values not in the metadata extract.

NoYesFiscalDocumentFormat_BR.CutoffMemoDescription
PrintDeliveryAddressAtMemoYes/No option to print the delivery address in the memo.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesFiscalDocumentFormat_BR.PrintDlvAddressInMemo
MaxInstallmentsMaximum number of installments.Integer
MaxInstallments_BR
NoYesFiscalDocumentFormat_BR.MaxInstallments
FiscalEstablishment_BRPoints to the fiscal establishment that the type belongs to, part of the key.Int64
FiscalEstablishmentRecId_BR
YesNo (private)FiscalEstablishment_BR.RecIdFiscalDocumentType_BR.FiscalEstablishment_BR
FiscalDocumentTypeBRPoints to the fiscal document type.Int64
RefRecId
NoNo (private)FiscalDocumentType_BR.RecIdFiscalDocumentFormat_BR.FiscalDocumentType_BR
FiscalDocumentModelCode of the document model, linked to the fiscal document model table.String (3)
FiscalDocumentModel_BR
NoNo (private)FiscalDocModel_BR.ModelFiscalDocumentType_BR.FiscalDocumentModel
FiscalDocumentTypeNumberSequencePoints to the number sequence used for fiscal document numbers.Int64
FiscalDocumentSequenceRecId_BR
YesNo (private)NumberSequenceTable.RecIdFiscalDocumentType_BR.FiscalDocumentNumberSequence
CompanyCompany the scope applies to.String
SelectableDataArea
NoYesNumberSequenceScope.DataArea
FiscalDocumentNumberSequenceCode that identifies the number sequence.String
NumberSequenceCode
NoYesNumberSequenceTable.NumberSequence

Foreign keys (6)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

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

Email sales@drdynamics.co.uk