Table

ProjInvoiceJour

Project invoice

Holds one record per posted project invoice, with its header details. It stores amounts, discounts, tax, dates, currency, customer accounts, delivery and payment details, and the voucher. It also has many country-specific fields for tax and e-invoicing. It links to the project contract and project group, and to the invoice proposal it came from.

Table name
ProjInvoiceJour
Module
Project management and accounting
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Project
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (111)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CashDiscCash discount amount on the invoice.Real
ProjCashDiscAmount
NoProjInvoiceJourCDREntity
CashDiscCodeCash discount code used on the invoice.String
ProjCashDiscCode
NoCashDisc.CashDiscCodeProjInvoiceJourCDREntity
CashDiscDateDate until which the cash discount can be used.Date
ProjCashDiscDate
NoProjInvoiceJourCDREntity
CashDiscPercentCash discount as a percentage.Real
DiscPct
NoProjInvoiceJourCDREntity
ContactPersonId_NOContact person ID, used for Norway.String (20)
ContactPersonId
NoContactPerson.ContactPersonIdProjInvoiceJourCDREntity
CostValueTotal cost amount of the invoice in the project currency.Real
CostAmountProject
NoProjInvoiceJourCDREntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoProjInvoiceJourCDREntity
CurrencyIdSales currency of the invoice.String (3)
ProjSalesCurrencyCode
NoCurrency.CurrencyCodeBusinessDocumentProjectInvoiceBaseV2EntityBusinessDocumentProjectInvoiceBaseEntityProjInvoiceJourCDREntity
CustPurchaseOrder_NOCustomer requisition number, used for Norway.String (20)
CustPurchaseOrder
NoProjInvoiceJourCDREntity
CustRef_NOCustomer reference, used for Norway.String (60)
CustRef
NoProjInvoiceJourCDREntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoBusinessDocumentProjectInvoiceBaseV2EntityBusinessDocumentProjectInvoiceBaseEntityProjInvoiceJourCDREntity
DefaultDimensionDefault financial dimension values, stored as a link to a dimension set.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdProjInvoiceJourCDREntity
DeliveryNameName of the delivery recipient.String (60)
CompanyName
NoProjInvoiceJourCDREntity
DeliveryPostalAddressDelivery address, pointing to a postal address record.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdProjInvoiceJourCDREntity
DescriptionFree-text description of the invoice.String (60)
Description
NoProjInvoiceJourCDREntity
DirectDebitMandateDirect debit mandate used, pointing to the customer direct debit mandates table.Int64
RefRecId
NoCustDirectDebitMandate.RecIdProjInvoiceJourCDREntity
DlvModeMode of delivery.String
CustDlvModeId
NoDlvMode.CodeProjInvoiceJourCDREntity
DlvTermTerms of delivery.String
CustDlvTermId
NoDlvTerm.CodeProjInvoiceJourCDREntity
DocumentDate_WDocument date of the invoice.Date
DocumentDate
NoProjInvoiceJourCDREntity
DueDateDate on which payment is due.Date
DueDate
NoProjInvoiceJourCDREntity
EInvoiceAccountCodeAccount code for the dimension used on electronic invoices.low confidenceString (35)
EInvoiceAccountCode
NoProjInvoiceJourCDREntity
EInvoiceLineSpecificYes/No flag for whether electronic invoices are specified by line.Enum
EInvoiceLineSpecific
NoYes (enum)
NoProjInvoiceJourCDREntity
EndDiscTotal discount amount on the invoice.Real
DiscAmount
NoProjInvoiceJourCDREntity
EnterpriseNumberEnterprise number used for tax purposes.String (50)
TaxEnterpriseNumber
NoProjInvoiceJourCDREntity
EProfileIDTRElectronic invoice profile, such as basic, commercial, export or public sector.Enum
EInvoiceProfileIDTR (enum)
NoNone
EstablishmentEstablishment (operating unit) that applies to the invoice.Int64
EstablishmentRefRecId
NoOMOperatingUnit.RecIdNone
EUSalesListDispatch ID used for the EU sales list.String (20)
ListDispatchId
NoProjInvoiceJourCDREntity
ExchRateExchange rate used on the invoice.Real
ExchRate
NoProjInvoiceJourCDREntity
ExchrateSecondarySecondary exchange rate.Real
ExchrateSecondary
NoProjInvoiceJourCDREntity
FinTagFinancial tag, pointing to the financial tags table.Int64
FinTagRecId
NoFinTag.RecIdProjInvoiceJourCDREntity
GiroTypeType of payment slip or payment attachment on the project invoice, for example FIK or BBS.Enum
PaymentStubProjId
PaymentStub (enum)
NoProjInvoiceJourCDREntity
IntentLetterFromDate_ITStart date of the customer intent letter, used for Italy.Date
FromDate
NoProjInvoiceJourCDREntity
IntentLetterId_ITCustomer intent letter number, used for Italy.String (17)
IntentLetterId_IT
NoProjInvoiceJourCDREntity
IntentLetterInternalId_ITInternal ID of the customer intent letter, used for Italy.String
IntentLetterInternalId_IT
NoCustIntentLetter_IT.InternalLetterIdProjInvoiceJourCDREntity
IntentLetterToDate_ITEnd date of the customer intent letter, used for Italy.Date
ToDate
NoProjInvoiceJourCDREntity
InterCompanyPostedYes/No flag for whether the invoice was posted through intercompany.Enum
InterCompanyPosted
NoYes (enum)
NoProjInvoiceJourCDREntity
IntrastatAddValue_LVIntrastat additional value, used for Latvia.Real
LvIntrastatAddValue
NoProjInvoiceJourCDREntity
IntrastatDispatchIdShipment batch ID for Intrastat reporting.String (20)
IntrastatDispatchId
NoProjInvoiceJourCDREntity
InvoiceAccountCustomer account that is invoiced, pointing to the customers table.String (20)
CustInvoiceAccount
NoCustTable.AccountNumProjInvoiceJourCDREntity
InvoiceAmountTotal invoice amount in the invoice currency.Real
AmountCur
NoBusinessDocumentProjectInvoiceBaseV2EntityBusinessDocumentProjectInvoiceBaseEntityProjInvoiceJourCDREntity
InvoiceDateDate of the invoice.Date
TransDate
YesProjInvoiceEntity_WProjInvoiceQRCodeEntityBusinessDocumentProjectInvoiceBaseV2Entityand 10 more
InvoiceNumberingCode_LTInvoice numbering code, used for Lithuania.String
NumberSequenceCode
NoProjInvoiceJourCDREntity
InvoiceRoundOffRound-off amount on the invoice.Real
RoundOff
NoProjInvoiceJourCDREntity
InvoiceType_MYGST invoice type, used for Malaysia: invoice, GST invoice, self-billed or service invoice.Enum
InvoiceType_MY (enum)
NoProjInvoiceJourCDREntity
IsPostedInCustInvoiceWithSameVoucherShows whether the invoice was posted in a customer invoice with the same voucher: unknown, no or yes.low confidenceEnum
UnknownNoYes (enum)
NoNone
IsProformaYes/No flag for a proforma invoice.Enum
NoYesId
NoYes (enum)
NoProjInvoiceJourCDREntity
LanguageIdLanguage code of the invoice.String (7)
ProjLanguageId
NoLanguageTable.LanguageIdProjInvoiceJourCDREntity
LedgerDefaultDimensionDefault ledger dimension values, stored as a link to a dimension set.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdProjInvoiceJourCDREntity
LedgerVoucherVoucher number of the ledger posting.String (20)
Voucher
NoProjInvoiceEntity_WProjInvoiceQRCodeEntityBusinessDocumentProjectInvoiceBaseV2Entityand 10 more
ListCodeIdList code for EU reporting, such as EU trade or triangular trade.Enum
ListcodeId
Listcode (enum)
NoProjInvoiceJourCDREntity
Narration_BRNarration text for the invoice, used for Brazil.String (60)
Description
NoProjInvoiceJourCDREntity
NoteType_MYNote type of the invoice journal, used for Malaysia: blank, credit note or debit note.Enum
NoteType_MY (enum)
NoProjInvoiceJourCDREntity
NumberSequenceGroupIdNumber sequence group used for the invoice.String
NumberSequenceGroupId
NoNumberSequenceGroup.numberSequenceGroupIdBusinessDocumentProjectInvoiceBaseV2EntityBusinessDocumentProjectInvoiceBaseEntityProjInvoiceJourCDREntity
OnAccountAmountOn-account amount on the invoice.Real
AmountCur
NoProjInvoiceJourCDREntity
OrderAccountCustomer account that placed the order, pointing to the customers table.String (20)
CustAccount
NoCustTable.AccountNumBusinessDocumentProjectInvoiceBaseV2EntityBusinessDocumentProjectInvoiceBaseEntityProjInvoiceJourCDREntity
PackedExtensionsContainer that stores extension data in packed form.Container
SysExtensionSerializerPackedContainer
NoProjInvoiceJourCDREntity
ParmIdParameter ID linking to the posting run's parameter record.low confidenceString (20)
ParmId
NoProjInvoiceJourCDREntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PartyTaxIDTax registration number of the party, pointing to the registration numbers table.Int64
TaxRegistrationRecId
NoTaxRegistration.RecIdProjInvoiceJourCDREntity
PaymDayIdPayment day code.String
CustPaymDayId
NoPaymDay.PaymDayIdProjInvoiceJourCDREntity
PaymentTerms of payment for the invoice.String (100)
ProjPaymCode
NoPaymTerm.PaymTermIdProjInvoiceJourCDREntity
PaymentSchedPayment schedule for the invoice.String (30)
PaymSchedId
NoPaymSched.NameProjInvoiceJourCDREntity
PaymIdPayment ID shown with the invoice.String (200)
PaymId
NoProjInvoiceJourCDREntity
PortPort code used for Intrastat reporting.String
IntrastatPortId
NoIntrastatPort.PortIdProjInvoiceJourCDREntity
PostingJournalIdPosting journal that the invoice posting belongs to.String (20)
LedgerPostingJournalId
NoLedgerPostingJournal.LedgerPostingJournalIdProjInvoiceJourCDREntity
PostingProfileCustomer posting profile used for the invoice.String
CustPostingProfile
NoCustLedger.PostingProfileProjInvoiceJourCDREntity
PrintDynamicQRCode_INYes/No flag for printing a dynamic QR code on the invoice. Used for India.Enum
PrintDynamicQRCode_IN
NoYes (enum)
NoProjInvoiceJourCDREntity
PrintedOriginalsNumber of times the original invoice was printed.Integer
PrintedOriginals
NoProjInvoiceJourCDREntity
ProjGroupIdProject group of the invoiced project.String
ProjGroupId
NoProjGroup.ProjGroupIdProjInvoiceJourCDREntity
ProjInvoiceIdInvoice number.String (50)
ProjInvoiceId
YesProjInvoiceEntity_WProjInvoiceQRCodeEntityBusinessDocumentProjectInvoiceBaseV2Entityand 10 more
ProjInvoiceProjIdID of the project contract that was invoiced.String (20)
ProjInvoiceProjId
NoProjInvoiceTable.ProjInvoiceProjIdProjInvoiceJourCDREntity
ProjInvoiceTypeType of invoice: invoice, on-account, or debit note.Enum
ProjInvoiceType (enum)
NoBusinessDocumentProjectInvoiceBaseV2EntityBusinessDocumentProjectInvoiceBaseEntityProjInvoiceJourCDREntity
ProposalIdID of the invoice proposal that the invoice came from.String (50)
ProjProposalId
NoProjProposalJour.ProposalIdProjInvoiceJourCDREntity
PSAEndDateMaxInvoiceIdInvoice ID linked to the maximum end date. The exact meaning is not clear from the metadata.low confidenceString (50)
ProjInvoiceId
NoProjInvoiceJourCDREntity
PSAInvoiceFormatsLayout of the invoice: detailed, summary, summary by category, or user defined.Enum
PSAInvoiceFormats (enum)
NoProjInvoiceJourCDREntity
QRCode_SAQR code text for the invoice, used for Saudi Arabia.String (1000)
FreeText1000
NoProjInvoiceQRCodeEntityProjInvoiceJourCDREntity
QRCode_WQR code text for the invoice.String (1000)
FreeText1000
NoProjInvoiceEntity_WProjInvoiceJourCDREntity
qtyQuantity on the invoice.Real
SalesQty
NoProjInvoiceJourCDREntity
ReasonTableRefReason reference, pointing to the reason references table.Int64
ReasonTableRefRecId
NoReasonTableRef.RecIdProjInvoiceJourCDREntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoBusinessDocumentProjectInvoiceBaseV2EntityBusinessDocumentProjectInvoiceBaseEntityProjInvoiceJourCDREntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SalesDate_CZSales date, used for the Czech Republic.Date
CzSalesDate
NoProjInvoiceJourCDREntity
SalesOrderbalanceSales subtotal amount.Real
AmountCur
NoProjInvoiceJourCDREntity
SentElectronicallyYes/No flag for whether the invoice was sent electronically.Enum
NoYesId
NoYes (enum)
NoProjInvoiceJourCDREntity
ShippingNameName of the ship-to party.String (60)
CompanyName
NoProjInvoiceJourCDREntity
ShippingPostalAddressShip-to address, pointing to a postal address record.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdProjInvoiceJourCDREntity
SMASpecIndexCalcYes/No flag for specifying the index calculation.low confidenceEnum
SMASpecIndexCalc
NoYes (enum)
NoProjInvoiceJourCDREntity
SourceDocumentHeaderLink to the source document header record.Int64
RefRecId
NoSourceDocumentHeader.RecIdProjInvoiceJourCDREntity
SubmissionUUID_EGUnique invoice ID from the tax authority, used for Egypt.String (50)
UUID
NoProjInvoiceJourCDREntity
SubmissionUUID_WUnique ID given when the invoice was submitted to a tax authority.String (1000)
FreeText1000
NoProjInvoiceEntity_WProjInvoiceJourCDREntity
SumLineDiscTotal of line discounts.Real
DiscAmount
NoBusinessDocumentProjectInvoiceBaseV2EntityBusinessDocumentProjectInvoiceBaseEntityProjInvoiceJourCDREntity
SumMarkupTotal charges on the invoice.Real
MarkupSumSales
NoProjInvoiceJourCDREntity
SumTaxTotal sales tax amount.Real
TaxAmountCur
NoProjInvoiceJourCDREntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxGroupIdSales tax group for the invoice.String
ProjTaxGroup
NoTaxGroupHeading.TaxGroupProjInvoiceJourCDREntity
TaxIDTax registration number, pointing to the registration numbers table.Int64
TaxRegistrationRecId
NoTaxRegistration.RecIdProjInvoiceJourCDREntity
TaxInformation_INLink to tax information, used for India.Int64
RefRecId
NoTaxInformation_IN.RecIdProjInvoiceJourCDREntity
TaxInvoiceSalesId_IDSales tax invoice ID, used for Indonesia.String (50)
TaxInvoiceSalesId
NoBusinessDocumentProjectInvoiceBaseV2EntityBusinessDocumentProjectInvoiceBaseEntityProjInvoiceJourCDREntity
TaxPrintOnInvoiceYes/No flag for printing tax on the invoice.Enum
TaxPrintOnInvoice
NoYes (enum)
NoProjInvoiceJourCDREntity
TaxSpecifyByLineYes/No flag for whether tax is specified by line.low confidenceEnum
NoYes (enum)
NoProjInvoiceJourCDREntity
TaxSpecifyTotalYes/No flag for whether tax is specified as a total.low confidenceEnum
NoYes (enum)
NoProjInvoiceJourCDREntity
TransportationDocumentLink to the transportation details record.Int64
TransportationDocumentRecId
NoTransportationDocument.RecIdProjInvoiceJourCDREntity
TriangulationYes/No flag for EU triangulation.Enum
EUROTriangulation
NoYes (enum)
NoProjInvoiceJourCDREntity
VATNumTax exempt number.String (20)
VATNumJournal
NoProjInvoiceJourCDREntity
VATNumRecIdSystem record ID of the tax exempt number record. The target table depends on the number source type.low confidenceInt64
RefRecId
NoProjInvoiceJourCDREntity
VATNumTableTypeSource type of the tax exempt number: none, tax registration, or tax VAT number table.Enum
TaxExemptNumberSourceType (enum)
NoProjInvoiceJourCDREntity
VolumeVolume of the goods on the invoice.Real
Volume
NoProjInvoiceJourCDREntity
VoucherNumberSequenceTableVoucher series, pointing to the number sequence table.Int64
ProjVoucherNumberSequenceTable
NoNumberSequenceTable.RecIdProjInvoiceJourCDREntity
WeightWeight of the goods on the invoice.Real
Weight
NoProjInvoiceJourCDREntity
WhoIsAuthor_LTAuthor of the document: company, customer or vendor. Used for Lithuania.Enum
LtDocOriginator (enum)
NoProjInvoiceJourCDREntity

