Question

Importing Supplier invoice einvoice with Rest api in Cloud 21R1

  • 13 April 2022
  • 3 replies
  • 247 views

Userlevel 2
Badge +6
  • Sidekick (Employee)
  • 27 replies

In Apps 10 we have read in an xml file with supplier invoice data, basically using IFS EINVOICE format.
If we want to skip the file and do the same using a REST API, which REST API would that then be? 


3 replies

Userlevel 2
Badge +6

There is an example Routing address in Cloud 21R2, called Example_Receive_Supplier_Invoice

It is connected to project ReceiveSupplierInvoiceService

However, this RESTAPI do not have posting lines. Maybe there is something else missing as well.

Is it so that we need to continue using XML files to load EINVOICES?

 

 

Userlevel 3
Badge +7

@Jan T  I noticed there is a way to add invoice lines? or is this not what you referring to?

 

 

Userlevel 2
Badge +6

I have been able to import invoices using RESTAPI {{baseUrl}}/ReceiveEinvoice, also invoice lines.

The API documentation is ok in the API Doc viewer.

I believe that it is also possible to use an xml file as in previous versions, using an SFTP reader in IFS Connect. The advantage of using IFS Connect, is that you get an application message that also stores the xml file used. Much easier to do error investigation when we have the invoice xml files in IFS.  

Reply