Data entity

SalesExternallyMaintainedCustomerSalesInvoiceHeaderEntity

Read-only list of customer sales invoice headers for externally maintained use. It is built on the sales invoice header V2 entity. Each record is keyed by invoice number, invoice date and voucher. It shows the invoice account, amounts, taxes, discounts, delivery details, address and sales origin type.

Entity name
SalesExternallyMaintainedCustomerSalesInvoiceHeaderEntity
Public entity name
ExternallyMaintainedCustomerSalesInvoiceHeader
OData collection
ExternallyMaintainedCustomerSalesInvoiceHeaders
Category
Document
Module
Accounts receivable
Read-only
Yes
Data management enabled
Yes
Configuration key
CDSIntegration
Keys
InvoiceNumber, InvoiceDate, LedgerVoucher
Staging table
SalesExternallyMaintainedCustomerSalesInvoiceHeaderStaging

Use it in Power BI and Power Platform

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

  • SalesInvoiceHeaderV2Entity · root · read-only
  • CustTable · InnerJoin to SalesInvoiceHeaderV2Entity · read-only
  • SalesOrderOriginEntity · OuterJoin to SalesInvoiceHeaderV2Entity · read-only

Fields (26)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
ContactPersonIdContact person for the order, linked to the contacts.String (20)
ContactPersonId
NoYesContactPerson.ContactPersonIdSalesTable.ContactPersonId
CurrencyCodeCurrency of the invoice.String (3)
CustCurrencyCode
NoYesCurrency.CurrencyCodeCustInvoiceJour.CurrencyCode
CustomersOrderReferenceReference text supplied by the customer.String (60)
CustRef
NoYesSalesTable.CustomerRef
DeliveryModeCodeMode of delivery for the order.String
CustDlvModeId
NoYesDlvMode.CodeSalesTable.DlvMode
DeliveryTermsCodeTerms of delivery for the order.String
CustDlvTermId
NoYesDlvTerm.CodeSalesTable.DlvTerm
InvoiceAddressCityName of the city, as text.String (60)
LogisticsAddressCityName
NoYesLogisticsPostalAddress.City
InvoiceAddressCountryRegionIdThe country or region of the address.String
LogisticsAddressCountryRegionId
NoYesLogisticsAddressCountryRegion.CountryRegionIdLogisticsPostalAddress.CountryRegionId
InvoiceAddressCountryRegionISOCodeISO code of the country or region of the address.String (2)
LogisticsAddressCountryRegionISOCode
NoYesNone
InvoiceAddressStateState or province code of the address.String
LogisticsAddressStateId
NoYesLogisticsAddressCounty.StateIdLogisticsAddressState.StateIdLogisticsPostalAddress.State
InvoiceAddressStreetStreet name of the address.String (250)
LogisticsAddressStreet
NoYesLogisticsPostalAddress.Street
InvoiceAddressStreetNumberStreet or house number.String (20)
LogisticsAddressStreetNumber
NoYesLogisticsPostalAddress.StreetNumber
InvoiceAddressZipCodeZIP or postal code, as text.String
LogisticsAddressZipCodeId
NoYesLogisticsPostalAddress.ZipCode
InvoiceCustomerAccountNumberCustomer account that receives the invoice.String (20)
CustInvoiceAccount
NoYesCustTable.AccountNumCustInvoiceJour.InvoiceAccount
InvoiceDateDate of the invoice.Date
TransDate
NoYesCustInvoiceJour.InvoiceDate
InvoiceNumberIdentifier of the customer invoice.String (20)
CustInvoiceId
NoYesCustInvoiceJour.InvoiceId
PaymentTermsNameTerms of payment for the order.String (100)
CustPaymTermId
NoYesPaymTerm.PaymTermIdSalesTable.Payment
SalesOrderNumberSales order number that identifies the order.String (20)
SalesIdBase
NoYesSalesTable.SalesId
SalesOrderResponsiblePersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
TotalChargeAmountTotal charges on the invoice, in invoice currency.Real
MarkupSumSales
NoYesCustInvoiceJour.SumMarkup
TotalDiscountAmountTotal discount amount on the invoice.RealNoYesNone
TotalDiscountCustomerGroupCodeTotal discount amount at order header level, in invoice currency.Real
SalesEndDiscAmount
NoYesCustInvoiceJour.EndDisc
TotalInvoiceAmountTotal invoice amount in invoice currency.Real
AmountCur
NoYesCustInvoiceJour.InvoiceAmount
TotalTaxAmountSales tax amount, in invoice currency.Real
TaxAmountCur
NoYesCustInvoiceJour.SumTax
InvoiceHeaderTaxAmountSales tax amount of the invoice, in the invoice currency.Real
TaxAmountCur
NoYesNone
SalesOrderOriginTypeInternal type of the origin: not specified, sales order integration or work order integration.Enum
SalesOriginType
  • NotSpecified 0
  • SalesOrderIntegration 1
  • WorkOrderIntegration 2
NoYesSalesOriginInternalType.OriginType
LedgerVoucherVoucher number linked to the invoice.String (20)
Voucher
NoYesCustInvoiceJour.LedgerVoucher

Foreign keys (9)

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 SalesExternallyMaintainedCustomerSalesInvoiceHeaderEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk