Table

CustInvoiceTable

Customer free text invoice

Holds the header of each customer free text invoice. It links to the customer, invoice account, currency, payment terms, tax groups and posting profile. It also carries many country-specific fields. Entities for free text invoice headers and lines, and a BI entity, read from it.

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

Fields (160)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountingDistributionTemplateAccounting distribution template linked to the invoice.Int64
AccountingDistributionTemplateRecId
NoAccountingDistributionTemplate.RecIdCustInvoiceTableBiEntity
AdjustingInvoiceDateDate of the invoice that this invoice adjusts.Date
TransDate
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
AgreementHeaderExt_RUAgreement linked to the invoice, used for Russia.Int64
AgreementHeaderExtRecId_RU
NoAgreementHeaderExt_RU.RecIdCustInvoiceTableBiEntity
BankAccount_LVMain company bank account for the invoice, used for Latvia.String
CompanyBankAccountId
NoBankAccountTable.AccountIDCustInvoiceTableBiEntity
BankCentralBankPurposeCodePayment purpose code required for central bank reporting.String
BankCentralBankPurposeCode
NoBankCentralBankPurpose.CodeFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
BankCentralBankPurposeTextFree text that explains the central bank payment purpose.String (210)
BankCentralBankPurposeText
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
CashDiscBaseDateDate from which the payment terms are counted.Date
CashDiscBaseDate
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
CashDiscBaseDaysNumber of days used as the base for the payment terms.Integer
CashDiscBaseDays
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
CashDiscCodeCash discount code that applies to the invoice.String
CustCashDiscCode
NoCashDisc.CashDiscCodeFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
CashDiscDateLast date on which the cash discount can be taken.Date
CustCashDiscDate
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
CashDiscPercentPercentage rate of the cash discount.Real
DiscPct
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
CertificateNumber_MXNumber of the certificate on the document, used for Mexico.String (40)
CertificateNumber_MX
NoCustInvoiceTableBiEntity
CFDIEInvoicePeriod_MXPeriod for the electronic invoice: daily, weekly, biweekly, monthly or bimonthly. Used for Mexico.Enum
RetailEInvoicePeriod_MX (enum)
NoCustInvoiceTableBiEntity
CFDITemporaryExport_MXShows whether this is a temporary export, used for Mexico.Enum
CFDITemporaryExport_MX
NoYes (enum)
NoCustInvoiceTableBiEntity
CFOPTable_BRFiscal operation code (CFOP) for the invoice, used for Brazil.Int64
RefRecId
NoCFOPTable_BR.RecIdFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
CFPSId_BRCFPS code, used for Brazil.String (4)
CFPSId_BR
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
ComplementedInvoiceIdInvoice that this invoice complements.String (50)
InvoiceId
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
ConsigneeAccount_RUCustomer account of the consignee, used for Russia.String (20)
CustAccountConsignee_RU
NoCustTable.AccountNumFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
ConsignorAccount_RUVendor account of the shipper, used for Russia.String (20)
VendAccountConsignor_RU
NoVendTable.AccountNumFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
ContactPersonIdContact person recorded for the invoice.String (20)
ContactPersonId
NoContactPerson.ContactPersonIdFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
Correct_RUShows whether the document is a corrective document, used for Russia.Enum
Correct_RU
NoYes (enum)
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
CorrectedFactureDate_RUDate of the facture being corrected, used for Russia.Date
FactureDate_RU
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
CorrectedFactureExternalId_RUExternal number of the facture being corrected, used for Russia.String (30)
FactureExternalId_RU
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
CorrectedInvoiceDate_RUDate of the invoice being corrected, used for Russia.Date
CorrectedInvoiceDate_RU
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
CorrectedInvoiceId_RUNumber of the invoice being corrected, used for Russia.String (50)
CorrectedInvoiceId_RU
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
CorrectedPeriod_RUPeriod that the correction applies to, used for Russia.Date
TransDate
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
CorrectionReasonCodeReason reference that explains the correction.Int64
ReasonRefRecID
NoReasonTableRef.RecIdFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
CorrectionType_RUKind of correction: none, correction or revision. Used for Russia.Enum
FactureCorrectionType_RU (enum)
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
CovStatusStatus number linked to cash flow forecast.low confidenceInteger
CovStatus
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoCustInvoiceTableBiEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoCustInvoiceTableBiEntity
CurBankAccount_LVCompany bank account for the additional currency, used for Latvia.String
CompanyBankAccountId
NoBankAccountTable.AccountIDCustInvoiceTableBiEntity
CurrencyCodeCurrency of the invoice.String (3)
CustCurrencyCode
YesCurrency.CurrencyCodeFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
CustBankAccount_LVCustomer bank account, used for Latvia.String
CustBankAccountId
NoCustBankAccount.AccountIDCustInvoiceTableBiEntity
CustBankAccountIdBank account of the invoice account customer.String
CustBankAccountId
NoCustBankAccount.AccountIDFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
CustBillingClassificationBilling classification linked to the invoice.Int64
RefRecId
NoCustBillingClassification.RecIdFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
CustFinalUser_BRShows whether the customer is a final user, used for Brazil.Enum
CustVendFinalUser_BR
NoYes (enum)
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
CustGroupCustomer group of the customer.String
CustGroupId
YesCustGroup.CustGroupFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
CustomerInvoiceOriginIdOrigin code of the customer invoice.String
CustomerInvoiceOriginId
NoCustomerInvoiceOrigin.OriginIdFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
CustomerRefReference text supplied by the customer.String (60)
CustRef
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoCustInvoiceTableBiEntity
DefaultDimensionDefault financial dimension values set for the invoice.Int64
LedgerDimensionValueSet
NoDimensionAttributeValueSet.RecIdFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
DeliveryDate_ESDelivery date, used for Spain.Date
LedgerJournalDlvDate_ES
NoCustInvoiceTableBiEntity
DeliveryLocationLocation record used for delivery.Int64
LogisticsLocationRecId
NoLogisticsLocation.RecIdCustInvoiceTableBiEntity
DeliveryPostalAddressPostal address used for delivery.Int64
LogisticsPostalAddressRecId
NoCustInvoiceTableBiEntity
DirectDebitMandateDirect debit mandate of the customer used for this invoice.Int64
CustDirectDebitMandateRecId
NoCustDirectDebitMandate.RecIdFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
DlvTermTerms of delivery for the invoice.String
CustDlvTermId
NoDlvTerm.CodeCustInvoiceTableBiEntity
DocNumberingCode_LTDocument numbering code, used for Lithuania.String
LtDocNumberingCode
NoCustInvoiceTableBiEntity
DocumentDateDate shown on the source document.Date
DocumentDate
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
DueDateDate on which payment is due.Date
DueDate
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
EInvoiceAccountCodeAccount code for the dimension used in electronic invoices.String (35)
EInvoiceAccountCode
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
EInvoiceCFDIConfirmNumber_MXConfirmation number for the CFDI, used for Mexico.String (5)
EInvoiceCFDIConfirmNumber_MX
NoCustInvoiceTableBiEntity
EInvoiceLineSpecShows whether the electronic invoice uses line-specific settings.Enum
EInvoiceLineSpecific
NoYes (enum)
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
ElectronicInvoiceFrameworkType_FRElectronic invoice framework linked to the invoice, used for France.Int64
RefRecId
NoBusinessDocumentElectronicInvoiceFrameworkTable.RecIdCustInvoiceTableBiEntity
EnterpriseNumberEnterprise registration number.String (50)
TaxEnterpriseNumber
NoCustInvoiceTableBiEntity
EstablishmentEstablishment (operating unit) within the company that the invoice belongs to.Int64
EstablishmentRefRecId
NoOMOperatingUnit.RecIdCustInvoiceTableBiEntity
ExchRate_WExchange rate applied to the invoice.Real
CustExchRate
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
ExcludeFromDecoupledPostingProcessShows whether the invoice is left out of the decoupled posting process.Enum
NoYes (enum)
NoCustInvoiceTableBiEntity
ExternalInvoiceIdInvoice number from an external source.String (60)
CustomerExternalInvoiceId
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
FineCode_BRFine code, used for Brazil.String
CustFineCode_BR
NoCustFineSetup_BR.FineCodeFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
FinTagFinancial tag attached to the invoice.Int64
FinTagRecId
NoFinTag.RecIdCustInvoiceTableBiEntity
FiscalAddress_MXCountry or region code for the fiscal address, used for Mexico.String
LogisticsAddressCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdCustInvoiceTableBiEntity
FiscalDocType_PLWhether the printed document is an invoice or a fiscal document. Used for Poland.Enum
PlFiscalDocType (enum)
NoCustInvoiceTableBiEntity
FiscalDocumentType_BRFiscal document type, used for Brazil.Int64
FiscalDocumentTypeRecID_BR
NoFiscalDocumentType_BR.RecIdFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
FiscalEstablishment_BRFiscal establishment linked to the invoice, used for Brazil.Int64
FiscalEstablishmentRecId_BR
NoFiscalEstablishment_BR.RecIdFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
ForeignTrade_MXShows whether the invoice is for a foreign trade operation, used for Mexico.Enum
ForeignTrade_MX
NoYes (enum)
NoCustInvoiceTableBiEntity
ForInterestAdjustmentYes/no flag. The label is missing, so the meaning is unclear, though the name suggests interest adjustment.low confidenceEnum
NoYes (enum)
NoCustInvoiceTableBiEntity
GiroTypeType of payment slip attached to the invoice, such as FIK, BBS or a coloured slip.Enum
PaymentStubInvoiceId
PaymentStub (enum)
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
InclTaxShows whether prices include sales tax.Enum
InclTax
NoYes (enum)
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
InclTax_WShows whether prices include sales tax.Enum
InclTax
NoYes (enum)
NoCustInvoiceTableBiEntity
IntentLetterId_ITInternal number of the customer intent letter, used for Italy.String
IntentLetterInternalId_IT
NoCustIntentLetter_IT.InternalLetterIdCustInvoiceTableBiEntity
InterCompanyPostedShows whether the invoice was posted through intercompany.Enum
InterCompanyPosted
NoYes (enum)
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
InterestCode_BRInterest code, used for Brazil.String
CustInterestCode_BR
NoCustInterestSetup_BR.InterestCodeFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
IntrastatFulfillmentDate_HUFulfilment date for Intrastat, used for Hungary.Date
IntrastatFulfillmentDate_HU
NoCustInvoiceTableBiEntity
InvoiceAccountCustomer account that is invoiced.String (20)
CustInvoiceAccount
YesCustTable.AccountNumFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
InvoiceComplementaryTypeType of complementary fiscal document: none, price or tax. Used for Brazil.Enum
InvoiceComplementaryType_BR (enum)
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
InvoiceDateDate of the invoice.Date
TransDate
YesFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
InvoiceIdInvoice number. It relates to the customer invoice journal.String (20)
CustInvoiceId
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntityand 1 more
InvoiceType_WType of invoice: tax invoice or simplified invoice.Enum
InvoiceType_W (enum)
NoCustInvoiceTableBiEntity
LanguageIdLanguage used for the invoice.String (7)
CustLanguageId
YesLanguageTable.LanguageIdFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
ListcodeList code that classes the trade type, such as EU trade or triangular trade.Enum
ListcodeId
Listcode (enum)
NoCustInvoiceTableBiEntity
LogFree text log entry on the invoice.String (255)
LogText
NoCustInvoiceTableBiEntity
ManualInvoiceID_WInvoice number assigned by hand.String (50)
InvoiceId
NoCustInvoiceTableBiEntity
ManualNumbering_WShows whether invoice numbers are assigned automatically, used for Lithuania.low confidenceEnum
LtInvoiceAutoNumbering
NoYes (enum)
NoCustInvoiceTableBiEntity
MCRGiftCardYes/no flag with no label. It may relate to gift cards, but this is unclear.low confidenceEnum
NoYes (enum)
NoCustInvoiceTableBiEntity
MCRLedgerVoucherLedger voucher number linked to the invoice.String (20)
Voucher
NoCustInvoiceTableBiEntity
MCRNumberSequenceCodeNumber sequence code linked to the invoice.String
NumberSequenceCode
NoCustInvoiceTableBiEntity
MCRSalesIDSales order linked to the invoice.String (20)
SalesIdBase
NoSalesTable.SalesIdCustInvoiceTableBiEntity
NameName printed on the invoice.String (100)
LogisticsInvoiceName
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
NatureOfAssessee_INType of assessee, such as company, firm or individual. Used for India.Enum
NatureOfAssessee_IN (enum)
NoCustInvoiceTableBiEntity
NonRealRevenue_RUShows whether the revenue is unrealised, used for Russia.Enum
NonRealRevenue_RU
NoYes (enum)
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
numberSequenceGroupNumber sequence group used for the invoice.String
NumberSequenceGroupId
NoNumberSequenceGroup.numberSequenceGroupIdFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
NumRegIdTrib_MXTax registration number for the country of residence, used for Mexico.String (40)
NumRegIdTrib_MX
NoCustInvoiceTableBiEntity
OneTimeCustomerShows whether the invoice is for a one-time customer.Enum
OneTimeCustomer
NoYes (enum)
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
OrderAccountCustomer account the invoice is for. It points to a customer record.String (20)
CustAccount
YesCustTable.AccountNumFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
OrderAccountRefRecIdSystem record ID of the customer in the order account.Int64
RefRecId
NoCustTable.RecIdCustInvoiceTableBiEntity
OverrideSalesTaxShows whether the sales tax set by tax calculation is overridden.Enum
TaxIntegrationOverrideSalesTax
NoYes (enum)
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
PackedExtensionsContainer that stores packed extension data.Container
SysExtensionSerializerPackedContainer
NoCustInvoiceTableBiEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentTerms of payment for the invoice.String (100)
CustPaymTermId
NoPaymTerm.PaymTermIdFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
PaymentSchedPayment schedule for the invoice.String (30)
PaymSchedId
NoPaymSched.NameFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
PaymModeMethod of payment for the customer.String
CustPaymMode
NoCustPaymModeTable.PaymModeFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
PaymSpecPayment specification for the chosen method of payment.String
PaymSpec
NoCustPaymModeSpec.SpecificationCustInvoiceTableBiEntity
PortIntrastat port linked to the invoice.String
IntrastatPortId
NoIntrastatPort.PortIdCustInvoiceTableBiEntity
PostalAddressPostal address of the customer on the invoice.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdCustInvoiceTableBiEntity
PostedShows whether the invoice has been posted.Enum
Posted
NoYes (enum)
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
PostingProfileCustomer posting profile used for the invoice.String
CustPostingProfile
NoCustLedger.PostingProfileFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
PostponeVATShows whether VAT is postponed, used for the Czech Republic.Enum
CzPostponeVAT
NoYes (enum)
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
PresenceType_BRHow the buyer was present, such as in person, internet or telesales. Used for Brazil.Enum
EFDocPresenceType_BR (enum)
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
PrintDynamicQRCode_INShows whether a dynamic QR code is printed on the invoice, used for India.Enum
PrintDynamicQRCode_IN
NoYes (enum)
NoCustInvoiceTableBiEntity
PrintOverdueFineTxt_FRShows whether the lump sum recovery text is printed, used for France.Enum
PrintOverdueFineTxt_FR
NoYes (enum)
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
ProjectManager_FRCustomer account of the project manager, used for France.String (20)
CustAccount
NoCustTable.AccountNumCustInvoiceTableBiEntity
ProjIntercompanyCompany code held in a data area field. The label is missing, so the exact use is unclear.low confidenceString
SelectableDataArea
NoCustInvoiceTableBiEntity
ProvisionalAssessment_INShows whether the invoice amount is set by provisional assessment, used for India.Enum
NoYesId
NoYes (enum)
NoCustInvoiceTableBiEntity
PurchOrderFormNumCustomer requisition number.String (20)
CustPurchaseOrder
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoCustInvoiceTableBiEntity
ReleaseDateDate and time when the invoice was released.UtcDateTime
PostReleaseDate
NoCustInvoiceTableBiEntity
SalesDate_WSales date of the invoice.Date
SalesDate_W
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
SalesIdSales order linked to the invoice.String (20)
SalesId
NoSalesTable.SalesIdCustInvoiceTableBiEntity
SalesPurchOperationType_BROperation type for the invoice, used for Brazil.Int64
SalesPurchOperationTypeRecId_BR
NoSalesPurchOperationType_BR.RecIdFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
SATIncotermCode_MXIncoterm code from the external code list, used for Mexico.String
SATIncoterm_MX
NoCustInvoiceTableBiEntity
SATPaymMethod_MXPayment type code from the external code list, used for Mexico.String
SATPaymMethod_MX
NoCustInvoiceTableBiEntity
SATPurpose_MXPurpose code from the external code list, used for Mexico.String
SATPurpose_MX
NoCustInvoiceTableBiEntity
ServiceCode_FRService code of the invoice account, used for France.String (100)
BusinessDocInvoiceAccountServiceCode_FR
NoCustInvoiceTableBiEntity
ServiceCodeOnDlvAddress_BRShows whether the service code comes from the delivery address, used for Brazil.Enum
TaxServiceCodeOnDlvAddress_BR
NoYes (enum)
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
ServiceCodeRefRecIdService code record linked to the invoice, used for France.Int64
BusinessDocChorusProServiceCodeRefRecId
NoBusinessDocChorusProServiceCodeTable_FR.RecIdCustInvoiceTableBiEntity
SourceCertificate_MXShows whether there is a source certificate, used for Mexico.Enum
SourceCertificate_MX
NoYes (enum)
NoCustInvoiceTableBiEntity
SourceDocumentHeaderSource document header linked to the invoice.Int64
RefRecId
NoSourceDocumentHeader.RecIdCustInvoiceTableBiEntity
SourceDocumentLineSource document line linked to the invoice.Int64
RefRecId
NoSourceDocumentLine.RecIdCustInvoiceTableBiEntity
StatProcIdStatistics procedure for Intrastat reporting.String
IntrastatProcId
NoCustInvoiceTableBiEntity
SubLedgerJournalStatusStatus of the subledger journal: required, processing or completed.Enum
SubLedgerJournalStatus (enum)
NoCustInvoiceTableBiEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoCustInvoiceTableBiEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TAMDeductionIDDeduction linked to the invoice.String (20)
TAMDeductionID
NoTAMDeduction.TAMDeductionIDCustInvoiceTableBiEntity
TAMRebateTransIdRebate transaction number linked to the invoice.String (20)
TAMRebateTransId
NoCustInvoiceTableBiEntity
TaxGroupSales tax group for the invoice.String
TaxGroup
NoTaxGroupHeading.TaxGroupFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
TaxIdTax registration number record linked to the invoice.Int64
TaxRegistrationRecId
NoTaxRegistration.RecIdCustInvoiceTableBiEntity
TaxInvoiceTransactionCode_IDTransaction code on the tax invoice, used for Indonesia.String (2)
TaxInvoiceTransactionCode_ID
NoCustInvoiceTableBiEntity
TaxItemGroupItem sales tax group for the invoice.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity
TaxPeriodPaymentCode_PLVAT report date code, used for Poland.String
PlTaxPeriodPaymentCode
NoPlTaxDueTable.TaxPeriodPaymentCodeCustInvoiceTableBiEntity
TaxWithholdCalculateYes/no flag with no label. It may relate to withholding tax calculation.low confidenceEnum
NoYes (enum)
NoCustInvoiceTableBiEntity
TCSGroup_INWithholding tax group for TCS, used for India.String
TaxWithholdGroup
NoTaxWithholdGroupHeading.TaxWithholdGroupCustInvoiceTableBiEntity
TDSGroup_INWithholding tax group for TDS, used for India.String
TaxWithholdGroup
NoTaxWithholdGroupHeading.TaxWithholdGroupCustInvoiceTableBiEntity
TouchedYes/no flag showing whether the record was updated.low confidenceEnum
TradeTouched
NoYes (enum)
NoCustInvoiceTableBiEntity
TransactionCodeIntrastat transaction code.String
IntrastatTransactionCodeId
NoIntrastatTransactionCode.TransactionCodeCustInvoiceTableBiEntity
TransportTransport method for Intrastat reporting.String
IntrastatTransport
NoIntrastatTransportMode.TransPortCodeCustInvoiceTableBiEntity
TransportationDocumentTransportation details record linked to the invoice.Int64
TransportationDocumentRecId
NoTransportationDocument.RecIdCustInvoiceTableBiEntity
UnitedVATInvoice_LTShows whether this is a united VAT invoice, used for Lithuania.Enum
UnitedVATInvoice_LT
NoYes (enum)
NoCustInvoiceTableBiEntity
UseDefaultFromCustomerSource of default values for recurring invoices: a free text invoice template or the customer account.Enum
CustRecurrenceInvoiceDefaultType (enum)
NoCustInvoiceTableBiEntity
VatDueDate_WDate the invoice enters the VAT register.Date
VatDueDate_W
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
VATNumTax exempt number on the invoice.String (20)
VATNumJournal
NoCustInvoiceTableBiEntity
VATNumRecIdSystem record ID of the tax exempt number.Int64
RefRecId
NoCustInvoiceTableBiEntity
VATNumTableTypeSource type of the tax exempt number: none, tax registration or VAT number table.Enum
TaxExemptNumberSourceType (enum)
NoCustInvoiceTableBiEntity
VATOnPayment_RUShows whether VAT is handled on payment, used for Russia.Enum
VATOnPayment_RU
NoYes (enum)
NoFreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity
WithIGSTPayment_INShows whether the invoice is with tax payment, used for India.Enum
NoYesId
NoYes (enum)
NoCustInvoiceTableBiEntity
WorkerSalesTakerWorker who is the recipient or sales representative on the invoice.Int64
SalesTaker
NoHcmWorker.RecIdCustInvoiceTableBiEntity
WorkflowApprovalStateCurrent approval state in the workflow, such as draft, in review or approved.Enum
CustFreeInvoiceWFApprovalState (enum)
NoCustInvoiceTableBiEntity
WorkflowApprovalStatusWorkflow status of the invoice, such as submitted, approved or rejected.Enum
CustFreeInvoiceWFApprovalStatus (enum)
NoCustInvoiceTableBiEntity
WouldYouClaimRefund_INShows whether a refund will be claimed, used for India.Enum
NoYesId
NoYes (enum)
NoCustInvoiceTableBiEntity

Indexes (18)

Relations (68)

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

  • AccountingDistributionTemplate → AccountingDistributionTemplate

    Join on AccountingDistributionTemplate = AccountingDistributionTemplate.RecId

    Many CustInvoiceTable records → zero or one AccountingDistributionTemplate record

  • AgreementHeaderExt_RU → AgreementHeaderExt_RU

    Join on AgreementHeaderExt_RU = AgreementHeaderExt_RU.RecId

    Many CustInvoiceTable records → zero or one AgreementHeaderExt_RU record

  • BankAccount_LV → BankAccountTable

    Join on BankAccount_LV = BankAccountTable.AccountID

    Zero or one CustInvoiceTable record → zero or one BankAccountTable record

  • BankCentralBankPurpose → BankCentralBankPurpose

    Join on BankCentralBankPurposeCode = BankCentralBankPurpose.Code

    Many CustInvoiceTable records → zero or one BankCentralBankPurpose record

  • CashDisc → CashDisc

    Join on CashDiscCode = CashDisc.CashDiscCode

    Many CustInvoiceTable records → zero or one CashDisc record

  • CFOPTable_BR → CFOPTable_BR

    Join on CFOPTable_BR = CFOPTable_BR.RecId

    Many CustInvoiceTable records → zero or one CFOPTable_BR record

  • ContactPerson → ContactPerson

    Join on ContactPersonId = ContactPerson.ContactPersonId

    Many CustInvoiceTable records → zero or one ContactPerson record

  • CurBankAccount_LV → BankAccountTable

    Join on CurBankAccount_LV = BankAccountTable.AccountID

    Zero or one CustInvoiceTable record → zero or one BankAccountTable record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many CustInvoiceTable records → exactly one Currency record

  • CustBankAccount → CustBankAccount

    Join on InvoiceAccount = CustBankAccount.CustAccount, CustBankAccountId = CustBankAccount.AccountID

    Many CustInvoiceTable records → zero or one CustBankAccount record

  • CustBankAccount_LV → CustBankAccount

    Join on InvoiceAccount = CustBankAccount.CustAccount, CustBankAccount_LV = CustBankAccount.AccountID

    Many CustInvoiceTable records → zero or one CustBankAccount record

  • CustBillingClassification → CustBillingClassification

    Join on CustBillingClassification = CustBillingClassification.RecId

    Many CustInvoiceTable records → exactly one CustBillingClassification record

  • CustDirectDebitMandate → CustDirectDebitMandate

    Join on DirectDebitMandate = CustDirectDebitMandate.RecId

    Many CustInvoiceTable records → zero or one CustDirectDebitMandate record

  • CustFineCode_BR → CustFineSetup_BR

    Join on FineCode_BR = CustFineSetup_BR.FineCode

    Many CustInvoiceTable records → zero or one CustFineSetup_BR record

  • CustGroup → CustGroup

    Join on CustGroup = CustGroup.CustGroup

    Many CustInvoiceTable records → exactly one CustGroup record

  • CustInterestCode_BR → CustInterestSetup_BR

    Join on InterestCode_BR = CustInterestSetup_BR.InterestCode

    Many CustInvoiceTable records → zero or one CustInterestSetup_BR record

  • CustInvoice → CustInvoiceJour

    Join on InvoiceId = CustInvoiceJour.InvoiceId

    Many CustInvoiceTable records → zero or one CustInvoiceJour record

  • CustInvoiceTable → CustInvoiceTable

    Join on RecId = CustInvoiceTable.RecId

    Cardinality not set in the metadata.

  • CustLedger → CustLedger

    Join on PostingProfile = CustLedger.PostingProfile

    Many CustInvoiceTable records → zero or one CustLedger record

  • CustPaymModeSpec → CustPaymModeSpec

    Join on PaymMode = CustPaymModeSpec.PaymMode, PaymSpec = CustPaymModeSpec.Specification

    Many CustInvoiceTable records → zero or one CustPaymModeSpec record

  • CustPaymModeTable → CustPaymModeTable

    Join on PaymMode = CustPaymModeTable.PaymMode

    Many CustInvoiceTable records → zero or one CustPaymModeTable record

  • CustTable_InvoiceAmount → CustTable

    Join on InvoiceAccount = CustTable.AccountNum

    Many CustInvoiceTable records → exactly one CustTable record

  • CustTable_OrderAmount → CustTable

    Join on OrderAccount = CustTable.AccountNum

    Many CustInvoiceTable records → exactly one CustTable record

  • CustTable_RU → CustTable

    Join on ConsigneeAccount_RU = CustTable.AccountNum

    Many CustInvoiceTable records → exactly one CustTable record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many CustInvoiceTable records → zero or one DimensionAttributeValueSet record

  • DeliveryLocation_FK → LogisticsLocation

    Join on DeliveryLocation = LogisticsLocation.RecId

    Many CustInvoiceTable records → zero or one LogisticsLocation record

  • DlvTerm → DlvTerm

    Join on DlvTerm = DlvTerm.Code

    Many CustInvoiceTable records → zero or one DlvTerm record

  • FiscalDocumentType_BR → FiscalDocumentType_BR

    Join on FiscalDocumentType_BR = FiscalDocumentType_BR.RecId

    Many CustInvoiceTable records → zero or one FiscalDocumentType_BR record

  • FiscalEstablishment_BR → FiscalEstablishment_BR

    Join on FiscalEstablishment_BR = FiscalEstablishment_BR.RecId

    One or more CustInvoiceTable records → exactly one FiscalEstablishment_BR record

  • IntrastatPort → IntrastatPort

    Join on Port = IntrastatPort.PortId

    Many CustInvoiceTable records → zero or one IntrastatPort record

  • IntrastatStatProc → IntrastatStatProc

    Join on StatProcId = IntrastatStatProc.StatProcId

    Many CustInvoiceTable records → zero or one IntrastatStatProc record

  • IntrastatTransactionCode → IntrastatTransactionCode

    Join on TransactionCode = IntrastatTransactionCode.TransactionCode

    Many CustInvoiceTable records → zero or one IntrastatTransactionCode record

  • IntrastatTransportMode → IntrastatTransportMode

    Join on Transport = IntrastatTransportMode.TransPortCode

    Many CustInvoiceTable records → zero or one IntrastatTransportMode record

  • LanguageTable → LanguageTable

    Join on LanguageId = LanguageTable.LanguageId, LanguageTable.LabelFile = 1

    Many CustInvoiceTable records → exactly one LanguageTable record

  • MCRNumberSequenceTable → NumberSequenceTable

    Join on MCRNumberSequenceCode = NumberSequenceTable.NumberSequence

    Many CustInvoiceTable records → exactly one NumberSequenceTable record

  • MCRSalesTable → SalesTable

    Join on MCRSalesID = SalesTable.SalesId

    Many CustInvoiceTable records → exactly one SalesTable record

  • NumberSequenceGroup → NumberSequenceGroup

    Join on numberSequenceGroup = NumberSequenceGroup.numberSequenceGroupId

    Many CustInvoiceTable records → zero or one NumberSequenceGroup record

  • PaymentSched → PaymSched

    Join on PaymentSched = PaymSched.Name

    Many CustInvoiceTable records → zero or one PaymSched record

  • PaymTerm → PaymTerm

    Join on Payment = PaymTerm.PaymTermId

    Many CustInvoiceTable records → zero or one PaymTerm record

  • PlTaxDueTable → PlTaxDueTable

    Join on TaxPeriodPaymentCode_PL = PlTaxDueTable.TaxPeriodPaymentCode

    Many CustInvoiceTable records → zero or one PlTaxDueTable record

  • PostalAddress → LogisticsPostalAddress

    Join on PostalAddress = LogisticsPostalAddress.RecId

    Many CustInvoiceTable records → zero or one LogisticsPostalAddress record

  • ReasonTableRef → ReasonTableRef

    Join on CorrectionReasonCode = ReasonTableRef.RecId

    Many CustInvoiceTable records → zero or one ReasonTableRef record

  • SalesPurchOperationType_BR → SalesPurchOperationType_BR

    Join on SalesPurchOperationType_BR = SalesPurchOperationType_BR.RecId

    Many CustInvoiceTable records → zero or one SalesPurchOperationType_BR record

  • SalesTable_RU → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many CustInvoiceTable records → exactly one SalesTable record

  • SourceDocumentHeader → SourceDocumentHeader

    Join on SourceDocumentHeader = SourceDocumentHeader.RecId

    Many CustInvoiceTable records → zero or one SourceDocumentHeader record

  • SourceDocumentLine → SourceDocumentLine

    Join on SourceDocumentLine = SourceDocumentLine.RecId

    Many CustInvoiceTable records → zero or one SourceDocumentLine record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many CustInvoiceTable records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many CustInvoiceTable records → zero or one TaxItemGroupHeading record

  • TaxServiceTariff → TaxServiceTariff

    Join on RecId = TaxServiceTariff.ParentRecId, TableId = TaxServiceTariff.ParentTableId

    Zero or one CustInvoiceTable record → zero or one TaxServiceTariff record

  • TaxWithholdGroupHeadingTCS_IN → TaxWithholdGroupHeading

    Join on TCSGroup_IN = TaxWithholdGroupHeading.TaxWithholdGroup

    Many CustInvoiceTable records → zero or one TaxWithholdGroupHeading record

  • TaxWithholdGroupHeadingTDS_IN → TaxWithholdGroupHeading

    Join on TDSGroup_IN = TaxWithholdGroupHeading.TaxWithholdGroup

    Many CustInvoiceTable records → zero or one TaxWithholdGroupHeading record

  • TransportationDocument → TransportationDocument

    Join on TransportationDocument = TransportationDocument.RecId

    Zero or one CustInvoiceTable record → zero or one TransportationDocument record

  • VendTable_RU → VendTable

    Join on ConsignorAccount_RU = VendTable.AccountNum

    Many CustInvoiceTable records → exactly one VendTable record

  • WorkerSalesTaker_FK → HcmWorker

    Join on WorkerSalesTaker = HcmWorker.RecId

    Many CustInvoiceTable records → zero or one HcmWorker record

  • CustTable_OrderAccount → CustTable

    Join on OrderAccountRefRecId = CustTable.RecId

    Many CustInvoiceTable records → zero or one CustTable record

  • SATPaymMethod_MX → EInvoiceExtCodeTable_MX

    Join on SATPaymMethod_MX = EInvoiceExtCodeTable_MX.CodeId, EInvoiceExtCodeTable_MX.CodeType = 4

    Exactly one CustInvoiceTable record → exactly one EInvoiceExtCodeTable_MX record

  • SATPurpose_MX → EInvoiceExtCodeTable_MX

    Join on SATPurpose_MX = EInvoiceExtCodeTable_MX.CodeId, EInvoiceExtCodeTable_MX.CodeType = 3

    Exactly one CustInvoiceTable record → exactly one EInvoiceExtCodeTable_MX record

  • CustomerInvoiceOrigin → CustomerInvoiceOrigin

    Join on CustomerInvoiceOriginId = CustomerInvoiceOrigin.OriginId

    Many CustInvoiceTable records → zero or one CustomerInvoiceOrigin record

  • LogisticsAddressCountryRegion → LogisticsAddressCountryRegion

    Join on FiscalAddress_MX = LogisticsAddressCountryRegion.CountryRegionId

    Many CustInvoiceTable records → zero or one LogisticsAddressCountryRegion record

  • SATIncoterm_MX → EInvoiceExtCodeTable_MX

    Join on SATIncotermCode_MX = EInvoiceExtCodeTable_MX.CodeId, EInvoiceExtCodeTable_MX.CodeType = 5

    Exactly one CustInvoiceTable record → exactly one EInvoiceExtCodeTable_MX record

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

    Many CustInvoiceTable records → zero or one FinTag record

  • EstablishmentRef → OMOperatingUnit

    Join on Establishment = OMOperatingUnit.RecId

    Many CustInvoiceTable records → zero or one OMOperatingUnit record

  • CustIntentLetter_IT → CustIntentLetter_IT

    Join on IntentLetterId_IT = CustIntentLetter_IT.InternalLetterId

    Many CustInvoiceTable records → zero or one CustIntentLetter_IT record

  • TaxRegistration → TaxRegistration

    Join on TaxId = TaxRegistration.RecId

    Many CustInvoiceTable records → zero or one TaxRegistration record

  • ElectronicInvoiceFrameworkType → BusinessDocumentElectronicInvoiceFrameworkTable

    Join on ElectronicInvoiceFrameworkType_FR = BusinessDocumentElectronicInvoiceFrameworkTable.RecId

    Many CustInvoiceTable records → zero or one BusinessDocumentElectronicInvoiceFrameworkTable record

  • ProjectManager → CustTable

    Join on ProjectManager_FR = CustTable.AccountNum

    Many CustInvoiceTable records → zero or one CustTable record

  • BusinessDocChorusProServiceCodeTable_FR → BusinessDocChorusProServiceCodeTable_FR

    Join on ServiceCodeRefRecId = BusinessDocChorusProServiceCodeTable_FR.RecId

    Cardinality not set in the metadata.

  • TAMDeduction → TAMDeduction

    Join on TAMDeductionID = TAMDeduction.TAMDeductionID

    Many CustInvoiceTable records → zero or one TAMDeduction record

Get this data out

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

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

Email sales@drdynamics.co.uk