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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BankSpecificSymbolSpecific symbol used in bank payment details. | String (20)SpecificSymbol | No | None | |
BillingEstablishmentSIRET_WSIRET number of the billing establishment. | String (60)TaxRegistrationNumber | No | None | |
BuyerAddressAddress of the buyer as one text line. | String (250)LogisticsAddressing | No | None | |
BuyerEnterpriseCodeEnterprise code of the buyer. | String (50)EnterpriseCode | No | None | |
BuyerNameName of the buyer. | String (160)CustName | No | None | |
BuyerRegNum_WRegistration (routing) number of the buyer. | String (25)CompanyRegNum | No | None | |
CompanyAddressAddress of the issuing company. | String (250)Addressing | No | None | |
CompanyBankAccountBank account number of the company. | String (48)BankAccount | No | None | |
CompanyBankNameName of the company's bank. | String (60)Name | No | None | |
CompanyBranch_THTax branch code of the company, used for Thailand. | String (20)TaxBranchCode | No | None | |
CompanyCommercialRegisterCommercial register where the company is kept. | String (40)CommercialRegister | No | None | |
CompanyCommercialRegisterInsetNumberInset number in the commercial register. | StringCommercialRegisterInsetNumber | No | None | |
CompanyCommercialRegisterSectionSection of the commercial register. | StringCommercialRegisterSection | No | None | |
CompanyCoRegNumTax registration number of the company. | String (25)CompanyCoRegNum | No | None | |
CompanyCoRegNum_WSIRET number of the issuing establishment. | String (25)CompanyCoRegNum | No | None | |
CompanyCurrencyBankAccountCompany bank account used for the invoice currency. | String (50)String50 | No | None | |
CompanyCurrencyBankNameName of the bank for the currency bank account. | String (60)Name | No | None | |
CompanyCurrencyCodeCurrency code of the company. | String (3)CurrencyCode | No | None | |
CompanyDebitDirectIdDirect debit ID of the company. | String (35)BankDebitDirectId | No | None | |
CompanyEmailEmail address of the company. | String (80)Email | No | None | |
CompanyEnterpriseCodeEnterprise code of the company. | String (50)EnterpriseCode | No | None | |
CompanyEnterpriseNumberEnterprise number of the company. | String (50)TaxEnterpriseNumber | No | None | |
CompanyGiroBank giro number of the company. | String (48)GiroNum | No | None | |
CompanyIdNAFNAF activity code of the company, used for France. | String (5)CompanyIdNAF | No | None | |
CompanyInitialCapital_FRStarting capital of the company, in accounting currency; used for France. | RealCompanyInitialCapital_FR | No | None | |
CompanyLegalFormFRLegal form of the company, used for France. | String (100)CompanyLegalFormFR | No | None | |
CompanyLogoCompany logo as an image. | ContainerBitmap | No | None | |
CompanyNameName of the issuing company. | String (60)Name | No | None | |
CompanyPhoneTelephone number of the company. | String (20)Phone | No | None | |
CompanyRegComFRCommerce registration of the company, used for France. | String (30)CompanyRegComFR | No | None | |
CompanyRegNumRegistration (routing) number of the company. | String (25)CompanyRegNum | No | None | |
CompanySIREN_WSIREN tax identification number of the company. | String (60)TaxRegistrationNumber | No | None | |
CompanyTeleFaxFax number of the company. | String (20)TeleFax | No | None | |
CompanyURLInternet address of the company. | String (255)URL | No | None | |
CompanyVATNumTax exempt (VAT) number of the company. | String (20)VATNum | No | None | |
CompanyVATNum_WVAT identification number of the company. | String (20)VATNum | No | None | |
ConstantSymbolConstant symbol for payments, used for the Czech Republic. | StringCzConstantSymbol | No | None | |
ContactPersonNameName of the contact person. | String (60)ContactPersonName | No | None | |
CorrectedInvoiceIdFree-text note, labelled Note, for the corrected invoice. | String (-1)Notes | No | None | |
CorrectiveReasonHeaderText explaining why the invoice was corrected. | String (-1)CustVendCorrectiveReason | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | None | |
CustDeliverySIRET_WSIRET number of the customer's delivery location. | String (60)TaxRegistrationNumber | No | None | |
CustInvoiceRefNum_FIYes/No flag to use reference numbers on customer invoices, used for Finland. | EnumCustInvoiceRefNum_FINoYes (enum) | No | None | |
CustomerBankAccountBank account of the customer. | String (50)String50 | No | None | |
CustomerBankNameName of the customer's bank. | String (60)Name | No | None | |
CustomerPhone_THTelephone number of the customer, used for Thailand. | String (20)Phone | No | None | |
CustomerRefReference given by the customer. | String (60)CustRef | No | None | |
CustomerTeleFax_THFax number of the customer, used for Thailand. | String (20)TeleFax | No | None | |
CustSIREN_WSIREN tax identification number of the customer. | String (60)TaxRegistrationNumber | No | None | |
CustVATId_WVAT identification number of the customer. | String (60)TaxRegistrationNumber | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DocumentDateDate of the document. | DateDocumentDate | No | None | |
DuplicateDateDate of the duplicate invoice. | DateCustInvoiceDuplicateDate_W | No | None | |
DuplicateNumNumber of the duplicate invoice. | IntegerCustInvoiceDuplicateNum_W | No | None | |
EnterpriseNumberEnterprise number shown on the invoice. | String (50)TaxEnterpriseNumber | No | None | |
EnterpriseNumber_WSIRET number of the customer, labelled Your SIRET number. | String (50)TaxEnterpriseNumber | No | None | |
Enterpriseregister_NODescription of the enterprise register, used for Norway. | String (60)Description | No | None | |
GSTReasonCode_MYGST reason code, used for Malaysia. | StringReasonCode | Yes | None | |
GSTReliefClause_MYNote on the GST relief clause, used for Malaysia. | String (-1)Notes | No | None | |
IbanIBAN bank account number. | String (48)BankIBAN | No | None | |
IntentLetterDate_ITDate of the intent letter, used for Italy. | DateTransDate | No | None | |
IntentLetterFromDate_ITStart date of the intent letter, used for Italy. | DateFromDate | Yes | None | |
IntentLetterId_ITCustomer's intent letter number, used for Italy. | String (17)IntentLetterId_IT | No | None | |
IntentLetterInternalId_ITInternal number that identifies the intent letter, used for Italy. | StringIntentLetterInternalId_IT | No | None | |
IntentLetterPostingDate_ITPosting date of the intent letter, used for Italy. | DateIntentLetterPostingDate_IT | No | None | |
IntentLetterProtocol_ITProtocol number of the intent letter, used for Italy. | String (30)IntentLetterProtocol_IT | No | None | |
IntentLetterToDate_ITEnd date of the intent letter, used for Italy. | DateToDate | Yes | None | |
InvoiceAccountCustomer account that is invoiced. | String (20)CustInvoiceAccount | No | None | |
InvoiceBranch_THBranch number on the invoice, used for Thailand. | String (15)BranchNumber_TH | No | None | |
InvoiceBranchName_THName of the invoice branch, used for Thailand. | String (60)Name | No | None | |
InvoiceDateDate of the invoice. | DateTransDate | No | None | |
InvoiceReferenceNumberCustomer invoice reference number, used for Finland. | String (23)SalesInvoiceReferenceNumber_FI | No | None | |
InvoiceTaxNatureOfAddress_THTax address type, head office or branch, used for Thailand. | EnumTaxNatureOfAddress_TH (enum) | No | None | |
InvoiceTaxRegNumber_THTax registration number on the invoice, used for Thailand. | String (60)TaxRegistrationNumber | No | None | |
InvoiceTxtFirst line of invoice text. | String (60)Str60 | No | None | |
InvoiceTxtNote_THInvoice text note, used for Thailand. | String (60)Str60 | No | None | |
InvoiceTxtSequelContinuation of the invoice text. | String (60)Str60 | No | None | |
InvoiceType_MYType of invoice, such as GST invoice or self-billed invoice, used for Malaysia. | EnumInvoiceType_MY (enum) | No | None | |
InvoicingAddressAddress of the invoiced party. | String (250)LogisticsAddressing | No | None | |
InvoicingNameName of the invoiced party. | String (160)CustName | No | None | |
IsInvoiceCreditNoteYes/No flag that probably shows whether the invoice is a credit note; no label is given.low confidence | EnumNoYes (enum) | No | None | |
IsPaymIdVisibleYes/No flag that probably controls whether the payment ID is shown; no label is given.low confidence | EnumNoYes (enum) | No | None | |
JournalRecIdPoints to the customer invoice journal record that the output is based on. | Int64RefRecId | No | CustInvoiceJour.RecId | None |
LanguageIdLanguage of the output; points to a language record. | String (7)LanguageId | No | LanguageTable.LanguageId | None |
ListcodeList code for the type of trade, such as EU trade or triangular trade. | EnumListcodeIdListcode (enum) | No | None | |
MCRDlvModeDelivery mode, labelled Ship via. | String (20)NameAlias | No | None | |
MCRDlvTermDelivery terms, labelled FOB. | StringCustDlvTermId | No | None | |
NotesLine_FRNote line on the invoice, used for France. | String (254)NotesLine | No | None | |
OriginalInvoiceAmountAmount of the original invoice, in accounting currency. | RealAmountMST | No | None | |
OriginalInvoiceReferenceReference to the original invoice. | String (255)String255 | No | None | |
OriginalVatAmountTax amount of the original invoice, in accounting currency. | RealAmountMST | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PayerEnterpriseCodeEnterprise code of the payer. | String (50)EnterpriseCode | No | None | |
PayerRegNum_WRegistration (routing) number of the payer. | String (25)CompanyRegNum | No | None | |
PaymentConditionPayment text describing the payment conditions. | String (-1)PaymTxt | No | None | |
PaymentReferenceReference to use when paying the invoice. | String (35)PaymReference | No | None | |
PaymIdPayment ID for the invoice. | String (200)PaymId | No | None | |
PrintFreeTextInvoiceVATNumYes/No flag to print the tax exempt number on the invoice. | EnumPrintInvoiceVATNumNoYes (enum) | No | None | |
PurchaseOrderCustomer's purchase order or requisition number. | String (20)CustPurchaseOrder | No | None | |
QIINumRegistration number labelled QII.low confidence | String (60)TaxRegistrationNumber | No | None | |
QRCode_SAQR code as an image, used for Saudi Arabia. | ContainerBitmap | No | None | |
QRCode_WQR code as an image. | ContainerBitmap | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ReferenceGeneral reference text for the invoice. | String (255)Description255 | No | None | |
SalesAdministratorName of the worker who administers the sale. | String (160)HcmWorkerName | No | None | |
SalesAdministratorEmailEmail address of the sales administrator. | String (80)Email | No | None | |
SalesAdministratorPhoneTelephone number of the sales administrator. | String (20)Phone | No | None | |
SalesDateDate of the sale. | DateSalesDate_W | No | None | |
SalesIdSales order number linked to the invoice. | String (20)SalesIdBase | No | None | |
SerialNumOfInvoiceInvoice number of the document. | String (50)InvoiceId | No | None | |
ShowCompanyVATNumYes/No flag that probably controls whether the company tax number is shown; no label is given.low confidence | EnumNoYes (enum) | No | None | |
ShowCurrencyBankAccountYes/No flag that probably controls whether the currency bank account is shown; no label is given.low confidence | EnumNoYes (enum) | No | None | |
ShowPayerYes/No flag that probably controls whether the payer is shown; no label is given.low confidence | EnumNoYes (enum) | No | None | |
ShowQIILabelYes/No flag that probably controls whether the QII label is shown; no label is given.low confidence | EnumNoYes (enum) | No | None | |
ShowQIINumYes/No flag that probably controls whether the QII number is shown; no label is given.low confidence | EnumNoYes (enum) | No | None | |
SpecialFormattedDocumentDateTemporary text holding the document date in a special format. | String (254)TempStr | No | None | |
SpecialFormattedInvoiceDateTemporary text holding the invoice date in a special format. | String (254)TempStr | No | None | |
SpecialFormattedPrintDateTemporary text holding the print date in a special format. | String (254)TempStr | No | None | |
SubmissionUUID_EGUnique invoice identifier from the tax authorities, used for Egypt. | String (50)UUID | No | None | |
SupplyDate_AEShip date of the supply, used for the United Arab Emirates. | DateSalesShippingDate | No | None | |
SwiftNumberSWIFT code of the bank. | String (20)SWIFTNo | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxLicenseNumPacking duty licence number. | String (20)TaxPackagingLicenseNum | No | None | |
TaxRegistrationNumber_AETax registration number, used for the United Arab Emirates. | String (60)TaxRegistrationNumber | No | None | |
VatDueDate_WDate of the VAT register entry. | DateVatDueDate_W | No | None | |
VatNumTax exempt number on the invoice. | String (20)VATNumJournal | No | None |
Indexes (2)
JournalRecIdNot unique.
CreatedTransactionIdNot unique.
Relations (2)
Each relation joins SalesInvoiceHeaderFooterTmp to another table on the fields shown.
CustInvoiceJour→CustInvoiceJourJoin on
JournalRecId = CustInvoiceJour.RecIdMany SalesInvoiceHeaderFooterTmp records → zero or one CustInvoiceJour record
LanguageTable→LanguageTableJoin on
LanguageId = LanguageTable.LanguageId,LanguageTable.LabelFile = 1Zero 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.