Data entity

FreeTextInvoiceHeaderCDSEntity

Holds customer free text invoice headers for Dataverse integration. It joins the free text invoice header with the invoice origin. Records are identified by the external invoice number. It includes customer, currency, payment terms, tax group and posting status.

Entity name
FreeTextInvoiceHeaderCDSEntity
Public entity name
CDSFreeTextInvoiceHeader
OData collection
CDSFreeTextInvoiceHeaders
Category
Document
Module
Accounts receivable
Read-only
No
Data management enabled
Yes
Configuration key
CDSIntegration
Keys
ExternalInvoiceId
Staging table
FreeTextInvoiceHeaderCDSStaging

Use it in Power BI and Power Platform

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

  • FreeTextInvoiceHeaderEntity · root
  • CustomerInvoiceOriginEntity · OuterJoin to FreeTextInvoiceHeaderEntity · read-only

Fields (30)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
ExternalInvoiceIdInvoice number from an external source.String (60)
CustomerExternalInvoiceId
YesYesCustInvoiceTable.ExternalInvoiceId
CashDiscountCodeCash discount code that applies to the invoice.String
CustCashDiscCode
NoYesCashDisc.CashDiscCodeCustInvoiceTable.CashDiscCode
CashDiscountDateLast date on which the cash discount can be taken.Date
CustCashDiscDate
NoYesCustInvoiceTable.CashDiscDate
ComplimentedInvoiceIdInvoice that this invoice complements.String (50)
InvoiceId
NoYesCustInvoiceTable.ComplementedInvoiceId
ContactPersonIdContact person recorded for the invoice.String (20)
ContactPersonId
NoYesContactPerson.ContactPersonIdCustInvoiceTable.ContactPersonId
CurrencyCodeCurrency of the invoice.String (3)
CustCurrencyCode
NoYesCurrency.CurrencyCodeCustInvoiceTable.CurrencyCode
CustomerAccountCustomer account the invoice is for. It points to a customer record.String (20)
CustAccount
NoYesCustTable.AccountNumCustInvoiceTable.OrderAccount
CustomerGroupCustomer group of the customer.String
CustGroupId
NoYesCustGroup.CustGroupCustInvoiceTable.CustGroup
CustomerReferenceReference text supplied by the customer.String (60)
CustRef
NoYesCustInvoiceTable.CustomerRef
CustomerRequisitionCustomer requisition number.String (20)
CustPurchaseOrder
NoYesCustInvoiceTable.PurchOrderFormNum
DocumentDateDate shown on the source document.Date
DocumentDate
NoYesCustInvoiceTable.DocumentDate
DueDateDate on which payment is due.Date
DueDate
NoYesCustInvoiceTable.DueDate
FreeTextNumberThe free text invoice number shown to users. It is a text value.String (20)NoYesNone
GiroTypeType of payment slip attached to the invoice, such as FIK, BBS or a coloured slip.Enum
PaymentStubInvoiceId
PaymentStub
  • None 0
  • FIK 1
  • BBS 2
  • ESR_blue_PTT 3
  • ESR_red_bank 4
  • FIK762 5
  • ESR_orange 6
  • BelSMS101 7
  • BelSMS102 8
  • Finnish 9
  • FIK751 10
  • FIK752 11
  • QRBill 12
NoYesCustInvoiceTable.GiroType
InclTaxShows whether prices include sales tax.Enum
InclTax
NoYes

Platform enum: values not in the metadata extract.

NoYesCustInvoiceTable.InclTax
InvoiceAccountCustomer account that is invoiced.String (20)
CustInvoiceAccount
NoYesCustTable.AccountNumCustInvoiceTable.InvoiceAccount
InvoiceDateDate of the invoice.Date
TransDate
NoYesCustInvoiceTable.InvoiceDate
InvoiceIdInvoice number. It relates to the customer invoice journal.String (20)
CustInvoiceId
NoNo (private)CustInvoiceTable.InvoiceId
InvoiceNameName printed on the invoice.String (100)
LogisticsInvoiceName
NoYesCustInvoiceTable.Name
InvoiceOriginTypeInternal type of the invoice origin. The only listed value is Agreement invoice integration.Enum
CustomerInvoiceOriginType
  • AgreementInvoiceIntegration 1
NoYesCustomerInvoiceOriginInternalType.OriginType
IsPostedShows whether the invoice has been posted.Enum
Posted
NoYes

Platform enum: values not in the metadata extract.

NoYesCustInvoiceTable.Posted
IsPostedViaIntercompanyShows whether the invoice was posted through intercompany.Enum
InterCompanyPosted
NoYes

Platform enum: values not in the metadata extract.

NoYesCustInvoiceTable.InterCompanyPosted
LanguageIdLanguage used for the invoice.String (7)
CustLanguageId
NoYesLanguageTable.LanguageIdCustInvoiceTable.LanguageId
MethodOfPaymentMethod of payment for the customer.String
CustPaymMode
NoYesCustPaymModeTable.PaymModeCustInvoiceTable.PaymMode
PaymentSchedulePayment schedule for the invoice.String (30)
PaymSchedId
NoYesPaymSched.NameCustInvoiceTable.PaymentSched
PaymentTermsBaseDateDate from which the payment terms are counted.Date
CashDiscBaseDate
NoYesCustInvoiceTable.CashDiscBaseDate
PaymentTermsBaseDaysNumber of days used as the base for the payment terms.Integer
CashDiscBaseDays
NoYesCustInvoiceTable.CashDiscBaseDays
SalesTaxGroupIdSales tax group for the invoice.String
TaxGroup
NoYesTaxGroupHeading.TaxGroupCustInvoiceTable.TaxGroup
SalesTaxItemGroupIdItem sales tax group for the invoice.String
TaxItemGroup
NoYesTaxItemGroupHeading.TaxItemGroupCustInvoiceTable.TaxItemGroup
TermsOfPaymentTerms of payment for the invoice.String (100)
CustPaymTermId
NoYesPaymTerm.PaymTermIdCustInvoiceTable.Payment

Foreign keys (12)

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

Email sales@drdynamics.co.uk