Table of Contents

Table Crm_Invoices

Entity

Entity: Crm.Invoicing.Invoices

Invoices issued by the enterprise companies. Entity: Crm_Invoices

Owner Tables Hierarchy

Summary

Name Type Description
Apply_Date date When not NULL specifies that the VAT entry for this invoice should be applied for a different period than that specified by the document date.
Automatic_Order_Linking bit Specifies whether to automatically set Lines.Invoice_Order_Line_Id by searching invoice orders upon first release
Credit_Note_Description nvarchar(254) Descriptions/reason for the credit note.
Credit_Note_Original_Invoice_Id uniqueidentifier When this is credit note, may contain the original Invoice. NULL for normal invoices or when the original document is unknown.
Customer_Id uniqueidentifier The customer to which the invoice is issued
Deal_Type_Id uniqueidentifier VAT deal type for this invoice. If deal type in entered then VAT entry is created for this deal type.
Delivery_Date datetime Date, when the delivery was effected. When NULL = document date
Delivery_Terms_Code nvarchar(3) Allowed: EXW, FCA, FAS, FOB, CFR, CIF, CPT, CIP, DAP, DAT, DDP, DPU Mode of delivery, like CIF, FOB, etc. Used also in Intrastat reporting
Document_Currency_Id uniqueidentifier The currency in which the document is issued. All amounts are in this currency
Document_Id uniqueidentifier
Intrastat_Transaction_Nature_Code nvarchar(2) Allowed: 11, 12, 13, 14, 19, 21, 22, 23, 29, 60, 70, 80, 91, 99, 30, 41, 42, 51, 52 Transaction nature; used for Intrastat reporting
Intrastat_Transport_Country_Id uniqueidentifier Country of origin of the transport company; used for Intrastat reporting
Intrastat_Transport_Mode_Code nvarchar(1) Allowed: 1, 2, 3, 4, 5, 7, 8, 9 Transport mode; used for Intrastat reporting
Invoice_Id uniqueidentifier PK
Is_Released bit Readonly True if the document is not void and its state is released or greater. Deprecated
Is_Single_Execution bit Readonly Specifies whether the document is a single execution of its order document.
IsValid bit Used for internal purposes. 1 when the invoice is valid (released and not void) for summing
Notes nvarchar(254)
Payment_Account_Id uniqueidentifier When not NULL, specifies the default payment account for the payment order
Payment_Due_Date datetime When not NULL specifies due date for the payment
Payment_Due_Start_Date datetime
Payment_Type_Description nvarchar(254) ML Description of the payment type. Initially copied from the name of the Payment Type
Payment_Type_Id uniqueidentifier When not NULL specifies the payment type for the invoice
Row_Version timestamp
VAT_Cash_Reporting_Mode bit When true, specifies, that the special cash reporting mode should be used for VAT reporting. When false, the normal (classic) VAT reporting is used.
VAT_Notes nvarchar(254) Description of the operation that will be entered in the VAT ledgers.

Columns

Apply_Date

When not NULL specifies that the VAT entry for this invoice should be applied for a different period than that specified by the document date.

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type date
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Apply_Date - Supported Filters

Filter Type Default Include Nulls Hidden by Default
GreaterThanOrLessThan None no no

Automatic_Order_Linking

Specifies whether to automatically set Lines.Invoice_Order_Line_Id by searching invoice orders upon first release

Property Value
Auto Complete no
Data Filter no
Default Value False
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type bit
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Credit_Note_Description

Descriptions/reason for the credit note.

Property Value
Attributes IsLongString
Auto Complete no
Data Filter no
Default Value None
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length 254
Order 8
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type nvarchar(254) (Allows NULL)
UI Memo Editor no
UI Width 100
User Login no
Visible no

Credit_Note_Original_Invoice_Id

When this is credit note, may contain the original Invoice. NULL for normal invoices or when the original document is unknown.

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 7
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Crm_Invoices
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier (Allows NULL)
UI Memo Editor no
UI Width Long
User Login no
Visible yes

Credit_Note_Original_Invoice_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL yes no

Customer_Id

The customer to which the invoice is issued

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 1
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Crm_Customers
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Customer_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no no

Deal_Type_Id

VAT deal type for this invoice. If deal type in entered then VAT entry is created for this deal type.

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table VAT_Deal_Types
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Deal_Type_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL yes no

