Table

VendInvoiceInfoTable_W

Vendor invoice information for various geographies

Holds extra, mostly country-specific, details for a vendor invoice record. Each row links to one record in the vendor invoices table through the VendInvoiceInfoTable key. It covers fields used for Brazil, India, Russia, Poland, Mexico, Malaysia and other countries.

Table name
VendInvoiceInfoTable_W
Module
Accounts payable
Table group
TransactionHeader
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
VendInvoiceInfoTableIdx
Key fields
VendInvoiceInfoTable
Model
Foundation

Fields (50)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
VendInvoiceInfoTablePoints to the vendor invoice record that these extra details belong to.Int64
RefRecId
NoVendInvoiceInfoTable.RecIdNone
AccessKey_BRAccess key of the electronic fiscal document, used for Brazil.String (45)
EFDocAccessKey_BR
NoVendorInvoiceHeaderEntity
BOLCarrierName_BRName of the carrier, linked to the carrier record. Used for Brazil.String (140)
WMSCarrierName
NoSalesCarrier.CarrierNameVendorInvoiceHeaderEntity
BOLFreightedBy_BRWho arranges the freight: carrier, shipper or recipient. Used for Brazil.Enum
WMSFreightedBy (enum)
NoVendorInvoiceHeaderEntity
BusinessDocumentSubmissionId_WGUID that identifies a business document submission.Guid
SysGuid
NoVendorInvoiceHeaderEntity
CFDIUUID_MXUUID of the CFDI electronic invoice, used for Mexico.String (36)
EInvoiceCFDIUUID_MX
NoVendorInvoiceHeaderEntity
CFPSId_BRFour-character CFPS code, used for Brazil.String (4)
CFPSId_BR
NoVendorInvoiceHeaderEntity
ConsignmentNoteNum_INNumber of the consignment note, used for India.String (15)
ConsignmentNum_IN
NoNone
ConsTarget_JPYes or No flag showing whether the invoice is a target for consolidation, used for Japan.Enum
VendConsTarget_JP
NoYes (enum)
NoNone
CustomsBillOfEntryNumberTable_INPoints to the bill of entry record, used for India.Int64
RefRecId
NoCustomsBillOfEntryNumberTable_IN.RecIdNone
CustomsImportInvoiceNumberTable_INPoints to the import invoice number record, used for India.Int64
RefRecId
NoCustomsImportInvoiceNumberTable_IN.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DlvFreightType_BRFreight charge terms, such as prepaid, collect or third party. Used for Brazil.Enum
WMSFreightChargeTerms (enum)
NoVendorInvoiceHeaderEntity
DlvNoOfCarrier_BRVehicle number of the carrier, used for Brazil.String
DlvNoOfCarrier_BR
NoVendorInvoiceHeaderEntity
DlvPackingName_BRSpecie, meaning the kind of packing, used for Brazil.String
PackingName_BR
NoVendorInvoiceHeaderEntity
DlvStateRegistered_BRState registration text for the delivery, used for Brazil.String
DlvStateRegistered_BR
NoVendorInvoiceHeaderEntity
DlvTransportBrand_BRBrand of the transport, used for Brazil.String
DlvTransportBrand_BR
NoVendorInvoiceHeaderEntity
DocAutoNumbering_LTYes or No flag with no label. Name suggests automatic document numbering, used for Lithuania.low confidenceEnum
NoYesId
NoYes (enum)
NoNone
ElectronicInvoice_BRYes or No flag for an electronic fiscal document for services, used for Brazil.Enum
EletronicInvoice_BR
NoYes (enum)
NoVendorInvoiceHeaderEntity
EmplAccount_RUWorker who holds the advance, linked to the worker record. Used for Russia.String (20)
EmplAccount_RU
NoEmployeeTable_RU.EmployeeIdNone
FiscalDocumentModel_BRCode of the fiscal document model, linked to the document model setup. Used for Brazil.String (3)
FiscalDocumentModel_BR
NoFiscalDocModel_BR.ModelVendorInvoiceHeaderEntity
FiscalDocumentSeries_BRSeries of the fiscal document, used for Brazil.String (9)
FiscalDocumentSeries_BR
NoVendorInvoiceHeaderEntity
FiscalDocumentSpecie_BRSpecie of the fiscal document, chosen from NFF, NF, CTRC or CF. Used for Brazil.Enum
FiscalDocumentSpecie_BR (enum)
NoVendorInvoiceHeaderEntity
FiscalDocumentType_BRPoints to the fiscal document type record, used for Brazil.Int64
RefRecId
NoFiscalDocumentType_BR.RecIdVendorInvoiceHeaderEntity
ImportDeclaration_BRPoints to the import declaration record, used for Brazil.Int64
ImportDeclarationRecId_BR
NoPurchImportDeclaration_BR.RecIdVendorInvoiceHeaderEntity
IntrastatFulfillmentDate_HUIntrastat fulfilment date, used for Hungary.Date
IntrastatFulfillmentDate_HU
NoNone
InvoiceSeries_MXInvoice series, used for Mexico.String
InvoiceSeries_MX
NoVendorInvoiceHeaderEntity
InvoiceType_MYInvoice type: invoice, GST invoice, self-billed invoice or service invoice. Used for Malaysia.Enum
InvoiceType_MY (enum)
NoVendorInvoiceHeaderEntity
PackingSlipIdForUpdate_WText listing the documents that are to be updated.String (250)
PackingSlipIdForUpdate_W
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PresenceType_BRBuyer presence type, such as in person, internet or telesales. Used for Brazil.Enum
EFDocPresenceType_BR (enum)
NoVendorInvoiceHeaderEntity
PSPrefixTRPrefix of the e-invoice serial number, linked to the e-invoice serial table. Used for Türkiye.String
PSPrefixTR
NoNone
PurchReceiptDate_WDate of the receive document.Date
PurchReceiptDate_W
NoVendorInvoiceHeaderEntity
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
SalesPurchOperationType_BRPoints to the operation type record, used for Brazil.Int64
SalesPurchOperationTypeRecId_BR
NoSalesPurchOperationType_BR.RecIdVendorInvoiceHeaderEntity
ServiceCodeOnDlvAddress_BRYes or No flag for a service code on the delivery address, used for Brazil.Enum
TaxServiceCodeOnDlvAddress_BR
NoYes (enum)
NoVendorInvoiceHeaderEntity
SubmissionUUID_WUnique invoice identifier issued by the tax authorities.String (50)
UUID
NoVendorInvoiceHeaderEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxGSTImportDeclarationNo_MYImport declaration number for GST, used for Malaysia.String (20)
TaxGSTImportDeclarationNo_MY
NoVendorInvoiceHeaderEntity
TaxInformation_INPoints to the tax information record that holds the Tax Account Number (TAN), used for India.Int64
TaxInformationRecId_IN
NoTaxInformation_IN.RecIdNone
TaxPeriodPaymentCode_PLCode for the VAT report date, linked to the VAT report date code setup. Used for Poland.String
PlTaxPeriodPaymentCode
NoPlTaxDueTable.TaxPeriodPaymentCodeNone
TypeOfCTe_BRType of the CT-e transport document, such as normal, add-on values, cancellation or replacement. Used for Brazil.Enum
TypeOfCTe_BR (enum)
NoVendorInvoiceHeaderEntity
UseStateInvoice_LVYes or No flag for a state invoice, used for Latvia.Enum
NoYes (enum)
NoNone
VatDueDate_WDate of the VAT register entry.Date
VatDueDate_W
NoNone
VendFinalUser_BRYes or No flag showing use and consumption, used for Brazil.Enum
CustVendFinalUser_BR
NoYes (enum)
NoVendorInvoiceHeaderEntity
VendFineSetup_BRFine code, linked to the fine code setup. Used for Brazil.String
VendFineCode_BR
NoVendFineSetup_BR.FineCodeVendorInvoiceHeaderEntity
VendInterestSetup_BRInterest code, linked to the interest code setup. Used for Brazil.String
VendInterestCode_BR
NoVendInterestSetup_BR.InterestCodeVendorInvoiceHeaderEntity

