Uploading files¶
General¶
Order files should be made available on an SFTP server, to handle incoming files and feedback files correctly, the following folder-structure is required:
organisation
/inbox
/outbox
/archive
Info
The SFTP server can either be provided by you, where Payway can collect the files or Tulo can setup an account for you in our own server. If you provide an SFTP server with credentials, the program needs read/write access to "organisation" and underlying directories.
Uploading files¶
Files should be uploaded to the inbox
directory.
Filenames should be formatted according to pattern "$resellerID_YYYYMMDDnn.csv" where resellerID is an identifier assigned to you as a reseller, followed by a date (YYYYMMDD) and an optional number (nn). The optional number is only needed if you want to send more than 1 file each day.
Sample filename: "diamax_20220601.csv"
Feedback¶
Uploaded files are processed automatically and the result of the import is uploaded to the "outbox" folder as file "$reseller_YYYYMMDD.csv.result", format of resultfile is described in the "Fields" tab. If contents of an uploaded file is not correct, such as incorrect number of fields, another file is uploaded to the "outbox" folder named "$reseller_YYYYMMDD.invalid.csv"
The input file is save to the "archive" directory after processing.
If you don't want individual result-files for every uploaded order-file, we can instead generate and upload a result-file on a weekly basis. Let us know if this is preferrable.