Delivery_Date

Date, when the delivery was effected. When NULL = document date

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 5
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type datetime (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Delivery_Date - Supported Filters

Filter Type Default Include Nulls Hidden by Default
GreaterThanOrLessThan None no no

Delivery_Terms_Code

Mode of delivery, like CIF, FOB, etc. Used also in Intrastat reporting

Property Value
Allowed Values EXW, FCA, FAS, FOB, CFR, CIF, CPT, CIP, DAP, DAT, DDP, DPU
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length 3
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type nvarchar(3) (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Document_Currency_Id

The currency in which the document is issued. All amounts are in this currency

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Gen_Currencies
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Document_Currency_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no yes

Document_Id

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference yes
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Gen_Documents
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Document_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no yes

Intrastat_Transaction_Nature_Code

Transaction nature; used for Intrastat reporting

Property Value
Allowed Values 11, 12, 13, 14, 19, 21, 22, 23, 29, 60, 70, 80, 91, 99, 30, 41, 42, 51, 52
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length 2
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type nvarchar(2) (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Intrastat_Transport_Country_Id

Country of origin of the transport company; used for Intrastat reporting

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Gen_Countries
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Intrastat_Transport_Country_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL yes no

Intrastat_Transport_Mode_Code

Transport mode; used for Intrastat reporting

Property Value
Allowed Values 1, 2, 3, 4, 5, 7, 8, 9
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length 1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type nvarchar(1) (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Invoice_Id

Property Value
Auto Complete no
Data Filter no
Default Value NewGuid
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key yes (order: 1)
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Invoice_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no yes

Is_Released

True if the document is not void and its state is released or greater. Deprecated

Property Value
Auto Complete no
Data Filter no
Default Value False
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly yes
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type bit
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Is_Released - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no yes

Is_Single_Execution

Specifies whether the document is a single execution of its order document.

Property Value
Auto Complete no
Data Filter no
Default Value False
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly yes
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type bit
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Is_Single_Execution - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no yes

IsValid

Used for internal purposes. 1 when the invoice is valid (released and not void) for summing

Property Value
Auto Complete no
Data Filter no
Default Value False
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type bit
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Notes

Property Value
Attributes IsLongString
Auto Complete no
Data Filter no
Default Value None
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length 254
Order 6
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type nvarchar(254) (Allows NULL)
UI Memo Editor no
UI Width 100
User Login no
Visible no

Payment_Account_Id

When not NULL, specifies the default payment account for the payment order

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Cash_Payment_Accounts
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier (Allows NULL)
UI Memo Editor no
UI Width 100
User Login no
Visible yes

Payment_Account_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL yes no

Payment_Due_Date

When not NULL specifies due date for the payment

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type datetime (Allows NULL)
UI Memo Editor no
UI Width 100
User Login no
Visible yes

Payment_Due_Date - Supported Filters

Filter Type Default Include Nulls Hidden by Default
GreaterThanOrLessThan None no no

Payment_Due_Start_Date

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type datetime (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Payment_Due_Start_Date - Supported Filters

Filter Type Default Include Nulls Hidden by Default
GreaterThanOrLessThan None no no

Payment_Type_Description

Description of the payment type. Initially copied from the name of the Payment Type

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length 254
Order 4
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type nvarchar(254) (MultiLanguage) (Allows NULL)
UI Memo Editor no
UI Width 100
User Login no
Visible no

Payment_Type_Id

When not NULL specifies the payment type for the invoice

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 3
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Cash_Payment_Types
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Payment_Type_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL yes no

Row_Version

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type timestamp
UI Memo Editor no
UI Width Medium
User Login no
Visible no

VAT_Cash_Reporting_Mode

When true, specifies, that the special cash reporting mode should be used for VAT reporting. When false, the normal (classic) VAT reporting is used.

Property Value
Auto Complete no
Data Filter no
Default Value False
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type bit
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

VAT_Cash_Reporting_Mode - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no no

VAT_Notes

Description of the operation that will be entered in the VAT ledgers.

Property Value
Attributes IsLongString
Auto Complete no
Data Filter no
Default Value None
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length 254
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type nvarchar(254) (Allows NULL)
UI Memo Editor no
UI Width 100
User Login no
Visible no