Table

SalesInvoiceHeaderFooterTmp

Show invoice

Temporary worksheet table behind the Show invoice output. It holds the header and footer data of a printed customer invoice: company, bank, buyer, payer, reference and payment details. It also has many country-specific fields, for example for France, Thailand, Italy, Malaysia and Egypt. It links to the customer invoice journal and to a language.

Table name
SalesInvoiceHeaderFooterTmp
Module
Accounts receivable
Table group
Worksheet
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (128)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BankSpecificSymbolSpecific symbol used in bank payment details.String (20)
SpecificSymbol
NoNone
BillingEstablishmentSIRET_WSIRET number of the billing establishment.String (60)
TaxRegistrationNumber
NoNone
BuyerAddressAddress of the buyer as one text line.String (250)
LogisticsAddressing
NoNone
BuyerEnterpriseCodeEnterprise code of the buyer.String (50)
EnterpriseCode
NoNone
BuyerNameName of the buyer.String (160)
CustName
NoNone
BuyerRegNum_WRegistration (routing) number of the buyer.String (25)
CompanyRegNum
NoNone
CompanyAddressAddress of the issuing company.String (250)
Addressing
NoNone
CompanyBankAccountBank account number of the company.String (48)
BankAccount
NoNone
CompanyBankNameName of the company's bank.String (60)
Name
NoNone
CompanyBranch_THTax branch code of the company, used for Thailand.String (20)
TaxBranchCode
NoNone
CompanyCommercialRegisterCommercial register where the company is kept.String (40)
CommercialRegister
NoNone
CompanyCommercialRegisterInsetNumberInset number in the commercial register.String
CommercialRegisterInsetNumber
NoNone
CompanyCommercialRegisterSectionSection of the commercial register.String
CommercialRegisterSection
NoNone
CompanyCoRegNumTax registration number of the company.String (25)
CompanyCoRegNum
NoNone
CompanyCoRegNum_WSIRET number of the issuing establishment.String (25)
CompanyCoRegNum
NoNone
CompanyCurrencyBankAccountCompany bank account used for the invoice currency.String (50)
String50
NoNone
CompanyCurrencyBankNameName of the bank for the currency bank account.String (60)
Name
NoNone
CompanyCurrencyCodeCurrency code of the company.String (3)
CurrencyCode
NoNone
CompanyDebitDirectIdDirect debit ID of the company.String (35)
BankDebitDirectId
NoNone
CompanyEmailEmail address of the company.String (80)
Email
NoNone
CompanyEnterpriseCodeEnterprise code of the company.String (50)
EnterpriseCode
NoNone
CompanyEnterpriseNumberEnterprise number of the company.String (50)
TaxEnterpriseNumber
NoNone
CompanyGiroBank giro number of the company.String (48)
GiroNum
NoNone
CompanyIdNAFNAF activity code of the company, used for France.String (5)
CompanyIdNAF
NoNone
CompanyInitialCapital_FRStarting capital of the company, in accounting currency; used for France.Real
CompanyInitialCapital_FR
NoNone
CompanyLegalFormFRLegal form of the company, used for France.String (100)
CompanyLegalFormFR
NoNone
Container
Bitmap
NoNone
CompanyNameName of the issuing company.String (60)
Name
NoNone
CompanyPhoneTelephone number of the company.String (20)
Phone
NoNone
CompanyRegComFRCommerce registration of the company, used for France.String (30)
CompanyRegComFR
NoNone
CompanyRegNumRegistration (routing) number of the company.String (25)
CompanyRegNum
NoNone
CompanySIREN_WSIREN tax identification number of the company.String (60)
TaxRegistrationNumber
NoNone
CompanyTeleFaxFax number of the company.String (20)
TeleFax
NoNone
CompanyURLInternet address of the company.String (255)
URL
NoNone
CompanyVATNumTax exempt (VAT) number of the company.String (20)
VATNum
NoNone
CompanyVATNum_WVAT identification number of the company.String (20)
VATNum
NoNone
ConstantSymbolConstant symbol for payments, used for the Czech Republic.String
CzConstantSymbol
NoNone
ContactPersonNameName of the contact person.String (60)
ContactPersonName
NoNone
CorrectedInvoiceIdFree-text note, labelled Note, for the corrected invoice.String (-1)
Notes
NoNone
CorrectiveReasonHeaderText explaining why the invoice was corrected.String (-1)
CustVendCorrectiveReason
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
CustDeliverySIRET_WSIRET number of the customer's delivery location.String (60)
TaxRegistrationNumber
NoNone
CustInvoiceRefNum_FIYes/No flag to use reference numbers on customer invoices, used for Finland.Enum
CustInvoiceRefNum_FI
NoYes (enum)
NoNone
CustomerBankAccountBank account of the customer.String (50)
String50
NoNone
CustomerBankNameName of the customer's bank.String (60)
Name
NoNone
CustomerPhone_THTelephone number of the customer, used for Thailand.String (20)
Phone
NoNone
CustomerRefReference given by the customer.String (60)
CustRef
NoNone
CustomerTeleFax_THFax number of the customer, used for Thailand.String (20)
TeleFax
NoNone
CustSIREN_WSIREN tax identification number of the customer.String (60)
TaxRegistrationNumber
NoNone
CustVATId_WVAT identification number of the customer.String (60)
TaxRegistrationNumber
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DocumentDateDate of the document.Date
DocumentDate
NoNone
DuplicateDateDate of the duplicate invoice.Date
CustInvoiceDuplicateDate_W
NoNone
DuplicateNumNumber of the duplicate invoice.Integer
CustInvoiceDuplicateNum_W
NoNone
EnterpriseNumberEnterprise number shown on the invoice.String (50)
TaxEnterpriseNumber
NoNone
EnterpriseNumber_WSIRET number of the customer, labelled Your SIRET number.String (50)
TaxEnterpriseNumber
NoNone
Enterpriseregister_NODescription of the enterprise register, used for Norway.String (60)
Description
NoNone
GSTReasonCode_MYGST reason code, used for Malaysia.String
ReasonCode
YesNone
GSTReliefClause_MYNote on the GST relief clause, used for Malaysia.String (-1)
Notes
NoNone
IbanIBAN bank account number.String (48)
BankIBAN
NoNone
IntentLetterDate_ITDate of the intent letter, used for Italy.Date
TransDate
NoNone
IntentLetterFromDate_ITStart date of the intent letter, used for Italy.Date
FromDate
YesNone
IntentLetterId_ITCustomer's intent letter number, used for Italy.String (17)
IntentLetterId_IT
NoNone
IntentLetterInternalId_ITInternal number that identifies the intent letter, used for Italy.String
IntentLetterInternalId_IT
NoNone
IntentLetterPostingDate_ITPosting date of the intent letter, used for Italy.Date
IntentLetterPostingDate_IT
NoNone
IntentLetterProtocol_ITProtocol number of the intent letter, used for Italy.String (30)
IntentLetterProtocol_IT
NoNone
IntentLetterToDate_ITEnd date of the intent letter, used for Italy.Date
ToDate
YesNone
InvoiceAccountCustomer account that is invoiced.String (20)
CustInvoiceAccount
NoNone
InvoiceBranch_THBranch number on the invoice, used for Thailand.String (15)
BranchNumber_TH
NoNone
InvoiceBranchName_THName of the invoice branch, used for Thailand.String (60)
Name
NoNone
InvoiceDateDate of the invoice.Date
TransDate
NoNone
InvoiceReferenceNumberCustomer invoice reference number, used for Finland.String (23)
SalesInvoiceReferenceNumber_FI
NoNone
InvoiceTaxNatureOfAddress_THTax address type, head office or branch, used for Thailand.Enum
TaxNatureOfAddress_TH (enum)
NoNone
InvoiceTaxRegNumber_THTax registration number on the invoice, used for Thailand.String (60)
TaxRegistrationNumber
NoNone
InvoiceTxtFirst line of invoice text.String (60)
Str60
NoNone
InvoiceTxtNote_THInvoice text note, used for Thailand.String (60)
Str60
NoNone
InvoiceTxtSequelContinuation of the invoice text.String (60)
Str60
NoNone
InvoiceType_MYType of invoice, such as GST invoice or self-billed invoice, used for Malaysia.Enum
InvoiceType_MY (enum)
NoNone
InvoicingAddressAddress of the invoiced party.String (250)
LogisticsAddressing
NoNone
InvoicingNameName of the invoiced party.String (160)
CustName
NoNone
IsInvoiceCreditNoteYes/No flag that probably shows whether the invoice is a credit note; no label is given.low confidenceEnum
NoYes (enum)
NoNone
IsPaymIdVisibleYes/No flag that probably controls whether the payment ID is shown; no label is given.low confidenceEnum
NoYes (enum)
NoNone
JournalRecIdPoints to the customer invoice journal record that the output is based on.Int64
RefRecId
NoCustInvoiceJour.RecIdNone
LanguageIdLanguage of the output; points to a language record.String (7)
LanguageId
NoLanguageTable.LanguageIdNone
ListcodeList code for the type of trade, such as EU trade or triangular trade.Enum
ListcodeId
Listcode (enum)
NoNone
MCRDlvModeDelivery mode, labelled Ship via.String (20)
NameAlias
NoNone
MCRDlvTermDelivery terms, labelled FOB.String
CustDlvTermId
NoNone
NotesLine_FRNote line on the invoice, used for France.String (254)
NotesLine
NoNone
OriginalInvoiceAmountAmount of the original invoice, in accounting currency.Real
AmountMST
NoNone
OriginalInvoiceReferenceReference to the original invoice.String (255)
String255
NoNone
OriginalVatAmountTax amount of the original invoice, in accounting currency.Real
AmountMST
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PayerEnterpriseCodeEnterprise code of the payer.String (50)
EnterpriseCode
NoNone
PayerRegNum_WRegistration (routing) number of the payer.String (25)
CompanyRegNum
NoNone
PaymentConditionPayment text describing the payment conditions.String (-1)
PaymTxt
NoNone
PaymentReferenceReference to use when paying the invoice.String (35)
PaymReference
NoNone
PaymIdPayment ID for the invoice.String (200)
PaymId
NoNone
PrintFreeTextInvoiceVATNumYes/No flag to print the tax exempt number on the invoice.Enum
PrintInvoiceVATNum
NoYes (enum)
NoNone
PurchaseOrderCustomer's purchase order or requisition number.String (20)
CustPurchaseOrder
NoNone
QIINumRegistration number labelled QII.low confidenceString (60)
TaxRegistrationNumber
NoNone
QRCode_SAQR code as an image, used for Saudi Arabia.Container
Bitmap
NoNone
QRCode_WQR code as an image.Container
Bitmap
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReferenceGeneral reference text for the invoice.String (255)
Description255
NoNone
SalesAdministratorName of the worker who administers the sale.String (160)
HcmWorkerName
NoNone
SalesAdministratorEmailEmail address of the sales administrator.String (80)
Email
NoNone
SalesAdministratorPhoneTelephone number of the sales administrator.String (20)
Phone
NoNone
SalesDateDate of the sale.Date
SalesDate_W
NoNone
SalesIdSales order number linked to the invoice.String (20)
SalesIdBase
NoNone
SerialNumOfInvoiceInvoice number of the document.String (50)
InvoiceId
NoNone
ShowCompanyVATNumYes/No flag that probably controls whether the company tax number is shown; no label is given.low confidenceEnum
NoYes (enum)
NoNone
ShowCurrencyBankAccountYes/No flag that probably controls whether the currency bank account is shown; no label is given.low confidenceEnum
NoYes (enum)
NoNone
ShowPayerYes/No flag that probably controls whether the payer is shown; no label is given.low confidenceEnum
NoYes (enum)
NoNone
ShowQIILabelYes/No flag that probably controls whether the QII label is shown; no label is given.low confidenceEnum
NoYes (enum)
NoNone
ShowQIINumYes/No flag that probably controls whether the QII number is shown; no label is given.low confidenceEnum
NoYes (enum)
NoNone
SpecialFormattedDocumentDateTemporary text holding the document date in a special format.String (254)
TempStr
NoNone
SpecialFormattedInvoiceDateTemporary text holding the invoice date in a special format.String (254)
TempStr
NoNone
SpecialFormattedPrintDateTemporary text holding the print date in a special format.String (254)
TempStr
NoNone
SubmissionUUID_EGUnique invoice identifier from the tax authorities, used for Egypt.String (50)
UUID
NoNone
SupplyDate_AEShip date of the supply, used for the United Arab Emirates.Date
SalesShippingDate
NoNone
SwiftNumberSWIFT code of the bank.String (20)
SWIFTNo
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxLicenseNumPacking duty licence number.String (20)
TaxPackagingLicenseNum
NoNone
TaxRegistrationNumber_AETax registration number, used for the United Arab Emirates.String (60)
TaxRegistrationNumber
NoNone
VatDueDate_WDate of the VAT register entry.Date
VatDueDate_W
NoNone
VatNumTax exempt number on the invoice.String (20)
VATNumJournal
NoNone

Indexes (2)

Relations (2)

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

  • CustInvoiceJour → CustInvoiceJour

    Join on JournalRecId = CustInvoiceJour.RecId

    Many SalesInvoiceHeaderFooterTmp records → zero or one CustInvoiceJour record

  • LanguageTable → LanguageTable

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

    Zero or one SalesInvoiceHeaderFooterTmp record → zero or one LanguageTable record

Get this data out

No public entity reads from SalesInvoiceHeaderFooterTmp. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk