Invoices (INVOIC)

Invoices (INVOIC) message is used to send the invoice information from the supplier to the customer. This message can be sent by MHS or EDI.

This message has two types of rows:

Invoice Header Row

Data typeCOLUMNSend MessageReceive Message
ValueDescriptionSIZEM/N/C*COMMENTValueDescriptionSIZEM/N/C*COMMENT
NUMBERMESSAGE_
ID (FK)
EDI message IDUnique ID of message generated by IFS Connectivity   MESSAGE_ID (FK)EDI message ID   
NUMBERMESSAGE_
LINE
Row of messageHeader should always be row number 1   MESSAGE_LINERow of message   
VARCHAR2NAMEHeaderType of message line   NAMEHeader   
VARCHAR2ERROR_
MESSAGE
Error message
for line
Generated by EDI converter   ERROR_MESSAGEError message for line   
VARCHAR2C00INVOICE_TYPEType of invoice20M INVOICE_TYPEType of invoice20N 
VARCHAR2C01INVOICE_SERIES_ID+ INVOICE_NO (concatenated)Invoice identity70M INVOICE_NOInvoice identity50M 
VARCHAR2C02ORDER_NOSupplier order number12N SUPPLIER_ORDER_NOCustomer order number12N 
VARCHAR2C03PO_REFERENCEPurchase order number50N PO_REFERENCEPurchase order number2000
(4000)
N 
VARCHAR2C04CURRENCYInvoice currency3N CURRENCYInvoice currency3M 
VARCHAR2C05PAY_TERM_DESCPayment terms description100M    
VARCHAR2C88INVOICE_TEXT_IDIdentity of invoice text20N INVOICE_TEXT_IDIdentity of invoice text20N
VARCHAR2C93INVOICE_TEXTInvoice text2000N INVOICE_TEXTInvoice text2000N
DATED00INVOICE_DATECreation date of invoice M INVOICE_DATECreation date of invoice M 
DATED01DUE_DATEPayment due date M DUE_DATEPayment due date M 
DATED02ORDER_DATEThe date when the order was entered N    
DATED03DELIVERY_DATEThe latest date on which the order was delivered N DELIVERY_DATEThe latest date on which the order was delivered N 
DATED04PAY_TERM_
BASE_DATE
The date to be used as the base for payment term calculations to calculate the due date M PAY_TERM_BASE
_DATE
The date to be used as the base for payment term calculations to calculate the due date N 
DATED05WANTED_
DELIVERY_DATE
Date on which the customer wants the order to be delivered at the customer's delivery address. N    
DATED07REF_DATEThe date of the invoice communicated to the customer. CIf debit invoice no has a value   
NUMBERN00PAY_TERM_
DUE_DAYS
Due Date - Invoice Date M    
NUMBERN07INVOICE_FEEInvoicing fee N INVOICE_FEEInvoicing fee N 
NUMBERN08ROUNDING_
INVOICE_FEE
Invoice rounding amount N INVOICE_ROUNDINGInvoice rounding amount N 
NUMBERN09  NORIGINAL_GROSS
_AMOUNT
Gross amount of the invoice when it was originally loaded N 
NUMBERN13REF_NET_CURR_AMOUNTReference Invoice Total Net Amount in Invoice Currency N    
NUMBERN14REF_VAT_
CURR_AMOUNT
Reference Invoice Total Tax Amount in Invoice Currency N    
NUMBERN15REF_VAT_
DOM_AMOUNT
Reference Invoice Total Tax Amount in Accounting Currency N    
NUMBERN16NET_CURR_AMOUNTInvoice net amount N    
NUMBERN17VAT_CURR_AMOUNTInvoice TAX amount N    
NUMBERN18SHIPMENT_IDShipment ID N SHIPMENT_IDShipment ID N 
NUMBERN20SEQUENCE_NOINVOIC message sequence number M    
NUMBERN21VERSION_NOINVOIC message version number M    
VARCHAR2C06CUSTOMER_IDCustomer identity20M CUSTOMER_IDSupplier identity20N 
VARCHAR2C07CUST_NAMECustomer name100M    
VARCHAR2C08VAT_NOCustomer TAX number50N    
VARCHAR2C09INVOICE_
ADRESS_ID
Invoice address identity50N    
VARCHAR2C10INV_ADDR1Invoice address 175N    
VARCHAR2C11INV_ADDR2Invoice address 235N    
VARCHAR2C12INV__ZIP_CODEInvoice address Zip Code35N    
VARCHAR2C13INV_CITYInvoice address City35N    
VARCHAR2C14INV_STATEInvoice address State35N    
VARCHAR2C15INV_COUNTRY
_CODE
Invoice address country code2M    
VARCHAR2C16DELIV_
CUSTOMER_ID
Delivery customer number200M    
VARCHAR2C17VAT_NODelivery customer TAX number50N    
VARCHAR2C18DELIVERY
ADDRESS_ID
Delivery address identity50N    
VARCHAR2C19DELIVERY_ADDRESSReceiver name for delivery address100M    
VARCHAR2C20DEL_ADDR1Delivery address 175N    
VARCHAR2C21DEL_ADDR2Delivery address 235N    
VARCHAR2C22DEL_ZIP_CODEDelivery address Zip code35N    
VARCHAR2C23DEL_CITYDelivery address City35N    
VARCHAR2C24DEL_STATEDelivery address State35N    
VARCHAR2C25DEL_COUNTRY
 CODE
