EDI via SFTP – SCANINFO
-
Introduction
We offer a flatfile format named “SCANINFO”, which is a simple text-based file format designed for easy data exchange and processing. This format is used for both regular shipments and collection request parcels. (UTF-8 encoded, semicolon-delimited) that includes all scans performed on your parcels. These scan files are exported every 30 minutes and made available for download and integration in a private SFTP folder. -
Naming Convention
For regular shipments, the filename follows this format:SCANINFO_****_D<Date YYYYMMDD>T<Timestamp HHmmss>_<6 digit random number>Example:SCANINFO_BE0000_D20250117T133125_123456
Each part of the filename has a specific meaning:- SCANINFO: Indicates the file type.
- BE0000: Represents the customer ID.
- D20250117: The date in YYYYMMDD format.
- T133125: The time in HHmmss format.
- 123456: A 6-digit random number for uniqueness.
For collection requests, filenames will start withSCANINFOCR_
.
-
How to Request
If you have not already received an SFTP account during onboarding, you can request one by contacting it.cs@dpd.be. If Sales assistance is required, please reach out to them first. Alternatively, reach out to Sales if this option is unavailable. -
File Description
The SCANINFO file includes the following data fields (English translations provided, with any unrelated references removed):
PARCELNO;SCAN_CODE;DEPOT_CODE;SCAN_DATE_TIME;ROUTE;TOUR;SERVICE;RCOUNTRYN;RCOUNTRY;CONSIGNEE_ZIP;ADD_SERVICE_1;ADD_SERVICE_2;ADD_SERVICE_3;ADD_SERVICE_4;ADD_SERVICE_5;WEIGHT;VOLUME;POD_IMAGE_REF;RECEIVER_NAME;INFO_TEXT;LOCATION;MPSCREF1;MPSCREF2;MPSCREF3;MPSCREF4;CREF1;CREF2;CREF3;CREF4;CUSTOMER_REFERENCE;DELISUSR; 05300000000000;02;0300;20240815190000;0300;;327;752;SE;90592;;;;;;30;062041017;;;;;mps_crf1;;;;cref1;;;;customer_ref1;delisuser1; 05300000000000;13;0521;20240815192906;0521;;328;528;;2353MR;;;;;;0;;6620080;somebody;;somewhere;mps_crf1;;;;cref1;;;;customer_ref1;delisuser1; 05300000000000;04;1560;20240815190341;;;328;826;;TN118EE;;;;;;0;;;;;;mps_crf1;;;;cref1;;;;customer_ref1;delisuser1; 05300000000000;04;1557;20240815185545;;;327;826;;HR27PA;;;;;;0;;;;;;mps_crf1;;;;cref1;;;;customer_ref1;delisuser1; 05300000000000;04;1583;20240815185423;;;328;826;;WA66TL;;;;;;0;;;;;;mps_crf1;;;;cref1;;;;customer_ref1;delisuser1;
Field Name
Description
Format
Example
PARCELNOParcel Label NumberVARCHAR(14)12345678901234SCAN_CODEEvent Type*VARCHAR(2)02DEPOT_CODEEvent Depot Code*VARCHAR(4)0534SCAN_DATE_TIMEEvent Timestamp (YYYYMMDDHHmmss)VARCHAR(14)20250128123045ROUTEParcel Destination Depot CodeVARCHAR(4)0548TOURTour Handling the ParcelVARCHAR(3)123SERVICEService Code*VARCHAR(3)101RCOUNTRYNReceiver Country Number (ISO 3166 Numeric)VARCHAR(3)056RCOUNTRYReceiver Country Code (ISO 3166 Alpha-2)VARCHAR(2)BECONSIGNEE_ZIPReceiver Postal CodeVARCHAR(7)1000ADD_SERVICE_1Additional Code / Exception Code*VARCHAR(3)011ADD_SERVICE_2Additional Code / Exception Code*VARCHAR(3)095ADD_SERVICE_3Additional Code / Exception Code*VARCHAR(3)096ADD_SERVICE_4Additional Code / Exception Code*VARCHAR(3)000ADD_SERVICE_5Additional Code / Exception Code*VARCHAR(3)000WEIGHTWeight in KilogramsVARCHAR(8)5.50VOLUMEVolume (Length/Width/Height in cm without separator)VARCHAR(9)050030020POD_IMAGE_REFDelivery Run Sheet NumberVARCHAR(15)565485RECEIVER_NAMESignatory NameVARCHAR(35)John DoeINFO_TEXTAdditional Encoded Information for Scan Type 18*VARCHAR(200)144:1:infotext@nowhere.com::2:2:DLO:20240701:1216:1:1430:1530::LOCATIONReceiver CityVARCHAR(35)BrusselsMPSCREF1Consignment Customer Reference 1VARCHAR(35)Ref1MPSCREF2Consignment Customer Reference 2VARCHAR(35)Ref2MPSCREF3Consignment Customer Reference 3VARCHAR(35)Ref3MPSCREF4Consignment Customer Reference 4VARCHAR(35)Ref4CREF1Customer Reference 1VARCHAR(35)CustRef1CREF2Customer Reference 2VARCHAR(35)CustRef2CREF3Customer Reference 3VARCHAR(35)CustRef3CREF4Customer Reference 4VARCHAR(35)CustRef4CUSTOMER_REFERENCEDPD Customer NumberVARCHAR(12)BE1234DELISUSRDPD Customer Delis User IDVARCHAR(12)User1234*See File Interpretation for more information -
File Interpretation
This section outlines the possible values for the major fields, ensuring proper interpretation of the SCANINFO data:Key Categories:
- Scancodes :
ScanCodeDescriptionDetailed Description01ConsolidationProcessed in sorting depot for further handling.02InboundArrived at distribution depot and ready for processing.03Out for deliveryLeft distribution depot and is being delivered by driver.04Driver’s returnReturned to distribution depot after delivery attempt.05Pick-upArrived at shipping depot for processing06System returnReturned to sender or return address08WarehouseStored in warehouse awaiting further processing or dispatch09Inbound ExceptionInitiating a new process in distribution depot10Hub scanProcessed in sorting depot for further handling12Customs clearance processProcessed by customs for international shipping (non-EU)13DeliveredDelivered successfully to the consignee by the driver14Delivery attempt not successful.Delivery attempt failed due to an issue (e.g., recipient unavailable)15Driver’s pick-upPicked up by driver at the sender or parcel shop location17Export/Import clearedCleared for import/export, enabling cross-border movement18Info scan ( with additional encoded information in the info_text)A scan event where additional encoded information is included in the info_text20LoadingLoaded onto a truck for transit between depots23Delivered by driver to DPD ParcelShopDelivered by driver to a local DPD ParcelShop for customer pickup- Exception Codes :
Exception codeDescription002Loading error003Routing error004Packaging damaged005Limited quantities006Collection-upon-delivery007Postcode error008NI processing009Non-conveyable010Hazardous goods011Wrong address012Refused by consignee – packaging damaged013Refused by Parcel Shop014Refused by consignee – not ordered015Refused by consignee016Refused by consignee – contents checked, found to be damaged017Return (pick-up) after wrong delivery018Exchange / order019Consignee not present – notified first time020Self-collecting consignee021Destruction / confiscated by customs022Broken in sub-contractor`s custody023Appointed day of delivery024Contents checked025Closed (e.g. department store)026Exchange / pick-up027Lack of space028Competitor029Consignment incomplete030Consignee on holiday031Not system conform032Lack of time033Missing, incorrect, incomplete, illegible export documentation034ORSYmat filling035Consignee not present, informed, on holiday036Department delivery037Consignee not present – notified third time038Sorting error at recipient depot039Customs / gateway return040Delivery to a third party with notification041Force majeure042Consignee not present, notified 2nd time044Small and lightweight parcel045Tyre046Amount not paid047Return third party048Unpacked tyre049Customer’s return050Digicode, access code required051Reusable box 101052Reusable box 102053Reusable box 103054Reusable box 104055Reusable box 105056Reusable box 106057Documents return059Private address060Post Office061Delay due to unknown reason062DPD Backbox063Same-day delivery064Groupage, envelope065Delivery on Saturday066ID check failed067Signature refused068Delivery / deposit with non-recurring authority069Delivery / deposit with general authorisation070Temperature sensitive071Customer not informed about collection request072Parcel not ready for shipment073Parcel shipped / used by other means074Customer has less than collection requests ordered075Identity check076DPD 8:30078DPD 10:00079DPD 12:00080Appointment scheduled081Regional public holiday082Customer has more than the collection request parcels ordered083Address changed084Delivery note / order reference missing085Missing or incorrect data086No forwarding on the inbound day087DPD 18:00 / DPD GUARANTEE088DPD GUARANTEE, DPD 8:30, DPD 10:00, DPD 12:00, DPD 18:00 too late089Delivery to Mail-/Parcel box (without signature)091Parcelshop delivery after 1st delivery attempt092Injected into delivery network093Preload094Manual entry095File import096Manual follow up098Print of DPD label099Canceled106Incorrect Address123Others160Others191Contactless delivery206Packaging damaged209Parcel damaged210Locker not working/out of order211Locker full/no free shelfs available212Parcel too big for locker213Missing data (at the locker)231Non-standard parcel (overweight, oversized)232Temperature248EORI missing or wrong249Power of attorney (POA) not provided by consignee250Return: Holding / storage limit expired251Parcel lost252Received, not manifested (overage)253Manifested, not received (underage)254Off-loaded255Flight canceled256Late arrival – in transit257Held in Customs: Other reasons258Value / description of goods required259Phone number or contact name missing or wrong260VAT / personal ID no. required261Prohibited goods262Customs examination263Unable to contact consignee264Pending consignee information or duty payment265Pending information from origin depot266Invoice address not destination country267Invoice not in English268Declaration of origin is missing on the invoice / without country of origin269Consignee refuses to pay taxies and duties270Declaration of origin without signature / without repeating the name legibly271Return requested by origin country272Export declaration is missing273Shipment removed from bag274Held in Customs: special forwarding required275Waiting for release by other authority e.g. FDA276Bag missing277EUR 1 is missing278EUR 1 not pre-stamped279A.TR is missing280Accompanying documents handed over to consignee’s broker281Contingency plan applicable – extreme situation282Missing prealert (SHPNOT)283Data information corrected manually284GPS data cannot be calculated285Payment of duties and taxes or information received304Door code required307Not present on first attempt – carded311Premises closed313Parcel not ready for shipping319Parcel refused by consignee321Parcel refused329Local holiday333Incomplete Shipment335Not present on second attempt – carded338Parcel already shipped / used by other means340Sender not informed about collection request341Sender has less collection requests than ordered342Sender has more collection request than ordered343Sender not present344Failed attempt – carded / notified351Shipment under customs clearance352Shipment customs cleared353Handover gateway386Order cancelled400Temperature too high401Temperature too low402Parcel destructed/destroyed403Return parcel at origin depot404Parcel delivered in transport unit405storage time exceeded/outdated food406Handover to third party407Address error – street name unknown408Address error – house number wrong/missing409Address error – consignee moved/unknown410Adress error – no name at the bell/mail box411Adress error – incomplete/details missing412Adress error – building/floor missing413Return because parcel was not picked up at PUDO414Cold room storage415Consignee can’t be informed/notified due to missing/incorrect contact details416Due date (from FastTrack)417Lost track (from FastTrack)418No temperature information available507Return Requested to Sender603Force majeure609Lack of time637Delayed for unknown reason652In storage655Open / Start a bag or a container659End of the container usage.661Cleaning / cleaned801Destruction802Quarantine general803Quarantine DLC passed804temperature too Low810Delay In Route817Is predict stop847Signature available899Inflight refusal during the tour- Infocontainers (GSMT): Information on additional container-level data.
- Depot Codes (GRMT): Depot identification codes.
- Service Codes (GRMT): List of service-specific codes.
- Country Codes (GRMT): Country identifiers used in parcel routing.
- Scancodes :
-
Service code
These are the most frequently used service codes in DPD Belux:
101 DPD BUSINESS 105 DPD BUSINESS (ex works) 136 DPD BUSINESS (small parcel) 137 DPD BUSINESS (saturday) 138 DPD BUSINESS (ex works – small parcel) 155 DPD EXPRESS 18 GUARANTEE 158 DPD EXPRESS 18 GUARANTEE (ex works) 179 DPD EXPRESS 10 182 DPD EXPRESS 10 (saturday) 185 DPD EXPRESS 10 (ex works) 225 DPD EXPRESS 12 228 DPD EXPRESS 12 (saturday) 231 DPD EXPRESS 12 (ex works) 300 DPD RETURN 327 DPD HOME 328 DPD HOME (small parcel) 332 DPD SHOP RETURN 337 DPD SHOP 338 DPD SHOP (small parcel) 365 DPD CLASSIC TYRE 366 DPD HOME TYRE 829 DPD HOME (saturday) 830 DPD HOME (small parcel – saturday) -
Additional Exception Codes