Table
LTMCustInvoiceTable
Customer invoice table
Holds extra fiscal and document details for customer free text invoices. The key is CustInvoiceTableRefRecId, which points to the free text invoice record. It stores document class, sales point, taxpayer type, country and state identification, and withholding values.
- Table name
LTMCustInvoiceTable- Module
Cross-module and platform- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
LTMCustInvoiceLineIdx1- Key fields
CustInvoiceTableRefRecId- Model
GlobalizationLTM
Fields (57)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CustInvoiceTableRefRecIdRecord ID of the customer free text invoice that this row extends. | Int64CustInvoiceTableRefRecId | No | CustInvoiceTable.RecId | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity |
AmountMSTInvoice amount in the company's accounting currency. | RealAmountMST | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
BankGroupIdBank group code. | StringBankGroupId | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
BeneficiaryName of the person or company that receives the document. | String (60)LTMBeneficiary | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
BussinesNameName or company name of the party that issues the document. | String (60)Name | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
CAICAEAuthorisation (CA) number given for the invoice or a group of invoices. | String (50)LTMCaiCae | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
CaiCaeDueDateDate until which the CA number is valid. | DateSysDate | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
CompleteDocumentNumFull document number. Relates to the customer invoice journal. | String (20)DocumentNum | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
Concept1First free text field for extra information. | String (250)LTMConcept1 | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
Concept2Second free text field for extra information. | String (250)LTMConcept2 | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
Concept3Third free text field for extra information. | String (250)LTMConcept3 | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
ControlCodeControl code stored with the document. | String (50)LTMControlCode | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
CountryDocNumIdentification number issued at country level. | String (40)LTMCountryDocNum | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
CountryDocTypeIdType of the country identification document. Points to a fiscal register record. | String (15)LTMDocTypeId | No | LTMFiscalRegisterV2.DocTypeId | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity |
CountryRegionIdCountry or region of the settlement. | StringAddressCountryRegionId | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
CPDSourceShows whether a check is own or from a third party. | EnumLTMCheckSource (enum) | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | LTMCustInvoiceTableBiEntity | |
DocumentClassificationIdDocument class the invoice belongs to. Points to a document class record. | String (15)LTMDocumentClassificationId | No | LTMDocumentClassification.DocumentClassificationId | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity |
DocumentDateDate of the document. | DateDocumentDate | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
DocumentNumDocument number. | String (20)DocumentNum | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
DueDateDate when payment is due. | DateDueDate | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
HolderAccountNumBank account number of the holder of the security. | String (30)LTMHolderAccountNum | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
LedgerVoucherVoucher number of the ledger entry. Relates to the customer invoice journal. | String (20)Voucher | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
ListField01Description text for the first list field. | String (60)LTMListFieldCodeDescription | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
ListField02Description text for the second list field. | String (60)LTMListFieldCodeDescription | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
ListField03Description text for the third list field. | String (60)LTMListFieldCodeDescription | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
ListField04Description text for the fourth list field. | String (60)LTMListFieldCodeDescription | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
ListField05Description text for the fifth list field. | String (60)LTMListFieldCodeDescription | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
ListField06Description text for the sixth list field. | String (60)LTMListFieldCodeDescription | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
ListField07Description text for the seventh list field. | String (60)LTMListFieldCodeDescription | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
ListField08Description text for the eighth list field. | String (60)LTMListFieldCodeDescription | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
ListField09Description text for the ninth list field. | String (60)LTMListFieldCodeDescription | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
ListField10Description text for the tenth list field. | String (60)LTMListFieldCodeDescription | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
ListFieldCode01Reference code for the first list field. | String (30)LTMListFieldCode | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
ListFieldCode02Reference code for the second list field. | String (30)LTMListFieldCode | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
ListFieldCode03Reference code for the third list field. | String (30)LTMListFieldCode | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
ListFieldCode04Reference code for the fourth list field. | String (30)LTMListFieldCode | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
ListFieldCode05Reference code for the fifth list field. | String (30)LTMListFieldCode | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
ListFieldCode06Reference code for the sixth list field. | String (30)LTMListFieldCode | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
ListFieldCode07Reference code for the seventh list field. | String (30)LTMListFieldCode | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
ListFieldCode08Reference code for the eighth list field. | String (30)LTMListFieldCode | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
ListFieldCode09Reference code for the ninth list field. | String (30)LTMListFieldCode | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
ListFieldCode10Reference code for the tenth list field. | String (30)LTMListFieldCode | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PrintAfterPostYes/no flag for printing the invoice after posting. | EnumNoYes (enum) | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | LTMCustInvoiceTableBiEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | LTMCustInvoiceTableBiEntity | |
SalesPointIdSales point whose prefix is used in the document number. | StringLTMSalesPointId | No | LTMSalesPoint.SalesPointId | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity |
SalesPointPrefixPrefix text of the sales point. | StringLTMSalesPointPrefix | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
StateDocNumIdentification number issued at state level. | String (30)LTMStateDocNum | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
StateDocTypeIdType of the state identification document. | String (15)LTMDocTypeId | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
StateIdJurisdiction where the party is registered. | StringLogisticsAddressStateId | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | LTMCustInvoiceTableBiEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxPayerTypeIdTaxpayer type of the party. Points to a taxpayer type record. | String (15)LTMTaxPayerTypeId | No | LTMTaxPayerType.TaxPayerTypeId | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity |
WithholdingBaseMSTTaxable amount used for withholding, in the accounting currency. | RealLTMWithholdingAmount | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity | |
WithholdingEffectiveRateEffective tax rate applied for withholding. | RealLTMEffectiveTaxRate | No | LTMCustInvoiceTableEntityLTMCustInvoiceTableBiEntity |
Indexes (4)
LTMCustInvoiceLineIdx1Replacement keyUnique, alternate key.
LTMCustInvoiceLineIdx2CompleteDocumentNum,LedgerVoucherNot unique.
LTMTaxPayerTypeNot unique.
LTMDocumentClassificationIdNot unique.
Relations (6)
Each relation joins LTMCustInvoiceTable to another table on the fields shown.
LTMDocumentClassification→LTMDocumentClassificationJoin on
LTMDocumentClassification.Inactive = null,DocumentClassificationId = LTMDocumentClassification.DocumentClassificationIdMany LTMCustInvoiceTable records → zero or one LTMDocumentClassification record
LTMFiscalRegister→LTMFiscalRegisterV2Join on
CountryDocTypeId = LTMFiscalRegisterV2.DocTypeIdMany LTMCustInvoiceTable records → zero or one LTMFiscalRegisterV2 record
LTMSalesPoint→LTMSalesPointJoin on
SalesPointId = LTMSalesPoint.SalesPointIdMany LTMCustInvoiceTable records → zero or one LTMSalesPoint record
LTMTaxPayerType→LTMTaxPayerTypeJoin on
TaxPayerTypeId = LTMTaxPayerType.TaxPayerTypeIdMany LTMCustInvoiceTable records → zero or one LTMTaxPayerType record
CustInvoiceJour→CustInvoiceJourJoin on
LedgerVoucher = CustInvoiceJour.LedgerVoucher,CompleteDocumentNum = CustInvoiceJour.InvoiceIdMany LTMCustInvoiceTable records → zero or one CustInvoiceJour record
CustInvoiceTable→CustInvoiceTableJoin on
CustInvoiceTableRefRecId = CustInvoiceTable.RecIdMany LTMCustInvoiceTable records → zero or one CustInvoiceTable record
Get this data out
Tables are not exposed directly. These public entities read from LTMCustInvoiceTable; use one of them in Power BI, Power Platform or a data management project.
LTMCustInvoiceTableEntity· 51 fields from this tableLTMCustInvoiceTableBiEntity· 55 fields from this table
Need help with LTMCustInvoiceTable in a report, an integration or a migration? Talk to Dr Dynamics.