Delivery address country code2M    
VARCHAR2C26SUPPLIER_NOSupplier identity20N SUPPLIER_NOCustomer identity20N 
VARCHAR2C27SUPPLIER_NAMEName of the company to which the supplier is linked100M    
VARCHAR2C28SUPPLIER_
VAT_NO
Supplier TAX number50N    
VARCHAR2C29SUPPLIER_
ADRESS_ID
Supplier document address identity50C This will be mandatory when the invoice creator is INSTANT_INVOICE_API or PROJECT_INVOICE_API   
VARCHAR2C30SUP_ADDR1Supplier's Document address 175N    
VARCHAR2C31SUP_ADDR2Supplier's Document address 235N    
VARCHAR2C32SUP_ZIP_CODESupplier's Document address zip code35N    
VARCHAR2C33SUP_CITYSupplier's Document address city35N    
VARCHAR2C34SUP_STATESupplier's Document address state35N    
VARCHAR2C35SUP_COUNTRY
_CODE
Supplier's document address country code2M    
VARCHAR2C36YOUR_REFERENCECustomer's reference100N OUR_REFERENCEName of the contact200N 
VARCHAR2C37OUR_REFERENCEYour reference100N YOUR_REFERENCECustomer's reference200N 
VARCHAR2C38DELIVERY_TERMS
_DESC
Delivery terms description50N DELIVERY_TERMS
_DESC
Delivery terms description200N 
VARCHAR2C39SHIP_VIA_DESCShip via description50N SHIP_VIA_DESCShip via description200N 
VARCHAR2C40FORWARD_AGENT
_ID
Forward agent35N FORWARD_AGENT_IDForward agent200N 
VARCHAR2C41LABEL_NOTELabel note100N LABEL_NOTELabel note200N 
VARCHAR2C42HEADER_DOC_
TEXT
Header Document Text N TEXTHeader Note2000  
VARCHAR2C43ADDRESSCustomers EDI address200M    
VARCHAR2C44ADDRESSCompany EDI address30NSUPPLIER_COMMUNICATION_ID is fetched from company’s message setup if that exists or else from the customer’s message setup.   
VARCHAR2C45MEDIA_CODEWay of communication (EDI, MHS, etc)      
VARCHAR2C46Cust EAN Location
 Doc Addr
EAN location no. for customer document address100N    
VARCHAR2C47Cust EAN Location
 Del Addr
EAN location no. for customer delivery address100N    
VARCHAR2C48EAN Location Doc
 Addr