Indexes (10)

Relations (35)

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

  • CashDisc → CashDisc

    Join on CashDiscCode = CashDisc.CashDiscCode

    Many ProjInvoiceJour records → zero or one CashDisc record

  • Currency → Currency

    Join on CurrencyId = Currency.CurrencyCode

    Many ProjInvoiceJour records → zero or one Currency record

  • CustDirectDebitMandate → CustDirectDebitMandate

    Join on DirectDebitMandate = CustDirectDebitMandate.RecId

    Many ProjInvoiceJour records → zero or one CustDirectDebitMandate record

  • CustLedger → CustLedger

    Join on PostingProfile = CustLedger.PostingProfile

    Many ProjInvoiceJour records → zero or one CustLedger record

  • CustTable → CustTable

    Join on InvoiceAccount = CustTable.AccountNum

    Many ProjInvoiceJour records → zero or one CustTable record

  • CustTable_Order → CustTable

    Join on OrderAccount = CustTable.AccountNum

    Many ProjInvoiceJour records → zero or one CustTable record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many ProjInvoiceJour records → zero or one DimensionAttributeValueSet record

  • DeliveryPostalAddress_FK → LogisticsPostalAddress

    Join on DeliveryPostalAddress = LogisticsPostalAddress.RecId

    Many ProjInvoiceJour records → zero or one LogisticsPostalAddress record

  • DlvMode → DlvMode

    Join on DlvMode = DlvMode.Code

    Many ProjInvoiceJour records → zero or one DlvMode record

  • DlvTerm → DlvTerm

    Join on DlvTerm = DlvTerm.Code

    Many ProjInvoiceJour records → zero or one DlvTerm record

  • IntrastatPort → IntrastatPort

    Join on Port = IntrastatPort.PortId

    Many ProjInvoiceJour records → zero or one IntrastatPort record

  • LanguageTable → LanguageTable

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

    Many ProjInvoiceJour records → zero or one LanguageTable record

  • LanguageTable1 → LanguageTable

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

    Many ProjInvoiceJour records → zero or one LanguageTable record

  • LedgerPostingJournal → LedgerPostingJournal

    Join on PostingJournalId = LedgerPostingJournal.LedgerPostingJournalId

    Many ProjInvoiceJour records → zero or one LedgerPostingJournal record

  • NumberSequenceGroup → NumberSequenceGroup

    Join on NumberSequenceGroupId = NumberSequenceGroup.numberSequenceGroupId

    Many ProjInvoiceJour records → zero or one NumberSequenceGroup record

  • NumberSequenceTable → NumberSequenceTable

    Join on VoucherNumberSequenceTable = NumberSequenceTable.RecId

    Many ProjInvoiceJour records → zero or one NumberSequenceTable record

  • PaymDay → PaymDay

    Join on PaymDayId = PaymDay.PaymDayId

    Many ProjInvoiceJour records → zero or one PaymDay record

  • PaymSched → PaymSched

    Join on PaymentSched = PaymSched.Name

    Many ProjInvoiceJour records → zero or one PaymSched record

  • PaymTerm → PaymTerm

    Join on Payment = PaymTerm.PaymTermId

    Many ProjInvoiceJour records → zero or one PaymTerm record

  • ProjGroup → ProjGroup

    Join on ProjGroupId = ProjGroup.ProjGroupId

    Many ProjInvoiceJour records → zero or one ProjGroup record

  • ProjInvoiceTable → ProjInvoiceTable

    Join on ProjInvoiceProjId = ProjInvoiceTable.ProjInvoiceProjId

    Many ProjInvoiceJour records → zero or one ProjInvoiceTable record

  • ProjProposalJour → ProjProposalJour

    Join on ProposalId = ProjProposalJour.ProposalId

    Many ProjInvoiceJour records → zero or one ProjProposalJour record

  • ReasonTableRef → ReasonTableRef

    Join on ReasonTableRef = ReasonTableRef.RecId

    Zero or one ProjInvoiceJour record → exactly one ReasonTableRef record

  • SourceDocumentHeader → SourceDocumentHeader

    Join on SourceDocumentHeader = SourceDocumentHeader.RecId

    Many ProjInvoiceJour records → zero or one SourceDocumentHeader record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroupId = TaxGroupHeading.TaxGroup

    Many ProjInvoiceJour records → zero or one TaxGroupHeading record

  • TaxInformation_IN → TaxInformation_IN

    Join on TaxInformation_IN = TaxInformation_IN.RecId

    Many ProjInvoiceJour records → zero or one TaxInformation_IN record

  • TransportationDocument → TransportationDocument

    Join on TransportationDocument = TransportationDocument.RecId

    Zero or one ProjInvoiceJour record → zero or one TransportationDocument record

  • ContactPerson_NO → ContactPerson

    Join on ContactPersonId_NO = ContactPerson.ContactPersonId

    Many ProjInvoiceJour records → exactly one ContactPerson record

  • TaxRegistration → TaxRegistration

    Join on TaxID = TaxRegistration.RecId

    Many ProjInvoiceJour records → zero or one TaxRegistration record

  • PartyTaxRegistration → TaxRegistration

    Join on PartyTaxID = TaxRegistration.RecId

    Many ProjInvoiceJour records → zero or one TaxRegistration record

  • LedgerDefaultDimension → DimensionAttributeValueSet

    Join on LedgerDefaultDimension = DimensionAttributeValueSet.RecId

    Many ProjInvoiceJour records → zero or one DimensionAttributeValueSet record

  • ShippingPostalAddress_FK → LogisticsPostalAddress

    Join on ShippingPostalAddress = LogisticsPostalAddress.RecId

    Many ProjInvoiceJour records → zero or one LogisticsPostalAddress record

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

    Many ProjInvoiceJour records → zero or one FinTag record

  • Establishment → OMOperatingUnit

    Join on Establishment = OMOperatingUnit.RecId

    Many ProjInvoiceJour records → zero or one OMOperatingUnit record

  • CustIntentLetter_IT → CustIntentLetter_IT

    Join on IntentLetterInternalId_IT = CustIntentLetter_IT.InternalLetterId

    Many ProjInvoiceJour records → zero or one CustIntentLetter_IT record

Get this data out

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

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

Email sales@drdynamics.co.uk