Skip to content

IFS Connect for Receiving e-Invoices

The purpose with this page is to provide a step-by-step guide how to, in IFS Connect, create new routing rules and how to use them effectively to direct incoming e-Invoices to the plsql method Receive_Einvoice_Util_API.Receive_Einvoice_Message.

Use this page when you want to learn more about how to configure IFS Connect for receiving of e-Invoices.

Step-By-Step Guide

  1. Open Solution Manager.
  2. Navigate to Integration / IFS Connect / Setup IFS Connect.
  3. Start by importing a previously created transformer.
  4. Go to folder Transformers.
  5. Press New and assistant to create Transformer opens.
  6. Select Instance Type and add proper Instance Name.
  7. Browse the file and press OK.
  8. Navigate to Integration /IFS Connect / Routing Addresses.
  9. Press New and assistant to create Routing Address opens.
  10. Select Transport Connector Plslq and add proper Address Name.
  11. Press Next and again press Next.
  12. Add Receive_Einvoice_Util_API.Receive_Einvoice_Message in Plsql Method.
  13. Press Finish.
  14. Optionally select the previously created transformer file in the Transformers section.
  15. Navigate to Integration / IFS Connect / Routing Rules and select the Inbound tab.
  16. Select Create New in the menu bar.
  17. Press New and assistant to create Routing Rule opens.
  18. Press Next.
  19. Select a suitable format to Route From and ensure it is set to Enabled. In this example we will use UNKNOWN_XML.
  20. Add proper Rule Name and select the IN1 queue.
  21. Press Finish.
  22. Press New in Content Based Conditions to enter a condition for identifying what kind of files that should be handled by this Routing Rule. In this example we will search for the XML tag <IFSFinvoice> in the incoming XML and therefore we type √ćFSFinvoice as Search and exist as Operation.
  23. Press Set Destination Address in Destination Address and choose the previously created Routing Address in the dialog.
  24. Press OK.

Samples

Receiving e-Invoice information leads to the following,

  1. The incoming XML is transformed to a schema called IFSEinvoice. This schema is an external schema but with a few modifications for IFS e-Invoice functionality.
  2. The XML according to the IFSEinvoice schema is transformed to an internal receive e-invoice XML schema, for further processing.

The zip file ReceiveEInvoiceSamples contains,

  1. IFSEinvoice.xml
  2. IFSEinvoice.xsd
  3. IFSReceiveEinvoice.xml
  4. IFSReceiveEinvoice.xsd