POST /messages/create-edi-message

Uploads a SKOT flat file, or EDIFACT EDI document and creates a message.

The data should be sent to the server using a raw binary format (application/octet-stream). You can also submit the data as a stream that is formatted as a base64-encoded ASCII text. In this case, the HTTP Content-Type header must be set to application/base64.

The document must be sent as the request body.

In this call the flat file is translated to EDIFACT file and is delivered according to the receiver specified in the document.

Service parameter of the message will be mapped accordingly to a transaction:

  • INVOIC to SubmitInvoice,
  • ORDERS to SubmitOrder,
  • ORDRSP to SubmitOrderResponse,
  • PRICAT to SubmitCatalogue,
  • RETANN to SubmitReturnAnnouncement,
  • DESADV to SubmitDespatchAdvice,
  • CUSDEC to SubmitCustomsDeclaration and
  • CUSRES to SubmitCustomsResponse.

Action parameter of the message will describe the format e.g. EDIFACT.CUSDEC.96A.

Language
URL
Click Try It! to start a request and see the response here!