EAN location no. for your document address      
VARCHAR2C49   EDI_RECEIVEREDI receiver ID for company   
VARCHAR2C50CUSTOMER_COMPANYEDI receiver ID for company   COMPANYCompany   
VARCHAR2C51   CREATORS_REFERENCEThe name of the person who created the invoice   
VARCHAR2C52 20NINVOICE_RECIPIENTThe recipient of the invoices for the supplier20N 
VARCHAR2C53 2000NRECEIPT_REFReference to one or more delivery receipts2000N 
VARCHAR2C54 50NBATCHIf the invoice is processed as a batch job, the ID given to the batch to which the invoice belonged50N 
VARCHAR2C55SERIES_REFERENCE + NUMBER_REFERENCEInvoice series and invoice number of the connected debit invoice, when the invoice message is of a credit invoice70N SERIES_REFERENCE + NUMBER_REFERENCEInvoice series and invoice number of the connected debit invoice, when the invoice message is of a credit invoice70N 
VARCHAR2C56DEL_COUNTYInvoice Address County3N    
VARCHAR2C57COUNTY 35    
VARCHAR2C58SUP_COUNTY 35    
VARCHAR3C59NCF_REFERENCEThe reference number on the invoice50N NCF_REFERENCEThe payment reference number on the supplier invoice50N 
VARCHAR2C60REF_CURRENCYReference Invoice Currency (The reference invoice currency can be specified in the Customer Orders/Invoicing of Customer Orders/Customer Invoice/General tab or in the Invoice/Customer Invoices/Customer Invoice/Line tab.)3N   N
VARCHAR2C61ACCOUNTThe bank account number.100M ACCOUNTThe bank account number.100M 
VARCHAR2C62BIC_CODEThe bank identifier code used with the bank account.20M      
VARCHAR2C65INVOICE_TYPECorrection Invoice /Advance Invoice /Credit Invoice/Collective Invoice /Invoice2000M    
VARCHAR2C66CROSS_REFERENCE
_INFO_1
Free text200N    
VARCHAR2C67CROSS_REFERENCE
_INFO_2
Free text200N    
VARCHAR2C68CROSS_REFERENCE
_INFO_3
Free text200N    
VARCHAR2C69CROSS_REFERENCE
_INFO_4
Free text200N    
VARCHAR2C70CROSS_REFERENCE
_INFO_5
Free text200N

 

    
VARCHAR2C71CROSS_REFERENCE
_INFO_1
Free text200N    
VARCHAR2C72CROSS_REFERENCE
_INFO_2
Free text200N    
VARCHAR2C73CROSS_REFERENCE
_INFO_3
Free text200N    
VARCHAR2C74CROSS_REFERENCE
_INFO_4
Free text200N    
VARCHAR2C75CROSS_REFERENCE
_INFO_5
Free text200N    
VARCHAR2C76DEL_TERMS_LOCATIONDelivery terms location200N DEL_TERMS_LOCATIONDelivery terms location100N 
VARCHAR2C80SOURCE_COMP_COUNTRYCountry Code of the Sender Company2M SOURCE_COMP_COUNTRYCountry Code of the Sender Company2M 
VARCHAR2STATEStatus of message
line
Handled by IFS Connectivity   Status of message lineHandled by IFS Connectivity   

* States whether a value in the field is mandatory (M), non-mandatory (N), or conditional (C).

Invoice Line Row

Data typeCOLUMNSend MessageReceive Message
ValueDescriptionSIZEM/N/C*COMMENTValueDescriptionSIZEM/N/C*COMMENT
NUMBERMESSAGE_ID (FK)EDI message IDUnique ID of message generated by IFS Connectivity   EDI message IDUnique ID of message generated by IFS Connectivity   
NUMBERMESSAGE_LINERow of messageEach message can hold several lines   Row of messageEach message can hold several lines   
VARCHAR2NAMERowType of message line   RowType of message line   
VARCHAR2ERROR_MESSAGEError message for lineGenerated by EDI converter   Error message for lineGenerated by EDI converter   
VARCHAR2C00SERIES_ID+ INVOICE_NO (concatenated)Invoice identity70M INVOICE_NOInvoice identity50M 
VARCHAR2C01ITEM_POSInvoice item position20M ITEM_POSInvoice item position20M 
VARCHAR2C02CATALOG_NOSupplier part number25N SUP_PART_NOSupplier's part number80N 
VARCHAR2C03DESCRIPTIONSupplier part description / Invoice text200N SUP_PART_DESCSupplier's part description200N 
VARCHAR2C04PURCHASE_PARTPurchase part number50N PUR_PART_NOPurchase part number25N 
VARCHAR2C05PURCHASE_PART_DESCRIPTIONPurchase part description200N PUR_PART_DESCPurchase part description200N 
VARCHAR2C06SALES_UNIT_MEASSupplier sales unit measures100N SALES_UMSupplier sales unit measures20N 
VARCHAR2C07PRICE_UNIT_MEASSupplier price unit meas.100N PRICE_UMSupplier price unit meas.20N 
VARCHAR2C08VAT_CODETAX code20N VAT_CODETAX code20N 
VARCHAR2C09ORDER_NOSupplier order number100N    
VARCHAR2C10LINE_NOSupplier order line number100N LINE_NOSupplier order line number2000N 
VARCHAR2C11RELEASE_NOSupplier release number of order line4N RELEASE_NOSupplier release number of order line2000N 
VARCHAR2C12CUSTOMER_PO_NOCustomer purchase order number100N PO_REFERENCEA reference to one or more purchase orders1000N 
VARCHAR2C13TAX_TEXTTax code text500N TAX_TEXTTax code text500N 
VARCHAR2C14SERIES_REFERENCE + NUMBER_REFERENCEThe reference to the debit invoice origin of the credit invoice line70N SERIES_REFERENCE + NUMBER_REFERENCEThe reference to the debit invoice origin of the credit invoice line50N 
VARCHAR2C15REF_CURRENCYReference Invoice Currency3N    
VARCHAR2C16LINE_DOC_TEXTLine Document Text + Charge line Document Text2000N    
VARCHAR2C17DELIVERY_ADDRESS_IDDelivery Address Id50N    
VARCHAR2C18DELIVERY_ADDRESS   Receiver name for delivery address100N    
VARCHAR2C19DELIVERY_ADDRESS1  Delivery address 175N    
VARCHAR2C20DELIVERY_ADDRESS2  Delivery address 235N    
VARCHAR2C21DELIVERY_ADDRESS3  Delivery address Zip Code35N    
VARCHAR2C22DELIVERY_ADDRESS4  Delivery address City35N    
VARCHAR2C23DELIVERY_ADDRESS5Delivery address State35N    
VARCHAR2C24DELIVERY_ADDRESS6Delivery address County35N    
VARCHAR2C25DELIVERY_COUNTRY   Delivery address Country Code35N    
VARCHAR2C29**DELIVERY_NOTE_NOSDelivery note number(s)2000N     
VARCHAR2C31INVOICE_TEXT_IDIdentity of invoice text20N INVOICE_TEXT_IDIdentity of invoice text20N
VARCHAR2C32INVOICE_TEXTInvoice text2000N INVOICE_TEXTInvoice text2000N
VARCHAR2C34SOURCE_UNIT_MEASCustomer unit of measure50N      
VARCHAR2C49GTIN_NOTHE DEFAULT GTIN OF THE PART14

N

 GTIN_NOGTIN used for identification of the part   
VARCHAR2C56DELIV_TYPE_IDIdentity of the delivery type20N DELIV_TYPE_IDIdentity of the delivery type20N 
VARCHAR2C57DELIV_TYPE_DESCRIPTIONDelivery Type2000N      
NUMBERN00SALES_UNIT_PRICESupplier sales unit price in order currency N SALES_UNIT_PRICESupplier sales unit price in order currency   
NUMBERN01PRICE_CONVPrice conversion factor N    
NUMBERN02INV_QTYInvoiced quantity N INVOICED_QTYInvoiced quantity N 
NUMBERN03NET_CURR_AMOUNTLine net amount in invoice currency M NET_CURR_AMOUNTLine net amount in invoice currency N 
NUMBERN04VAT_CURR_AMOUNTLine TAX amount in invoice currency M VAT_CURR_AMOUNTLine TAX amount in invoice currency N 
NUMBERN05VAT_PERCENTTAX percentage N TAX_RATETax expressed as a percentage N 
NUMBERN06ORDER_DISCOUNTOrder discount N ORDER_DISCOUNTOrder discount N 
NUMBERN07DISCOUNTLine discount N LINE_DISCOUNTLine discount N 
NUMBERN08DISCOUNT_AMOUNTDiscount amount N DISCOUNT_AMOUNTDiscount amount N 
NUMBERN09REF_NET_CURR_AMOUNTReference Invoice Total Net Amount in Invoice Currency N    
NUMBERN10REF_VAT_CURR_AMOUNTReference Invoice Total Tax Amount in Invoice Currency N    
NUMBERN11REF_VAT_DOM_AMOUNTReference Invoice Total Tax Amount in Accounting Currency N    
NUMBERN12ADDITIONAL_DISCOUNTAdditional discount N    
NUMBERN13TOTAL_DISCOUNT     Total discount N    
NUMBERN16INVOICED_SOURCE_QTYInvoiced quantity expressed in customer's unit of measure N      
DATED00DELIVERY_DATEDelivery date of the order N DELIVERY DATEDelivery date of the order N 
DATED01   MAN_TAX_LIABILITY_DATEDate on which the invoice line amount becomes liable for tax. N 
VARCHAR2STATEStatus of message lineHandled by IFS Connectivity   Status of message lineHandled by IFS Connectivity   

