Transmission and file naming
FTP folder structure
Test | |
---|---|
dg2partner (IN) | sftp://ftp.digitecgalaxus.ch/OrderData/Test/dg2partner/ |
partner2dg (OUT) | sftp://ftp.digitecgalaxus.ch/OrderData/Test/partner2dg/ |
Live | |
dg2partner (IN) | sftp://ftp.digitecgalaxus.ch/OrderData/Live/dg2partner/ |
partner2dg (OUT) | sftp://ftp.digitecgalaxus.ch/OrderData/Live/partner2dg/ |
Filenaming
Galaxus -> Partner (dg2partner)
GORDP_<SupplierId>_<OrderId>.xml | |
GCANP_<SupplierId>_<OrderId>_<Timestamp>.xml | |
GRETP_<SupplierId>_<OrderId>_<Timestamp>.xml |
Partner -> Galaxus (partner2dg)
GORDR_<SupplierId>_<OrderId>_<*>_<Timestamp>.xml | |
GDELR_<SupplierId>_<OrderId>_<*>_<Timestamp>.xml | |
GCANR_<SupplierId>_<OrderId>_<*>_<Timestamp>.xml | |
GEOLN_<SupplierId>_<OrderId>_<*>_<Timestamp>.xml | |
GINVO_<SupplierId>_<OrderId>_<*>_<Timestamp>.xml | |
<OrderId>_<InvoiceNoPartner>_<TrackingNo>.pdf | |
GSURN_<SupplierId>_<OrderId>_<*>_<Timestamp>.xml |
The first characters correspond to the message designation, followed by an underscore:
<MessageType>: e.g. GDELR (Must)
<SupplierId>: Your Digitec Galaxus customer number - is also sent in the GORDP as supplier PARTY_ID, as well as in the file name (Should *)
* = Must, if the same FTP account and folder is used for CH and EU<OrderId>: Order number from Digitec Galaxus (Should)
<*>: Your document number (Should)
<InvoiceNoPartner>: Your invoice number (mandatory for export invoices)
<Timestamp>: Timestamp (Should)
Examples:
GORDP_<SupplierId>_<OrderId>.xml
GORDR_<SupplierId>_71696740_AB123456_202103311537.xml
GDELR_<SupplierId>_71696740_LF789000_202103311537.xml
GINVO_<SupplierId>_71696740_RG7654321_202103311537.xml
If different order numbers are sent in the Dispatch Notification or Invoice, the <OrderId> in the file name can be omitted or only the first one can be used.
The export timestamp ensures the uniqueness of the file. This is necessary because files with the same file name that have already been uploaded before are deleted by our SystemTask without being downloaded first.
The following characters must not be used in the file name:
Space
* ? ! | \ / ' " { } < > ; , ^ ( ) $ ~