Indexes (5)

Relations (15)

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

  • CustomsBillOfEntryNumberTable_IN → CustomsBillOfEntryNumberTable_IN

    Join on CustomsBillOfEntryNumberTable_IN = CustomsBillOfEntryNumberTable_IN.RecId

    Zero or one VendInvoiceInfoTable_W record → zero or one CustomsBillOfEntryNumberTable_IN record

  • CustomsImportInvoiceNumberTable_IN → CustomsImportInvoiceNumberTable_IN

    Join on CustomsImportInvoiceNumberTable_IN = CustomsImportInvoiceNumberTable_IN.RecId

    Zero or one VendInvoiceInfoTable_W record → zero or one CustomsImportInvoiceNumberTable_IN record

  • EmployeeTable_RU → EmployeeTable_RU

    Join on EmployeeTable_RU.AdvHolder = 1, EmplAccount_RU = EmployeeTable_RU.EmployeeId

    Many VendInvoiceInfoTable_W records → exactly one EmployeeTable_RU record

  • FiscalDocModel_BR → FiscalDocModel_BR

    Join on FiscalDocumentModel_BR = FiscalDocModel_BR.Model

    Many VendInvoiceInfoTable_W records → zero or one FiscalDocModel_BR record

  • FiscalDocumentType_BR → FiscalDocumentType_BR

    Join on FiscalDocumentType_BR = FiscalDocumentType_BR.RecId

    Zero or one VendInvoiceInfoTable_W record → zero or one FiscalDocumentType_BR record

  • PlTaxDueTable → PlTaxDueTable

    Join on TaxPeriodPaymentCode_PL = PlTaxDueTable.TaxPeriodPaymentCode

    Many VendInvoiceInfoTable_W records → zero or one PlTaxDueTable record

  • PurchImportDeclaration_BR → PurchImportDeclaration_BR

    Join on ImportDeclaration_BR = PurchImportDeclaration_BR.RecId

    Many VendInvoiceInfoTable_W records → zero or one PurchImportDeclaration_BR record

  • ReasonTableRef → ReasonTableRef

    Join on ReasonTableRef_BR = ReasonTableRef.RecId

    Zero or one VendInvoiceInfoTable_W record → zero or one ReasonTableRef record

  • SalesPurchOperationType_BR → SalesPurchOperationType_BR

    Join on SalesPurchOperationType_BR = SalesPurchOperationType_BR.RecId

    Many VendInvoiceInfoTable_W records → zero or one SalesPurchOperationType_BR record

  • TaxInformation_IN → TaxInformation_IN

    Join on TaxInformation_IN = TaxInformation_IN.RecId

    Zero or one VendInvoiceInfoTable_W record → zero or one TaxInformation_IN record

  • VendFineCode_BR → VendFineSetup_BR

    Join on VendFineSetup_BR = VendFineSetup_BR.FineCode

    Many VendInvoiceInfoTable_W records → zero or one VendFineSetup_BR record

  • VendInterestCode_BR → VendInterestSetup_BR

    Join on VendInterestSetup_BR = VendInterestSetup_BR.InterestCode

    Many VendInvoiceInfoTable_W records → zero or one VendInterestSetup_BR record

  • VendInvoiceInfoTable → VendInvoiceInfoTable

    Join on VendInvoiceInfoTable = VendInvoiceInfoTable.RecId

    Exactly one VendInvoiceInfoTable_W record → exactly one VendInvoiceInfoTable record

  • SalesCarrier_BR → SalesCarrier

    Join on BOLCarrierName_BR = SalesCarrier.CarrierName

    Many VendInvoiceInfoTable_W records → exactly one SalesCarrier record

  • PSSerialTableTR → PSSerialTableTR

    Join on PSPrefixTR = PSSerialTableTR.Prefix

    Many VendInvoiceInfoTable_W records → zero or one PSSerialTableTR record

Get this data out

Tables are not exposed directly. These public entities read from VendInvoiceInfoTable_W; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk