HubBroker iPaaS - OrderResponses via FTP

Invoices and CreditNotes that are created by suppliers in the HubBroker iPaaS Supplier Order Management tool or which are sent to the HubBroker iPaaS  by directly integrated suppliers, via a PEPPOL access point  or a third party roaming partner can be provided to HubBroker iPaaS customers via FTP.In that case an account with access to a specific directory via FTPs and SFTP is set up and the customer is obliged to poll  documents from that directory on a regular basis.                  

Folder and file structure

The FTP account includes access to a separate folder for OrderResponses (and optionally Shipment Notices or Invoices and CreditNotes), hence one folder per document type.Each business document is represented by one XML OrderResponse message that can be wrapped in a SOAP envelope containing a unique messageID, senderID and receiverID in the header.If other documents are attached to the business document then the whole message may be of a MIME 1.0 structure. Basically the structure of the files is the same as if they were received via HTTP. For more information about available formats for OrderResponses please follow the link below.

File names - naming convention

The names of the OrderResponse files on the HubBroker iPaaS FTP server consists of document type, document number (=OrderResponse number), timestamp and a random string - all separated bythe underscore "_" sign. Example: "orderresponse_1000985971_20170116155717_61015757.xml The timestamp (here: "20170116155717") means the time the document was received by HubBroker iPaaS and the format is: YYYYMMDDHHMMSS in CET (Central European Time).The random string (here: "61015757") has a length of eigh characters (letters and digits).


How did we do?