Table

VendFiscalDocumentNote_BR

Vendor fiscal note

Fiscal note for a vendor, used for Brazil. It holds the vendor, invoice number and date, fiscal document type, establishment, issuer, purpose, status and total amount. It can link to a complemented or cancelled fiscal document and to a received NF-e XML document through the access key.

Table name
VendFiscalDocumentNote_BR
Module
Accounts receivable
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (28)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccessKeyAccess key of the document, linked to a received NF-e XML document.String (45)
EFDocAccessKey_BR
NoEFDocumentReceivedXML_BR.AccesskeyNone
CanceledFiscalDocumentNotePoints to the vendor fiscal note that this note cancels or refers to.Int64
RefRecId
NoVendFiscalDocumentNote_BR.RecIdNone
ComplementedFiscalDocumentPoints to the fiscal document that this note complements.Int64
RefRecId
NoFiscalDocument_BR.RecIdNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CurrencyCurrency code of the vendor note.String (3)
VendCurrencyCode
NoCurrency.CurrencyCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DebitCreditNoteTypeBusiness type of the debit or credit note, such as fine and interest, advance payment or return.Enum
FiscalDocumentBusinessType_BR (enum)
NoNone
DefaultDimensionPoints to the set of default dimension values.Int64
LedgerDimensionValueSet
NoDimensionAttributeValueSet.RecIdNone
DirectionShows whether the document is incoming or outgoing.Enum
FiscalDocDirection_BR (enum)
NoNone
DocumentDateDate of the invoice.Date
DocumentDate
NoNone
FiscalDocumentNumberInvoice number of the fiscal document.String (50)
InvoiceId
NoNone
FiscalDocumentType_BRPoints to the fiscal document type, used for Brazil.Int64
RefRecId
NoFiscalDocumentType_BR.RecIdNone
FiscalEstablishment_BRPoints to the fiscal establishment, used for Brazil.Int64
FiscalEstablishmentRecId_BR
NoFiscalEstablishment_BR.RecIdNone
InclTaxShows whether prices include sales tax.Enum
InclTax
NoYes (enum)
NoNone
IssuerWho issued the fiscal document: the fiscal establishment or a third party.Enum
FiscalDocumentIssuer_BR (enum)
NoNone
LedgerVoucherVoucher number linked to the note.String (20)
Voucher
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PurposePurpose of the document, such as regular, complement, adjustment, return, debit note or credit note.Enum
FiscalDocumentPurpose_BR (enum)
NoNone
ReasonTableRef_BRPoints to a reason reference record, used for Brazil.Int64
ReasonTableRefRecId
NoReasonTableRef.RecIdNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
StatusStatus of the note: open, posted, cancelled or cancel in progress.Enum
FDDebitCreditNoteStatus_BR (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ThirdPartyLogisticsPostalAddressPoints to the postal address of a third party.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
TotalAmountTotal amount of the note, in accounting currency.Real
AmountMST
NoNone
VendFinalUserShows whether the vendor is the final user.Enum
CustVendFinalUser_BR
NoYes (enum)
NoNone
VendTableAccount number of the vendor.String (20)
VendAccount
NoVendTable.AccountNumNone

Indexes (4)

Relations (11)

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

  • ComplementedFiscalDocument → FiscalDocument_BR

    Join on ComplementedFiscalDocument = FiscalDocument_BR.RecId

    Many VendFiscalDocumentNote_BR records → exactly one FiscalDocument_BR record

  • Currency → Currency

    Join on Currency = Currency.CurrencyCode

    Many VendFiscalDocumentNote_BR records → zero or one Currency record

  • VendTable → VendTable

    Join on VendTable = VendTable.AccountNum

    Many VendFiscalDocumentNote_BR records → exactly one VendTable record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many VendFiscalDocumentNote_BR records → zero or one DimensionAttributeValueSet record

  • FiscalDocumentType → FiscalDocumentType_BR

    Join on FiscalDocumentType_BR = FiscalDocumentType_BR.RecId

    Many VendFiscalDocumentNote_BR records → exactly one FiscalDocumentType_BR record

  • FiscalEstablishment → FiscalEstablishment_BR

    Join on FiscalEstablishment_BR = FiscalEstablishment_BR.RecId

    Many VendFiscalDocumentNote_BR records → exactly one FiscalEstablishment_BR record

  • ReasonTableRef → ReasonTableRef

    Join on ReasonTableRef_BR = ReasonTableRef.RecId

    Many VendFiscalDocumentNote_BR records → zero or one ReasonTableRef record

  • ThirdPartyPostalAddress → LogisticsPostalAddress

    Join on ThirdPartyLogisticsPostalAddress = LogisticsPostalAddress.RecId

    Many VendFiscalDocumentNote_BR records → exactly one LogisticsPostalAddress record

  • EFDocumentReceivedXML_BR → EFDocumentReceivedXML_BR

    Join on AccessKey = EFDocumentReceivedXML_BR.Accesskey, FiscalEstablishment_BR = EFDocumentReceivedXML_BR.FiscalEstablishment_BR, EFDocumentReceivedXML_BR.Posted = NoYes::No

    Cardinality not set in the metadata.

  • CanceledFiscalDocumentNote → VendFiscalDocumentNote_BR

    Join on CanceledFiscalDocumentNote = VendFiscalDocumentNote_BR.RecId

    Many VendFiscalDocumentNote_BR records → exactly one VendFiscalDocumentNote_BR record

  • TaxTrans → TaxTrans

    Join on LedgerVoucher = TaxTrans.Voucher, DocumentDate = TaxTrans.TransDate

    Cardinality not set in the metadata.

Get this data out

No public entity reads from VendFiscalDocumentNote_BR. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk