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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountingDistributionTemplateAccounting distribution template linked to the invoice. | Int64AccountingDistributionTemplateRecId | No | AccountingDistributionTemplate.RecId | CustInvoiceTableBiEntity |
AdjustingInvoiceDateDate of the invoice that this invoice adjusts. | DateTransDate | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
AgreementHeaderExt_RUAgreement linked to the invoice, used for Russia. | Int64AgreementHeaderExtRecId_RU | No | AgreementHeaderExt_RU.RecId | CustInvoiceTableBiEntity |
BankAccount_LVMain company bank account for the invoice, used for Latvia. | StringCompanyBankAccountId | No | BankAccountTable.AccountID | CustInvoiceTableBiEntity |
BankCentralBankPurposeCodePayment purpose code required for central bank reporting. | StringBankCentralBankPurposeCode | No | BankCentralBankPurpose.Code | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity |
BankCentralBankPurposeTextFree text that explains the central bank payment purpose. | String (210)BankCentralBankPurposeText | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
CashDiscBaseDateDate from which the payment terms are counted. | DateCashDiscBaseDate | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity | |
CashDiscBaseDaysNumber of days used as the base for the payment terms. | IntegerCashDiscBaseDays | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity | |
CashDiscCodeCash discount code that applies to the invoice. | StringCustCashDiscCode | No | CashDisc.CashDiscCode | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity |
CashDiscDateLast date on which the cash discount can be taken. | DateCustCashDiscDate | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity | |
CashDiscPercentPercentage rate of the cash discount. | RealDiscPct | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
CertificateNumber_MXNumber of the certificate on the document, used for Mexico. | String (40)CertificateNumber_MX | No | CustInvoiceTableBiEntity | |
CFDIEInvoicePeriod_MXPeriod for the electronic invoice: daily, weekly, biweekly, monthly or bimonthly. Used for Mexico. | EnumRetailEInvoicePeriod_MX (enum) | No | CustInvoiceTableBiEntity | |
CFDITemporaryExport_MXShows whether this is a temporary export, used for Mexico. | EnumCFDITemporaryExport_MXNoYes (enum) | No | CustInvoiceTableBiEntity | |
CFOPTable_BRFiscal operation code (CFOP) for the invoice, used for Brazil. | Int64RefRecId | No | CFOPTable_BR.RecId | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity |
CFPSId_BRCFPS code, used for Brazil. | String (4)CFPSId_BR | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
ComplementedInvoiceIdInvoice that this invoice complements. | String (50)InvoiceId | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity | |
ConsigneeAccount_RUCustomer account of the consignee, used for Russia. | String (20)CustAccountConsignee_RU | No | CustTable.AccountNum | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity |
ConsignorAccount_RUVendor account of the shipper, used for Russia. | String (20)VendAccountConsignor_RU | No | VendTable.AccountNum | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity |
ContactPersonIdContact person recorded for the invoice. | String (20)ContactPersonId | No | ContactPerson.ContactPersonId | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity |
Correct_RUShows whether the document is a corrective document, used for Russia. | EnumCorrect_RUNoYes (enum) | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
CorrectedFactureDate_RUDate of the facture being corrected, used for Russia. | DateFactureDate_RU | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
CorrectedFactureExternalId_RUExternal number of the facture being corrected, used for Russia. | String (30)FactureExternalId_RU | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
CorrectedInvoiceDate_RUDate of the invoice being corrected, used for Russia. | DateCorrectedInvoiceDate_RU | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
CorrectedInvoiceId_RUNumber of the invoice being corrected, used for Russia. | String (50)CorrectedInvoiceId_RU | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
CorrectedPeriod_RUPeriod that the correction applies to, used for Russia. | DateTransDate | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
CorrectionReasonCodeReason reference that explains the correction. | Int64ReasonRefRecID | No | ReasonTableRef.RecId | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity |
CorrectionType_RUKind of correction: none, correction or revision. Used for Russia. | EnumFactureCorrectionType_RU (enum) | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
CovStatusStatus number linked to cash flow forecast.low confidence | IntegerCovStatus | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | CustInvoiceTableBiEntity | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | CustInvoiceTableBiEntity | |
CurBankAccount_LVCompany bank account for the additional currency, used for Latvia. | StringCompanyBankAccountId | No | BankAccountTable.AccountID | CustInvoiceTableBiEntity |
CurrencyCodeCurrency of the invoice. | String (3)CustCurrencyCode | Yes | Currency.CurrencyCode | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity |
CustBankAccount_LVCustomer bank account, used for Latvia. | StringCustBankAccountId | No | CustBankAccount.AccountID | CustInvoiceTableBiEntity |
CustBankAccountIdBank account of the invoice account customer. | StringCustBankAccountId | No | CustBankAccount.AccountID | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity |
CustBillingClassificationBilling classification linked to the invoice. | Int64RefRecId | No | CustBillingClassification.RecId | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity |
CustFinalUser_BRShows whether the customer is a final user, used for Brazil. | EnumCustVendFinalUser_BRNoYes (enum) | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
CustGroupCustomer group of the customer. | StringCustGroupId | Yes | CustGroup.CustGroup | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity |
CustomerInvoiceOriginIdOrigin code of the customer invoice. | StringCustomerInvoiceOriginId | No | CustomerInvoiceOrigin.OriginId | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity |
CustomerRefReference text supplied by the customer. | String (60)CustRef | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | CustInvoiceTableBiEntity | |
DefaultDimensionDefault financial dimension values set for the invoice. | Int64LedgerDimensionValueSet | No | DimensionAttributeValueSet.RecId | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity |
DeliveryDate_ESDelivery date, used for Spain. | DateLedgerJournalDlvDate_ES | No | CustInvoiceTableBiEntity | |
DeliveryLocationLocation record used for delivery. | Int64LogisticsLocationRecId | No | LogisticsLocation.RecId | CustInvoiceTableBiEntity |
DeliveryPostalAddressPostal address used for delivery. | Int64LogisticsPostalAddressRecId | No | CustInvoiceTableBiEntity | |
DirectDebitMandateDirect debit mandate of the customer used for this invoice. | Int64CustDirectDebitMandateRecId | No | CustDirectDebitMandate.RecId | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity |
DlvTermTerms of delivery for the invoice. | StringCustDlvTermId | No | DlvTerm.Code | CustInvoiceTableBiEntity |
DocNumberingCode_LTDocument numbering code, used for Lithuania. | StringLtDocNumberingCode | No | CustInvoiceTableBiEntity | |
DocumentDateDate shown on the source document. | DateDocumentDate | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity | |
DueDateDate on which payment is due. | DateDueDate | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity | |
EInvoiceAccountCodeAccount code for the dimension used in electronic invoices. | String (35)EInvoiceAccountCode | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
EInvoiceCFDIConfirmNumber_MXConfirmation number for the CFDI, used for Mexico. | String (5)EInvoiceCFDIConfirmNumber_MX | No | CustInvoiceTableBiEntity | |
EInvoiceLineSpecShows whether the electronic invoice uses line-specific settings. | EnumEInvoiceLineSpecificNoYes (enum) | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
ElectronicInvoiceFrameworkType_FRElectronic invoice framework linked to the invoice, used for France. | Int64RefRecId | No | BusinessDocumentElectronicInvoiceFrameworkTable.RecId | CustInvoiceTableBiEntity |
EnterpriseNumberEnterprise registration number. | String (50)TaxEnterpriseNumber | No | CustInvoiceTableBiEntity | |
EstablishmentEstablishment (operating unit) within the company that the invoice belongs to. | Int64EstablishmentRefRecId | No | OMOperatingUnit.RecId | CustInvoiceTableBiEntity |
ExchRate_WExchange rate applied to the invoice. | RealCustExchRate | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
ExcludeFromDecoupledPostingProcessShows whether the invoice is left out of the decoupled posting process. | EnumNoYes (enum) | No | CustInvoiceTableBiEntity | |
ExternalInvoiceIdInvoice number from an external source. | String (60)CustomerExternalInvoiceId | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity | |
FineCode_BRFine code, used for Brazil. | StringCustFineCode_BR | No | CustFineSetup_BR.FineCode | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity |
FinTagFinancial tag attached to the invoice. | Int64FinTagRecId | No | FinTag.RecId | CustInvoiceTableBiEntity |
FiscalAddress_MXCountry or region code for the fiscal address, used for Mexico. | StringLogisticsAddressCountryRegionId | No | LogisticsAddressCountryRegion.CountryRegionId | CustInvoiceTableBiEntity |
FiscalDocType_PLWhether the printed document is an invoice or a fiscal document. Used for Poland. | EnumPlFiscalDocType (enum) | No | CustInvoiceTableBiEntity | |
FiscalDocumentType_BRFiscal document type, used for Brazil. | Int64FiscalDocumentTypeRecID_BR | No | FiscalDocumentType_BR.RecId | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity |
FiscalEstablishment_BRFiscal establishment linked to the invoice, used for Brazil. | Int64FiscalEstablishmentRecId_BR | No | FiscalEstablishment_BR.RecId | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity |
ForeignTrade_MXShows whether the invoice is for a foreign trade operation, used for Mexico. | EnumForeignTrade_MXNoYes (enum) | No | CustInvoiceTableBiEntity | |
ForInterestAdjustmentYes/no flag. The label is missing, so the meaning is unclear, though the name suggests interest adjustment.low confidence | EnumNoYes (enum) | No | CustInvoiceTableBiEntity | |
GiroTypeType of payment slip attached to the invoice, such as FIK, BBS or a coloured slip. | EnumPaymentStubInvoiceIdPaymentStub (enum) | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity | |
InclTaxShows whether prices include sales tax. | EnumInclTaxNoYes (enum) | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity | |
InclTax_WShows whether prices include sales tax. | EnumInclTaxNoYes (enum) | No | CustInvoiceTableBiEntity | |
IntentLetterId_ITInternal number of the customer intent letter, used for Italy. | StringIntentLetterInternalId_IT | No | CustIntentLetter_IT.InternalLetterId | CustInvoiceTableBiEntity |
InterCompanyPostedShows whether the invoice was posted through intercompany. | EnumInterCompanyPostedNoYes (enum) | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity | |
InterestCode_BRInterest code, used for Brazil. | StringCustInterestCode_BR | No | CustInterestSetup_BR.InterestCode | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity |
IntrastatFulfillmentDate_HUFulfilment date for Intrastat, used for Hungary. | DateIntrastatFulfillmentDate_HU | No | CustInvoiceTableBiEntity | |
InvoiceAccountCustomer account that is invoiced. | String (20)CustInvoiceAccount | Yes | CustTable.AccountNum | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity |
InvoiceComplementaryTypeType of complementary fiscal document: none, price or tax. Used for Brazil. | EnumInvoiceComplementaryType_BR (enum) | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
InvoiceDateDate of the invoice. | DateTransDate | Yes | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity | |
InvoiceIdInvoice number. It relates to the customer invoice journal. | String (20)CustInvoiceId | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntityand 1 more | |
InvoiceType_WType of invoice: tax invoice or simplified invoice. | EnumInvoiceType_W (enum) | No | CustInvoiceTableBiEntity | |
LanguageIdLanguage used for the invoice. | String (7)CustLanguageId | Yes | LanguageTable.LanguageId | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity |
ListcodeList code that classes the trade type, such as EU trade or triangular trade. | EnumListcodeIdListcode (enum) | No | CustInvoiceTableBiEntity | |
LogFree text log entry on the invoice. | String (255)LogText | No | CustInvoiceTableBiEntity | |
ManualInvoiceID_WInvoice number assigned by hand. | String (50)InvoiceId | No | CustInvoiceTableBiEntity | |
ManualNumbering_WShows whether invoice numbers are assigned automatically, used for Lithuania.low confidence | EnumLtInvoiceAutoNumberingNoYes (enum) | No | CustInvoiceTableBiEntity | |
MCRGiftCardYes/no flag with no label. It may relate to gift cards, but this is unclear.low confidence | EnumNoYes (enum) | No | CustInvoiceTableBiEntity | |
MCRLedgerVoucherLedger voucher number linked to the invoice. | String (20)Voucher | No | CustInvoiceTableBiEntity | |
MCRNumberSequenceCodeNumber sequence code linked to the invoice. | StringNumberSequenceCode | No | CustInvoiceTableBiEntity | |
MCRSalesIDSales order linked to the invoice. | String (20)SalesIdBase | No | SalesTable.SalesId | CustInvoiceTableBiEntity |
NameName printed on the invoice. | String (100)LogisticsInvoiceName | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity | |
NatureOfAssessee_INType of assessee, such as company, firm or individual. Used for India. | EnumNatureOfAssessee_IN (enum) | No | CustInvoiceTableBiEntity | |
NonRealRevenue_RUShows whether the revenue is unrealised, used for Russia. | EnumNonRealRevenue_RUNoYes (enum) | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
numberSequenceGroupNumber sequence group used for the invoice. | StringNumberSequenceGroupId | No | NumberSequenceGroup.numberSequenceGroupId | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity |
NumRegIdTrib_MXTax registration number for the country of residence, used for Mexico. | String (40)NumRegIdTrib_MX | No | CustInvoiceTableBiEntity | |
OneTimeCustomerShows whether the invoice is for a one-time customer. | EnumOneTimeCustomerNoYes (enum) | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
OrderAccountCustomer account the invoice is for. It points to a customer record. | String (20)CustAccount | Yes | CustTable.AccountNum | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity |
OrderAccountRefRecIdSystem record ID of the customer in the order account. | Int64RefRecId | No | CustTable.RecId | CustInvoiceTableBiEntity |
OverrideSalesTaxShows whether the sales tax set by tax calculation is overridden. | EnumTaxIntegrationOverrideSalesTaxNoYes (enum) | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
PackedExtensionsContainer that stores packed extension data. | ContainerSysExtensionSerializerPackedContainer | No | CustInvoiceTableBiEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentTerms of payment for the invoice. | String (100)CustPaymTermId | No | PaymTerm.PaymTermId | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity |
PaymentSchedPayment schedule for the invoice. | String (30)PaymSchedId | No | PaymSched.Name | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity |
PaymModeMethod of payment for the customer. | StringCustPaymMode | No | CustPaymModeTable.PaymMode | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity |
PaymSpecPayment specification for the chosen method of payment. | StringPaymSpec | No | CustPaymModeSpec.Specification | CustInvoiceTableBiEntity |
PortIntrastat port linked to the invoice. | StringIntrastatPortId | No | IntrastatPort.PortId | CustInvoiceTableBiEntity |
PostalAddressPostal address of the customer on the invoice. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | CustInvoiceTableBiEntity |
PostedShows whether the invoice has been posted. | EnumPostedNoYes (enum) | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity | |
PostingProfileCustomer posting profile used for the invoice. | StringCustPostingProfile | No | CustLedger.PostingProfile | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity |
PostponeVATShows whether VAT is postponed, used for the Czech Republic. | EnumCzPostponeVATNoYes (enum) | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
PresenceType_BRHow the buyer was present, such as in person, internet or telesales. Used for Brazil. | EnumEFDocPresenceType_BR (enum) | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
PrintDynamicQRCode_INShows whether a dynamic QR code is printed on the invoice, used for India. | EnumPrintDynamicQRCode_INNoYes (enum) | No | CustInvoiceTableBiEntity | |
PrintOverdueFineTxt_FRShows whether the lump sum recovery text is printed, used for France. | EnumPrintOverdueFineTxt_FRNoYes (enum) | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
ProjectManager_FRCustomer account of the project manager, used for France. | String (20)CustAccount | No | CustTable.AccountNum | CustInvoiceTableBiEntity |
ProjIntercompanyCompany code held in a data area field. The label is missing, so the exact use is unclear.low confidence | StringSelectableDataArea | No | CustInvoiceTableBiEntity | |
ProvisionalAssessment_INShows whether the invoice amount is set by provisional assessment, used for India. | EnumNoYesIdNoYes (enum) | No | CustInvoiceTableBiEntity | |
PurchOrderFormNumCustomer requisition number. | String (20)CustPurchaseOrder | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | CustInvoiceTableBiEntity | |
ReleaseDateDate and time when the invoice was released. | UtcDateTimePostReleaseDate | No | CustInvoiceTableBiEntity | |
SalesDate_WSales date of the invoice. | DateSalesDate_W | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
SalesIdSales order linked to the invoice. | String (20)SalesId | No | SalesTable.SalesId | CustInvoiceTableBiEntity |
SalesPurchOperationType_BROperation type for the invoice, used for Brazil. | Int64SalesPurchOperationTypeRecId_BR | No | SalesPurchOperationType_BR.RecId | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity |
SATIncotermCode_MXIncoterm code from the external code list, used for Mexico. | StringSATIncoterm_MX | No | CustInvoiceTableBiEntity | |
SATPaymMethod_MXPayment type code from the external code list, used for Mexico. | StringSATPaymMethod_MX | No | CustInvoiceTableBiEntity | |
SATPurpose_MXPurpose code from the external code list, used for Mexico. | StringSATPurpose_MX | No | CustInvoiceTableBiEntity | |
ServiceCode_FRService code of the invoice account, used for France. | String (100)BusinessDocInvoiceAccountServiceCode_FR | No | CustInvoiceTableBiEntity | |
ServiceCodeOnDlvAddress_BRShows whether the service code comes from the delivery address, used for Brazil. | EnumTaxServiceCodeOnDlvAddress_BRNoYes (enum) | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
ServiceCodeRefRecIdService code record linked to the invoice, used for France. | Int64BusinessDocChorusProServiceCodeRefRecId | No | BusinessDocChorusProServiceCodeTable_FR.RecId | CustInvoiceTableBiEntity |
SourceCertificate_MXShows whether there is a source certificate, used for Mexico. | EnumSourceCertificate_MXNoYes (enum) | No | CustInvoiceTableBiEntity | |
SourceDocumentHeaderSource document header linked to the invoice. | Int64RefRecId | No | SourceDocumentHeader.RecId | CustInvoiceTableBiEntity |
SourceDocumentLineSource document line linked to the invoice. | Int64RefRecId | No | SourceDocumentLine.RecId | CustInvoiceTableBiEntity |
StatProcIdStatistics procedure for Intrastat reporting. | StringIntrastatProcId | No | CustInvoiceTableBiEntity | |
SubLedgerJournalStatusStatus of the subledger journal: required, processing or completed. | EnumSubLedgerJournalStatus (enum) | No | CustInvoiceTableBiEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | CustInvoiceTableBiEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TAMDeductionIDDeduction linked to the invoice. | String (20)TAMDeductionID | No | TAMDeduction.TAMDeductionID | CustInvoiceTableBiEntity |
TAMRebateTransIdRebate transaction number linked to the invoice. | String (20)TAMRebateTransId | No | CustInvoiceTableBiEntity | |
TaxGroupSales tax group for the invoice. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity |
TaxIdTax registration number record linked to the invoice. | Int64TaxRegistrationRecId | No | TaxRegistration.RecId | CustInvoiceTableBiEntity |
TaxInvoiceTransactionCode_IDTransaction code on the tax invoice, used for Indonesia. | String (2)TaxInvoiceTransactionCode_ID | No | CustInvoiceTableBiEntity | |
TaxItemGroupItem sales tax group for the invoice. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntityFreeTextInvoiceHeaderCDSEntity |
TaxPeriodPaymentCode_PLVAT report date code, used for Poland. | StringPlTaxPeriodPaymentCode | No | PlTaxDueTable.TaxPeriodPaymentCode | CustInvoiceTableBiEntity |
TaxWithholdCalculateYes/no flag with no label. It may relate to withholding tax calculation.low confidence | EnumNoYes (enum) | No | CustInvoiceTableBiEntity | |
TCSGroup_INWithholding tax group for TCS, used for India. | StringTaxWithholdGroup | No | TaxWithholdGroupHeading.TaxWithholdGroup | CustInvoiceTableBiEntity |
TDSGroup_INWithholding tax group for TDS, used for India. | StringTaxWithholdGroup | No | TaxWithholdGroupHeading.TaxWithholdGroup | CustInvoiceTableBiEntity |
TouchedYes/no flag showing whether the record was updated.low confidence | EnumTradeTouchedNoYes (enum) | No | CustInvoiceTableBiEntity | |
TransactionCodeIntrastat transaction code. | StringIntrastatTransactionCodeId | No | IntrastatTransactionCode.TransactionCode | CustInvoiceTableBiEntity |
TransportTransport method for Intrastat reporting. | StringIntrastatTransport | No | IntrastatTransportMode.TransPortCode | CustInvoiceTableBiEntity |
TransportationDocumentTransportation details record linked to the invoice. | Int64TransportationDocumentRecId | No | TransportationDocument.RecId | CustInvoiceTableBiEntity |
UnitedVATInvoice_LTShows whether this is a united VAT invoice, used for Lithuania. | EnumUnitedVATInvoice_LTNoYes (enum) | No | CustInvoiceTableBiEntity | |
UseDefaultFromCustomerSource of default values for recurring invoices: a free text invoice template or the customer account. | EnumCustRecurrenceInvoiceDefaultType (enum) | No | CustInvoiceTableBiEntity | |
VatDueDate_WDate the invoice enters the VAT register. | DateVatDueDate_W | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
VATNumTax exempt number on the invoice. | String (20)VATNumJournal | No | CustInvoiceTableBiEntity | |
VATNumRecIdSystem record ID of the tax exempt number. | Int64RefRecId | No | CustInvoiceTableBiEntity | |
VATNumTableTypeSource type of the tax exempt number: none, tax registration or VAT number table. | EnumTaxExemptNumberSourceType (enum) | No | CustInvoiceTableBiEntity | |
VATOnPayment_RUShows whether VAT is handled on payment, used for Russia. | EnumVATOnPayment_RUNoYes (enum) | No | FreeTextInvoiceHeaderEntityCustInvoiceTableBiEntity | |
WithIGSTPayment_INShows whether the invoice is with tax payment, used for India. | EnumNoYesIdNoYes (enum) | No | CustInvoiceTableBiEntity | |
WorkerSalesTakerWorker who is the recipient or sales representative on the invoice. | Int64SalesTaker | No | HcmWorker.RecId | CustInvoiceTableBiEntity |
WorkflowApprovalStateCurrent approval state in the workflow, such as draft, in review or approved. | EnumCustFreeInvoiceWFApprovalState (enum) | No | CustInvoiceTableBiEntity | |
WorkflowApprovalStatusWorkflow status of the invoice, such as submitted, approved or rejected. | EnumCustFreeInvoiceWFApprovalStatus (enum) | No | CustInvoiceTableBiEntity | |
WouldYouClaimRefund_INShows whether a refund will be claimed, used for India. | EnumNoYesIdNoYes (enum) | No | CustInvoiceTableBiEntity |
Indexes (18)
InvoiceAccountIdxInvoiceAccount,InvoiceDate,PostedNot unique.
OrderAccountIdxNot unique.
InvoiceIdIdxInvoiceId,InvoiceDate,numberSequenceGroup,PostedNot unique.
DefaultDimensionIdxNot unique.
SourceDocumentHeaderIdxSourceDocumentHeader,Partition,dataAreaIdUnique.
AccountingDistributionTemplateIdxAccountingDistributionTemplateNot unique.
SourceDocumentLineIdxSourceDocumentLine,Partition,dataAreaIdNot unique.
WorkerSalesTakerIdxNot unique.
InvoiceDateIdxNot unique.
FiscalDocumentType_BRIdxNot unique.
CustBillingClassificationIdxNot unique.
SalesPurchOperationType_BRIdxNot unique.
FiscalEstablishment_BRIdxNot unique.
AgreementHeaderExt_RUIdxNot unique.
CustomerInvoiceOriginIdxNot unique.
ExternalInvoiceIdxNot unique.
PostalAddressIdxNot unique.
ElectronicInvoiceFrameworkTypeIdxElectronicInvoiceFrameworkType_FRNot unique.
Relations (68)
Each relation joins CustInvoiceTable to another table on the fields shown.
AccountingDistributionTemplate→AccountingDistributionTemplateJoin on
AccountingDistributionTemplate = AccountingDistributionTemplate.RecIdMany CustInvoiceTable records → zero or one AccountingDistributionTemplate record
AgreementHeaderExt_RU→AgreementHeaderExt_RUJoin on
AgreementHeaderExt_RU = AgreementHeaderExt_RU.RecIdMany CustInvoiceTable records → zero or one AgreementHeaderExt_RU record
BankAccount_LV→BankAccountTableJoin on
BankAccount_LV = BankAccountTable.AccountIDZero or one CustInvoiceTable record → zero or one BankAccountTable record
BankCentralBankPurpose→BankCentralBankPurposeJoin on
BankCentralBankPurposeCode = BankCentralBankPurpose.CodeMany CustInvoiceTable records → zero or one BankCentralBankPurpose record
CashDisc→CashDiscJoin on
CashDiscCode = CashDisc.CashDiscCodeMany CustInvoiceTable records → zero or one CashDisc record
CFOPTable_BR→CFOPTable_BRJoin on
CFOPTable_BR = CFOPTable_BR.RecIdMany CustInvoiceTable records → zero or one CFOPTable_BR record
ContactPerson→ContactPersonJoin on
ContactPersonId = ContactPerson.ContactPersonIdMany CustInvoiceTable records → zero or one ContactPerson record
CurBankAccount_LV→BankAccountTableJoin on
CurBankAccount_LV = BankAccountTable.AccountIDZero or one CustInvoiceTable record → zero or one BankAccountTable record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany CustInvoiceTable records → exactly one Currency record
CustBankAccount→CustBankAccountJoin on
InvoiceAccount = CustBankAccount.CustAccount,CustBankAccountId = CustBankAccount.AccountIDMany CustInvoiceTable records → zero or one CustBankAccount record
CustBankAccount_LV→CustBankAccountJoin on
InvoiceAccount = CustBankAccount.CustAccount,CustBankAccount_LV = CustBankAccount.AccountIDMany CustInvoiceTable records → zero or one CustBankAccount record
CustBillingClassification→CustBillingClassificationJoin on
CustBillingClassification = CustBillingClassification.RecIdMany CustInvoiceTable records → exactly one CustBillingClassification record
CustDirectDebitMandate→CustDirectDebitMandateJoin on
DirectDebitMandate = CustDirectDebitMandate.RecIdMany CustInvoiceTable records → zero or one CustDirectDebitMandate record
CustFineCode_BR→CustFineSetup_BRJoin on
FineCode_BR = CustFineSetup_BR.FineCodeMany CustInvoiceTable records → zero or one CustFineSetup_BR record
CustGroup→CustGroupJoin on
CustGroup = CustGroup.CustGroupMany CustInvoiceTable records → exactly one CustGroup record
CustInterestCode_BR→CustInterestSetup_BRJoin on
InterestCode_BR = CustInterestSetup_BR.InterestCodeMany CustInvoiceTable records → zero or one CustInterestSetup_BR record
CustInvoice→CustInvoiceJourJoin on
InvoiceId = CustInvoiceJour.InvoiceIdMany CustInvoiceTable records → zero or one CustInvoiceJour record
CustInvoiceTable→CustInvoiceTableJoin on
RecId = CustInvoiceTable.RecIdCardinality not set in the metadata.
CustLedger→CustLedgerJoin on
PostingProfile = CustLedger.PostingProfileMany CustInvoiceTable records → zero or one CustLedger record
CustPaymModeSpec→CustPaymModeSpecJoin on
PaymMode = CustPaymModeSpec.PaymMode,PaymSpec = CustPaymModeSpec.SpecificationMany CustInvoiceTable records → zero or one CustPaymModeSpec record
CustPaymModeTable→CustPaymModeTableJoin on
PaymMode = CustPaymModeTable.PaymModeMany CustInvoiceTable records → zero or one CustPaymModeTable record
CustTable_InvoiceAmount→CustTableJoin on
InvoiceAccount = CustTable.AccountNumMany CustInvoiceTable records → exactly one CustTable record
CustTable_OrderAmount→CustTableJoin on
OrderAccount = CustTable.AccountNumMany CustInvoiceTable records → exactly one CustTable record
CustTable_RU→CustTableJoin on
ConsigneeAccount_RU = CustTable.AccountNumMany CustInvoiceTable records → exactly one CustTable record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany CustInvoiceTable records → zero or one DimensionAttributeValueSet record
DeliveryLocation_FK→LogisticsLocationJoin on
DeliveryLocation = LogisticsLocation.RecIdMany CustInvoiceTable records → zero or one LogisticsLocation record
DlvTerm→DlvTermJoin on
DlvTerm = DlvTerm.CodeMany CustInvoiceTable records → zero or one DlvTerm record
FiscalDocumentType_BR→FiscalDocumentType_BRJoin on
FiscalDocumentType_BR = FiscalDocumentType_BR.RecIdMany CustInvoiceTable records → zero or one FiscalDocumentType_BR record
FiscalEstablishment_BR→FiscalEstablishment_BRJoin on
FiscalEstablishment_BR = FiscalEstablishment_BR.RecIdOne or more CustInvoiceTable records → exactly one FiscalEstablishment_BR record
IntrastatPort→IntrastatPortJoin on
Port = IntrastatPort.PortIdMany CustInvoiceTable records → zero or one IntrastatPort record
IntrastatStatProc→IntrastatStatProcJoin on
StatProcId = IntrastatStatProc.StatProcIdMany CustInvoiceTable records → zero or one IntrastatStatProc record
IntrastatTransactionCode→IntrastatTransactionCodeJoin on
TransactionCode = IntrastatTransactionCode.TransactionCodeMany CustInvoiceTable records → zero or one IntrastatTransactionCode record
IntrastatTransportMode→IntrastatTransportModeJoin on
Transport = IntrastatTransportMode.TransPortCodeMany CustInvoiceTable records → zero or one IntrastatTransportMode record
LanguageTable→LanguageTableJoin on
LanguageId = LanguageTable.LanguageId,LanguageTable.LabelFile = 1Many CustInvoiceTable records → exactly one LanguageTable record
MCRNumberSequenceTable→NumberSequenceTableJoin on
MCRNumberSequenceCode = NumberSequenceTable.NumberSequenceMany CustInvoiceTable records → exactly one NumberSequenceTable record
MCRSalesTable→SalesTableJoin on
MCRSalesID = SalesTable.SalesIdMany CustInvoiceTable records → exactly one SalesTable record
NumberSequenceGroup→NumberSequenceGroupJoin on
numberSequenceGroup = NumberSequenceGroup.numberSequenceGroupIdMany CustInvoiceTable records → zero or one NumberSequenceGroup record
PaymentSched→PaymSchedJoin on
PaymentSched = PaymSched.NameMany CustInvoiceTable records → zero or one PaymSched record
PaymTerm→PaymTermJoin on
Payment = PaymTerm.PaymTermIdMany CustInvoiceTable records → zero or one PaymTerm record
PlTaxDueTable→PlTaxDueTableJoin on
TaxPeriodPaymentCode_PL = PlTaxDueTable.TaxPeriodPaymentCodeMany CustInvoiceTable records → zero or one PlTaxDueTable record
PostalAddress→LogisticsPostalAddressJoin on
PostalAddress = LogisticsPostalAddress.RecIdMany CustInvoiceTable records → zero or one LogisticsPostalAddress record
ReasonTableRef→ReasonTableRefJoin on
CorrectionReasonCode = ReasonTableRef.RecIdMany CustInvoiceTable records → zero or one ReasonTableRef record
SalesPurchOperationType_BR→SalesPurchOperationType_BRJoin on
SalesPurchOperationType_BR = SalesPurchOperationType_BR.RecIdMany CustInvoiceTable records → zero or one SalesPurchOperationType_BR record
SalesTable_RU→SalesTableJoin on
SalesId = SalesTable.SalesIdMany CustInvoiceTable records → exactly one SalesTable record
SourceDocumentHeader→SourceDocumentHeaderJoin on
SourceDocumentHeader = SourceDocumentHeader.RecIdMany CustInvoiceTable records → zero or one SourceDocumentHeader record
SourceDocumentLine→SourceDocumentLineJoin on
SourceDocumentLine = SourceDocumentLine.RecIdMany CustInvoiceTable records → zero or one SourceDocumentLine record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroup = TaxGroupHeading.TaxGroupMany CustInvoiceTable records → zero or one TaxGroupHeading record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
TaxItemGroup = TaxItemGroupHeading.TaxItemGroupMany CustInvoiceTable records → zero or one TaxItemGroupHeading record
TaxServiceTariff→TaxServiceTariffJoin on
RecId = TaxServiceTariff.ParentRecId,TableId = TaxServiceTariff.ParentTableIdZero or one CustInvoiceTable record → zero or one TaxServiceTariff record
TaxWithholdGroupHeadingTCS_IN→TaxWithholdGroupHeadingJoin on
TCSGroup_IN = TaxWithholdGroupHeading.TaxWithholdGroupMany CustInvoiceTable records → zero or one TaxWithholdGroupHeading record
TaxWithholdGroupHeadingTDS_IN→TaxWithholdGroupHeadingJoin on
TDSGroup_IN = TaxWithholdGroupHeading.TaxWithholdGroupMany CustInvoiceTable records → zero or one TaxWithholdGroupHeading record
TransportationDocument→TransportationDocumentJoin on
TransportationDocument = TransportationDocument.RecIdZero or one CustInvoiceTable record → zero or one TransportationDocument record
VendTable_RU→VendTableJoin on
ConsignorAccount_RU = VendTable.AccountNumMany CustInvoiceTable records → exactly one VendTable record
WorkerSalesTaker_FK→HcmWorkerJoin on
WorkerSalesTaker = HcmWorker.RecIdMany CustInvoiceTable records → zero or one HcmWorker record
CustTable_OrderAccount→CustTableJoin on
OrderAccountRefRecId = CustTable.RecIdMany CustInvoiceTable records → zero or one CustTable record
SATPaymMethod_MX→EInvoiceExtCodeTable_MXJoin on
SATPaymMethod_MX = EInvoiceExtCodeTable_MX.CodeId,EInvoiceExtCodeTable_MX.CodeType = 4Exactly one CustInvoiceTable record → exactly one EInvoiceExtCodeTable_MX record
SATPurpose_MX→EInvoiceExtCodeTable_MXJoin on
SATPurpose_MX = EInvoiceExtCodeTable_MX.CodeId,EInvoiceExtCodeTable_MX.CodeType = 3Exactly one CustInvoiceTable record → exactly one EInvoiceExtCodeTable_MX record
CustomerInvoiceOrigin→CustomerInvoiceOriginJoin on
CustomerInvoiceOriginId = CustomerInvoiceOrigin.OriginIdMany CustInvoiceTable records → zero or one CustomerInvoiceOrigin record
LogisticsAddressCountryRegion→LogisticsAddressCountryRegionJoin on
FiscalAddress_MX = LogisticsAddressCountryRegion.CountryRegionIdMany CustInvoiceTable records → zero or one LogisticsAddressCountryRegion record
SATIncoterm_MX→EInvoiceExtCodeTable_MXJoin on
SATIncotermCode_MX = EInvoiceExtCodeTable_MX.CodeId,EInvoiceExtCodeTable_MX.CodeType = 5Exactly one CustInvoiceTable record → exactly one EInvoiceExtCodeTable_MX record
FinTag→FinTagJoin on
FinTag = FinTag.RecIdMany CustInvoiceTable records → zero or one FinTag record
EstablishmentRef→OMOperatingUnitJoin on
Establishment = OMOperatingUnit.RecIdMany CustInvoiceTable records → zero or one OMOperatingUnit record
CustIntentLetter_IT→CustIntentLetter_ITJoin on
IntentLetterId_IT = CustIntentLetter_IT.InternalLetterIdMany CustInvoiceTable records → zero or one CustIntentLetter_IT record
TaxRegistration→TaxRegistrationJoin on
TaxId = TaxRegistration.RecIdMany CustInvoiceTable records → zero or one TaxRegistration record
ElectronicInvoiceFrameworkType→BusinessDocumentElectronicInvoiceFrameworkTableJoin on
ElectronicInvoiceFrameworkType_FR = BusinessDocumentElectronicInvoiceFrameworkTable.RecIdMany CustInvoiceTable records → zero or one BusinessDocumentElectronicInvoiceFrameworkTable record
ProjectManager→CustTableJoin on
ProjectManager_FR = CustTable.AccountNumMany CustInvoiceTable records → zero or one CustTable record
BusinessDocChorusProServiceCodeTable_FR→BusinessDocChorusProServiceCodeTable_FRJoin on
ServiceCodeRefRecId = BusinessDocChorusProServiceCodeTable_FR.RecIdCardinality not set in the metadata.
TAMDeduction→TAMDeductionJoin on
TAMDeductionID = TAMDeduction.TAMDeductionIDMany 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.
FreeTextInvoiceHeaderEntity· 73 fields from this tableCustInvoiceTableBiEntity· 158 fields from this tableFreeTextInvoiceHeaderCDSEntity· 28 fields from this tableMCRCustomerInvoicePaymentEntity· 1 field from this tableFreeTextInvoiceLineEntity· 0 fields from this table
Need help with CustInvoiceTable in a report, an integration or a migration? Talk to Dr Dynamics.