Table

LTMCustInvoiceJour

Customer invoice journal

Holds extra fiscal and document details for each posted customer invoice. Each row links to a customer invoice journal record through RefRecId. The key also includes the document date and the complete document number. It also stores document class, sales point, taxpayer type, withholding figures and payment-document details.

Table name
LTMCustInvoiceJour
Module
Cross-module and platform
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
CustInvoiceJourIdx
Key fields
RefRecId, DocumentDate, CompleteDocumentNum
Model
GlobalizationLTM

Fields (80)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RefRecIdRecord ID of the customer invoice journal that this row extends.Int64
RefRecId
NoCustInvoiceJour.RecIdLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
DocumentDateDate of the document.Date
DocumentDate
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
CompleteDocumentNumFull document number, including any prefix and sales point.String (20)
DocumentNum
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
AmountCURInvoice amount in the transaction currency, shown as a debit or credit value.Real
AmountCurDebCred
NoLTMCustInvoiceJourBiEntity
AmountMSTInvoice amount in the company's accounting currency.Real
AmountMST
NoLTMCustInvoiceJourBiEntity
BankAccountNumIdentification of the bank account.String
BankAccountID
NoLTMCustInvoiceJourBiEntity
BankGroupIdBank group code.String
BankGroupId
NoLTMCustInvoiceJourBiEntity
BeneficiaryName of the person or company that receives the document.String (60)
LTMBeneficiary
NoLTMCustInvoiceJourBiEntity
BussinessNameName or company name of the party that issues the document.String (60)
Name
NoLTMCustInvoiceJourBiEntity
CaiCaeAuthorisation (CA) number given for the invoice or a group of invoices.String (50)
LTMCaiCae
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
CAICAEDueDateDate until which the CA number is valid.Date
SysDate
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
Concept1First free text field for extra information.String (250)
LTMConcept1
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
Concept2Second free text field for extra information.String (250)
LTMConcept2
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
Concept3Third free text field for extra information.String (250)
LTMConcept3
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
ControlCodeControl code stored with the document.String (50)
LTMControlCode
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
CountryDocNumIdentification number issued at country level.String (40)
LTMCountryDocNum
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
CountryDocTypeIdType of the country identification document. Points to a fiscal register record.String (15)
LTMDocTypeId
NoLTMFiscalRegisterV2.DocTypeIdLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
CountryRegionIdCountry or region of the settlement. Together with the state, it points to a state record.String
AddressCountryRegionId
NoLogisticsAddressState.CountryRegionIdLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
CPDActionAction taken on a payment document, such as entry, exit, re-entry, emission, accrual or cancellation.Enum
LTMCollectPaymDocAction (enum)
NoLTMCustInvoiceJourBiEntity
CPDSourceShows whether a check is own or from a third party.Enum
LTMCheckSource (enum)
NoLTMCustInvoiceJourBiEntity
CPDTRXHistoryIDReference to a related history transaction record, stored as a record ID.low confidenceInt64
RefRecId
NoLTMCustInvoiceJourBiEntity
CPDTRXOpenIDReference to a related open transaction record, stored as a record ID.low confidenceInt64
RefRecId
NoLTMCustInvoiceJourBiEntity
CurrencyCodeCurrency code of the invoice.String (3)
CurrencyCode
NoLTMCustInvoiceJourBiEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoLTMCustInvoiceJourBiEntity
DocumentClassificationIdDocument class the invoice belongs to. Points to a document class record.String (15)
LTMDocumentClassificationId
NoLTMDocumentClassification.DocumentClassificationIdLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
DocumentNumDocument number without the prefix and sales point.String (20)
DocumentNum
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
DueDateDate when payment is due.Date
DueDate
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
ExchRateExchange rate of the invoice.Real
ExchRate
NoLTMCustInvoiceJourBiEntity
HolderAccountNumBank account number of the holder of the security.String (30)
LTMHolderAccountNum
NoLTMCustInvoiceJourBiEntity
IsCollectPaymDocShows whether the document class is a payment-values document instead of a standard document.Enum
NoYes (enum)
NoLTMCustInvoiceJourBiEntity
IsConceptYes/no flag named Concept. Its exact meaning is not given in the metadata.low confidenceEnum
NoYes (enum)
NoLTMCustInvoiceJourBiEntity
LedgerJournalTransIdReference to a ledger journal transaction, stored as a record ID.low confidenceInt64
RefRecId
NoLTMCustInvoiceJourBiEntity
LedgerVoucherVoucher number of the ledger entry.String (20)
Voucher
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
ListField01Description text for the first list field.String (60)
LTMListFieldCodeDescription
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
ListField02Description text for the second list field.String (60)
LTMListFieldCodeDescription
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
ListField03Description text for the third list field.String (60)
LTMListFieldCodeDescription
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
ListField04Description text for the fourth list field.String (60)
LTMListFieldCodeDescription
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
ListField05Description text for the fifth list field.String (60)
LTMListFieldCodeDescription
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
ListField06Description text for the sixth list field.String (60)
LTMListFieldCodeDescription
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
ListField07Description text for the seventh list field.String (60)
LTMListFieldCodeDescription
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
ListField08Description text for the eighth list field.String (60)
LTMListFieldCodeDescription
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
ListField09Description text for the ninth list field.String (60)
LTMListFieldCodeDescription
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
ListField10Description text for the tenth list field.String (60)
LTMListFieldCodeDescription
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
ListFieldCode01Reference code for the first list field.String (30)
LTMListFieldCode
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
ListFieldCode02Reference code for the second list field.String (30)
LTMListFieldCode
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
ListFieldCode03Reference code for the third list field.String (30)
LTMListFieldCode
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
ListFieldCode04Reference code for the fourth list field.String (30)
LTMListFieldCode
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
ListFieldCode05Reference code for the fifth list field.String (30)
LTMListFieldCode
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
ListFieldCode06Reference code for the sixth list field.String (30)
LTMListFieldCode
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
ListFieldCode07Reference code for the seventh list field.String (30)
LTMListFieldCode
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
ListFieldCode08Reference code for the eighth list field.String (30)
LTMListFieldCode
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
ListFieldCode09Reference code for the ninth list field.String (30)
LTMListFieldCode
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
ListFieldCode10Reference code for the tenth list field.String (30)
LTMListFieldCode
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
NameName of the party on the document.String (60)
Name
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
OrigRecIdSystem record ID of the original record.low confidenceInt64
RecId
NoLTMCustInvoiceJourBiEntity
OrigTableIdID of the table that the original record belongs to.Integer
RefTableId
NoLTMCustInvoiceJourBiEntity
ParmIdParameter ID that links to the sales order update table.String (20)
ParmId
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymTermIdPayment terms code.String (100)
PaymTermId
NoLTMCustInvoiceJourBiEntity
PreserveNumYes/no flag for keeping the number. Its exact effect is not given in the metadata.low confidenceEnum
NoYes (enum)
NoLTMCustInvoiceJourBiEntity
PSEnableYes/no flag that controls whether packing slip information is shown.Enum
NoYes (enum)
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoLTMCustInvoiceJourBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoLTMCustInvoiceJourBiEntity
RefNumType of source for the invoice: sales order, project, customer, interest or complementary invoice.Enum
RefNum (enum)
NoLTMCustInvoiceJourBiEntity
SalesIdSales order number linked to the invoice.String (20)
SalesId
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
SalesPointIdSales point whose prefix is used in the document number.String
LTMSalesPointId
NoLTMSalesPoint.SalesPointIdLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
SalesPointPrefixPrefix text of the sales point.String
LTMSalesPointPrefix
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
SalesTypeType of the sales order, such as journal, subscription, sales order, returned order, item requirements or customer prepayment.Enum
SalesType (enum)
NoLTMCustInvoiceJourBiEntity
ShiftIDIdentifier of the shift.low confidenceString (20)
LTMShiftID
NoLTMCustInvoiceJourBiEntity
StateDocNumIdentification number issued at state level.String (30)
LTMStateDocNum
NoLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
StateDocTypeIdType of the state identification document. Points to a fiscal register record.String (15)
LTMDocTypeId
NoLTMFiscalRegisterV2.DocTypeIdLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
StateIdJurisdiction where the party is registered. Together with the country, it points to a state record.String
LogisticsAddressStateId
NoLogisticsAddressState.StateIdLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoLTMCustInvoiceJourBiEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxPayerTypeIdTaxpayer type of the party. Points to a taxpayer type record.String (15)
LTMTaxPayerTypeId
NoLTMTaxPayerType.TaxPayerTypeIdLTMCustInvoiceJourEntityLTMCustInvoiceJourBiEntity
TDETimbradoLong text holding stamped data for the document.low confidenceString (-1)
LTMStamped
NoLTMCustInvoiceJourBiEntity
WithholdAccruedAmountMSTCumulative withholding amount in the accounting currency.Real
Amount
NoLTMCustInvoiceJourBiEntity
WithholdAccruedBaseMSTCumulative tax base for withholding in the accounting currency.Real
Amount
NoLTMCustInvoiceJourBiEntity
WithholdingBaseMSTTaxable amount used for withholding, in the accounting currency.Real
LTMWithholdingAmount
NoLTMCustInvoiceJourBiEntity
WithholdingEffectiveRateEffective tax rate applied for withholding.Real
LTMEffectiveTaxRate
NoLTMCustInvoiceJourBiEntity