* States whether a value in the field is mandatory (M), non-mandatory (N), or conditional (C).

** Consists of the alternative delivery note number, if applicable.

Installment Row

Data typeCOLUMNSend MessageReceive Message
ValueDescriptionSIZEM/N/C*COMMENTValueDescriptionSIZEM/N/C*COMMENT
NUMBERMESSAGE_ID (FK)EDI message IDUnique ID of message generated by IFS Connectivity   EDI message IDUnique ID of message generated by IFS Connectivity   
NUMBERMESSAGE_LINERow of messageEach message can hold several lines   Row of messageEach message can hold several lines   
VARCHAR2NAMEInstallmentType of message line   InstallmentType of message line   
VARCHAR2C00SERIES_ID+
INVOICE_NO (concatenated)
Invoice identity70M  INVOICE_NOInvoice identity50M 
NUMBERN00CURR_AMOUNTInstallment amount M AMOUNTInstallment amount M 
DATED00DUE_DATEDue Date M DUE_DATEDue Date M 
DATED01DISC_DATEFirst Discount Date Filled only if discount exists. Up to 3 discount lines handled.   DISCOUNT_DATE_1First Discount Date N 
NUMBERN01TAX_AMOUNTTax Amount N TAXTax amount N 
NUMBERN02DISC_PERCENTFirst Discount Percent CThis will be mandatory when there are discounts available for the invoiceDISCOUNT_PERC1First Discount Percent N 
NUMBERN03DISCOUNT_
CURR_AMOUNT
First Discount Amount   DISCOUNT_CURRAMOUNT1First Discount Amount N 
DATED02DISC_DATESecond Discount Date   DISCOUNT_DATE2Second Discount Date N 
NUMBERN04DISC_PERCENTSecond Discount Percent CThis will be mandatory when there is a second discount available for the invoiceDISCOUNT_PERC2Second Discount Percent N 
NUMBERN05DISCOUNT_
CURR_AMOUNT
Second Discount Amount   DISCOUNT_CURRAMOUNT2Second Discount Amount N 
DATED03DISC_DATEThird Discount Date   DISCOUNT_DATE3Third Discount Date N 
NUMBERN06DISC_PERCENTThird Discount Percent CThis will be mandatory when there is a third discount available for the invoiceDISCOUNT_PERC3Third Discount Percent N 
NUMBERN07DISCOUNT_
CURR_AMOUNT
Third Discount Amount   DISCOUNT_CURRAMOUNT3Third Discount Amount N 
VARCHAR2STATEStatus of
message line
Handled by IFS Connectivity      

* States whether a value in the field is mandatory (M), non-mandatory (N), or conditional (C).

Tax Total Row

Data typeCOLUMNSend MessageRECEIVE MESSAGE
ValueDESCRIPTIONSIZEM/N/C*COMMENTValueDESCRIPTIONSIZEM/N/C*COMMENT
NUMBERMESSAGE_ID (FK)EDI message IDUnique ID of message generated by IFS Connectivity        
NUMBERMESSAGE_LINERow of messageEach message can hold several lines        
VARCHAR2NAMETax TotalType of message line        
VARCHAR2C00SERIES_ID+ INVOICE_NO (concatenated)Invoice identity70M      
VARCHAR2C01VAT_CODETAX code20M      
VARCHAR2C02VAT_CODE_DESCTAX code description100N      
VARCHAR2C03TAX_CODE_TEXTTax Code Text500N      
NUMBERN00VAT_PERCENTAGETAX percentage M      
NUMBERN01SUM_NET_CURR_AMOUNTNet Amount M      
NUMBERN02SUM_VAT_CURR_AMOUNTTAX Amount M      
NUMBERN03SUM_VAT_DOM_AMOUNTTAX Amount in accounting currency M      
NUMBERN04SUM_GROSS_CURR_AMOUNTGross Amount        

* States whether a value in the field is mandatory (M), non-mandatory (N), or conditional (C).