Indexes (1)

Relations (8)

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

  • LTMCountryFiscalRegister → LTMFiscalRegisterV2

    Join on LTMFiscalRegisterV2.CountryDocType = null, CountryDocTypeId = LTMFiscalRegisterV2.DocTypeId

    Many LTMCustInvoiceJour records → zero or one LTMFiscalRegisterV2 record

  • LTMSalesPoint → LTMSalesPoint

    Join on SalesPointId = LTMSalesPoint.SalesPointId

    Many LTMCustInvoiceJour records → zero or one LTMSalesPoint record

  • LTMStateFiscalRegister → LTMFiscalRegisterV2

    Join on LTMFiscalRegisterV2.StateDocType = null, StateDocTypeId = LTMFiscalRegisterV2.DocTypeId

    Many LTMCustInvoiceJour records → zero or one LTMFiscalRegisterV2 record

  • LTMTaxPayerType → LTMTaxPayerType

    Join on TaxPayerTypeId = LTMTaxPayerType.TaxPayerTypeId

    Many LTMCustInvoiceJour records → zero or one LTMTaxPayerType record

  • LTMDocumentClassification → LTMDocumentClassification

    Join on DocumentClassificationId = LTMDocumentClassification.DocumentClassificationId

    Many LTMCustInvoiceJour records → zero or one LTMDocumentClassification record

  • CustInvoiceJour → CustInvoiceJour

    Join on RefRecId = CustInvoiceJour.RecId

    Exactly one LTMCustInvoiceJour record → exactly one CustInvoiceJour record

  • LogisticsAddressState → LogisticsAddressState

    Join on StateId = LogisticsAddressState.StateId, CountryRegionId = LogisticsAddressState.CountryRegionId

    Many LTMCustInvoiceJour records → zero or one LogisticsAddressState record

  • SalesParmTable → SalesParmTable

    Join on SalesId = SalesParmTable.SalesId, ParmId = SalesParmTable.ParmId

    Many LTMCustInvoiceJour records → zero or one SalesParmTable record

Get this data out

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

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

Email sales@drdynamics.co.uk