Skip to main content

Road Order Creation - createRoadOrder()

Road Order Creation

The createRoadOrder() method on the Horoz Logistics E-Export Integration should be used to create the records that need to be processed for micro and macro exports from domestic to abroad that will take place in road transportation. Important information about the createRoadOrder() method and the things to be considered when creating a road export order in the Horoz system are listed below for the information of the clients.

  • The first check to be performed while adding the order record to the system is that the documents in relation to the micro export, especially those which are included in the order creation structure, are sent through the FTP first.

  • The order record process is required to consist of the records, whose invoiced has been issued, and whose documents have been completed and whose shipment process has been finalized, in terms of the features.

  • There are no methods such as canceling or updating the order in this API library. In the event that the order is required to be canceled for any reason regarding any record, whose documents and request for order have been successfully sent to the Horoz system, then the seller is required to contact the HOROZ e-Export MT officer, and to proceed with the cancellation process manually.

  • In the event that any of the information recorded regarding any order, which has been successfully sent, is wanted to be change, then the cancellation process, as stated herein above, is required to be completed first, and then a new order is required to be opened by using this method upon sending the documents in relation to such order through FTP.

  • In the event that the export type is micro during the order placement, then the invoice value is required to be equal to or below the invoice value of 15,000 €, and the order weight is required to be equal to or below the total order weight of 300 kg. Macro export selection is not subject to any rule.

  • Each order must be single on the basis of recipient. Purchase type, destination country, product quantity and desi-kg information are important information in order to determine the order pricing and additional costs that might be incurred.

  • In case of selecting ATR Movement Certificate in the micro export type selection, there will be a issuance cost of 10 € ATR (January 2023). In the event that YDG is selected in the order entry features, then an international customs fee will be applied based on the reception type. In the event that Macro export type is selected, then ATR will not be selected, and the Customs Service will be selected. Based on such selection, the ATR document and bill of lading document will be issued and sent to the seller by Horoz. Such documents will be added as additional documents to the order.During the pricing phase of the products, their stacking status, package types and sizes are checked regarding occurrence of any additional cost.

  • The content expected from the client regarding the createRoadOrder method basically consists of the sender, recipient, order information and product information. Whether the sender information is completed by the client while transmitting the order, or not varies based on whether free transmission is performed, or not (isFreeSenderInfo : yes/no) and the reception type (receptionType : itWillBring/receivedFromAddress).

  • Regardless of the free selection (isfreeSenderInfo”:”yes/no”), in the event that the reception type is "it will bring" (receptionType”:”itWillBring”) in each record that will be created, then the “collectionPointId” information among the Horoz collection point definitions (“selectCollectionPoints”) is entered in the “outletLocationId” information.In the event that the "it will bring" is selected while entering the order, then it is required to determine the Horoz point, to which the product will be brought, through "selectCollectionPoints" based on the destination country.

  • In the event that free is not selected (isFreeSenderInfo = no), and that the reception type will be " to be received from the address (receptionType: receivedFromAddress), then it indicates that the seller wants to depart from any address predefined. Therefore, it is required to select from the addresses available in listSellerAddressPoints, and to enter the sellerAddressPointId information, provided in the listSellerAddressPoints() method, in the outletLocationId information.

  • Selection of free means use of an departure point without being subject to any situation defined in the system. In the event that free is selected, and that the reception type is to be "to be received from the address", then this requires the seller to complete the order with the sender information as a temporary information, for example, to express that s/he/it wants the product to be received from the address s/he/it has defined only once. In such case, the mandatory sender information (senderTitle, senderCountryName, senderCityName, senderCountyName, etc.) within the createRoadOrder() method is expected to be completed. Therefore, outletLocationId information is not expected to be as a value.

  • In the event that isFreeSenderInfo:yes has been entered, and that receptionType:receivedFromAddress has been entered, then the sender information about the order is fed from the information sent by the client; therefore, in such case, the mandatory sender information (senderTitle, senderCountryName,senderCityName, senderCountyName, etc.) available within the createRoadOrder() method are expected to be sent in a manner to have been completed.

  • In the event that isFreeSenderInfo:yes/no(regardless) has been entered, and that receptionType:itWillBring has been entered, then the sender's country, province, district, address and postal code information may be obtained from Horoz warehouse definitions, which may be obtained as GET from the selectCollectionPoints method, for outletLocationId. In the event that the outletLocationId information, as entered, is not available in Horoz warehouse definitions, then UNDEFINED COLLECTION POINT error is returned.

  • In the event that isFreeSenderInfo:no has been entered, and that receptionType:receivedFromAddress has been entered, then the sender's country, province, district, address and postal code information may be obtained from Horoz departure point definitions, which may be obtained as GET from the listSellerAddressPoints method, for outletLocationId. In the event that the “outletLocationId information, as entered, is not available in the seller's address definitions, then UNDEFINED DEPARTURE POINT error is returned. In the event that a definition, which is selected from the system, other than the sellerAdressPointId or collectionPointId, is entered in the outletLocationId parameter, then the UNDEFINED DEPARTURE POINT error and the UNDEFINED COLLECTION POINT error are sent.

  • No information other than itWillBring and receivedFromAddress can be entered in the receptionType field; otherwise, the error receptionType INFORMATION MAY NOT BE ENTERED AS ANY VALUE OTHER THAN receivedFromAddress/itWillBring. is returned.

  • In respect of the receiver information, in the event that destinationLocation information has been entered in a manner to have been completed, then the receiver's country, province, district, address and postal code information may be obtained from Horoz warehouse definitions, which may be obtained as GET from the listHorozWareHouses method, for the relevant destinationLocation. In the event that the destinationLocation information, as entered, is not available in Horoz warehouse definitions, then UNDEFINED DESTINATION POINT error is returned. This usage will be meaningful through the WMS module.

  • In the event that destinationLocation information has been entered in a manner to have not been completed, then the receiver information about the order is fed from the information sent by the client; therefore, in such case, the mandatory receiver information (recipientTitle, recipientCountryName,recipientCityName, etc.) available within the createRoadOrder() method are expected to be sent in a manner to have been completed.

  • The currency information about the amount of invoice to be sent for road orders to be transmitted to the Horoz system through the integration is expected to be sent in TRY (Turkish Lira), EUR (European Union Currency), USD (American Dollar) and GBP (British Pound). Otherwise, an error is returned to the client.

  • In respect of the order information, the postal code of the recipient country within the recipient information is required to be entered in the arrival information in terms of pricing, and such value entered is required to be numerical.

The documents required for the execution of road export orders and the description and export types of these documents are as follows;

REQUIRED DOCUMENTATIONDESCRIPTIONEXPORT TYPE
ETGBCustoms documentation for micro export purposesMICRO EXPRORT
EN InvoiceThe invoice issued in English by the seller to the recipient based on the saleMICRO, MACRO EXPORT
TR InvoiceThe invoice issued in Turkish by the seller to the recipient based on the saleMICRO, MACRO EXPORT
Customs Representation CertificateCertificate of authorization issued by the seller regarding the customs procedures once a yearNOT MANDATORY
POA CertificateCertificate of authorization issued by the recipient for foreign customsMICRO (RECIPIENT TYPE B2C)
  • In the event that the purchase type is selected as "it will bring" during the order entry, then the departure point is expected to be selected from the appropriate departure points defined in the system. In respect of the selection "to be received from the address", in the event that the total weight of the order is below 30 kg, then it is required to be transported by Yurtici Kargo. In such , the seller is required to take the products to the nearest Yurtici Kargo branch along with the Yurtici Kargo delivery document.

The barcode label used in Yurtici Kargo operation is as follows;

Horoz Örnek Barcode 10X10

  • In respect of the loads over 30 kg, HOROZ domestic distribution operation unit receives the products from the relevant address based on the departure point information. At this phase, the address information selected from sellerAddressPointList() is expected to be completed in the departure address fields in the order.

  • The products to be added to the order must be performed from the master records of the products defined in the HOROZ system by using the createProduct() method. The products that are not defined in the HOROZ system (main definitions of the component products such as Wardrobe) will receive an error warning during the order registration phase. The container and good quantity within the order is among the information to be included in the ETGB, and the container quantity should indicate the part to be transported physically, while the goods quantity should refer to the product quantity sold subject to the invoice.

  • In respect of the B2C sales regarding the micro exports, the POA document is one of the documents that is required to be signed by the recipient and to be sent by the seller. The Customs Representation Certificate is a document that is required to be included in the micro exports and to be submitted annually. This document will be received in the contract to be executed by and between HOROZ and the seller at the beginning of the process.

  • The representation certificate is not a document expected to be sent through FTP. When I Want Customs Service is selected during the Macro export selection, ATR and bill of lading documents will be issued to the seller.


POST createRoadOrder()

Parameter Descriptions & Rules

Aşağıdaki tabloda createRoadOrder() işleminin giriş ve çıkış parametreleri ve bu parametrelerin tür ve formatları listelenmiştir.

PARAMETERDESCRIPTIONDATA TYPELENGTHFIELD LOCATIONREQUIRMENT
processKeyprocessKey information defined for the clientstring100HeaderMandatory
customerOrderNumberCustomer order numberstring50inBody RequestMandatory
isFreeSenderInfoCan the sending information be entered freely?Enum50inBody RequestMandatory
outletLocationIdDeparture point Id (based on receptionType and isFreeSenderInfo)Integer-inBody RequestMandatory
senderTitleSender title (If isFreeSenderInfo = Yes and receptionType = receivedFromAddress)string100inBody RequestMandatory
senderCountryNameSender country name (If isFreeSenderInfo = Yes and receptionType = receivedFromAddress)string100inBody RequestMandatory
senderStateNameSender state name (If isFreeSenderInfo = Yes and receptionType = receivedFromAddress)string100inBody RequestMandatory
senderCityNameSender city name (If isFreeSenderInfo = Yes and receptionType = receivedFromAddress)string100inBody RequestMandatory
senderCountyNameSender county name (If isFreeSenderInfo = Yes and receptionType = receivedFromAddress)string100inBody RequestMandatory
senderAddressSender address (If isFreeSenderInfo = Yes and receptionType = receivedFromAddress)string500inBody RequestMandatory
senderPostCodeSender post code (If isFreeSenderInfo = Yes and receptionType = receivedFromAddress)string20inBody RequestMandatory
senderOfficialPersonSender official person (If isFreeSenderInfo = Yes and receptionType = receivedFromAddress)string100inBody RequestMandatory
senderPhone1Sender phone 1 (If isFreeSenderInfo = Yes and receptionType = receivedFromAddress)string20inBody RequestMandatory
senderPhone2Sender phone 2 (If isFreeSenderInfo = Yes and receptionType = receivedFromAddress)string20inBody RequestMandatory
senderEmailSender e-mail (If isFreeSenderInfo = Yes and receptionType = receivedFromAddress)string200inBody RequestMandatory
destinationLocationDestination location (must be used in case of shipping to Horoz / Seller warehouses)string30inBody RequestOptional
recipientTitleRecipient titlestring100inBody RequestMandatory
recipientTypeRecipient typestring100inBody RequestMandatory
recipientCountryNameRecipient country name (based on destinationLocation)string100inBody RequestMandatory
recipientStateNameRecipient state name (based on destinationLocation)string100inBody RequestMandatory
recipientCityNameRecipient city name (based on destinationLocation)string100inBody RequestMandatory
recipientFloorRecipient floor (based on destinationLocation)Integer-inBody RequestOptional
recipientApartmentRecipient apartment (based on destinationLocation)Integer-inBody RequestOptional
recipientAddressRecipient address (based on destinationLocation)string500inBody RequestMandatory
recipientPostCodeRecipient post code (based on destinationLocation)string20inBody RequestMandatory
recipientOfficialPersonRecipient official person (based on destinationLocation)string100inBody RequestMandatory
recipientPhone1Recipient phone 1 (based on destinationLocation)string20inBody RequestMandatory
recipientPhone2Recipient phone 2 (based on destinationLocation)string20inBody RequestMandatory
recipientEmailRecipient e-mail (based on destinationLocation)string200inBody RequestMandatory
totalQuantityTotal quantity (Total quantity)Integer-inBody RequestMandatory
totalDesiTotal desiFloat-inBody RequestMandatory
totalWeightTotal weightFloat-inBody RequestMandatory
chargeableWeightChargeable weight (The larger value in case of comparing weight with desi)Float-inBody RequestMandatory
totalContainerTotal container quantity (Number of parts that appear to be subject to physical transportation to be barcoded)Integer-inBody RequestMandatory
orderNotesOrder notestring1000inBody RequestOptional
deliveryPersonDelivery personstring20inBody RequestOptional
shippingTypeShipping typeEnum100inBody RequestMandatory
deliveryMethodDelivery typeEnum100inBody RequestMandatory
recordTypeRecord typeEnum100inBody RequestMandatory
receptionTypeReception typeEnum100inBody RequestMandatory
invoiceNumberInvoice numberEnum100inBody RequestMandatory
invoiceDateInvoice dateDate-inBody RequestMandatory
invoiceAmountInvoice amountFloat-inBody RequestMandatory
invoiceCurrencyUnitInvoice currencystring5inBody RequestMandatory
exportTypeExport typeEnum100inBody RequestMandatory
paymentMethodPayment methodEnum100inBody RequestMandatory
isAtrIs ATR? (based on micro export selection)Enum100inBody RequestMandatory
isInsuredIs insured?Enum100inBody RequestMandatory
isYdgForeign customs clearanceEnum100inBody RequestMandatory
isCustomServiceCustoms Service (based on macro export selection)Enum100inBody RequestMandatory
orderDetailSOrder detailArray-inBody Request-------
productCodeProduct codestring50inBody RequestMandatory
productNameProduct namestring100inBody RequestMandatory
quantityProduct sales quantityInteger-inBody RequestMandatory
containerPiecesNumber of containersInteger-inBody RequestMandatory

Detailed information is given below for the expected enum values in the createRoadOrder method.

ENUM FIELDFIELD NAMEDESCRIPTION
isFreeSenderInfoId the sender information free?Whether the sender information within the request can be entered freely, or not, can be set based on the yes/no selection.
shippingTypeShipping typeThe shipping type may be reported by entering the appropriate value for the order from one of the values of economic and express.(economic : economy, express : express)
deliveryMethodDelivery methodThe delivery method may be reported by entering the appropriate value for the order from one of the values of curbFront, deliveryToFloor and deliveryToFloorAndAssembly. (curbFront : curb front delivery, deliveryToFloor : delivery to the floor, deliveryToFloorAndAssembly : delivery to the floor and assembly)
recordTypeRecord typeThe record type may be reported by entering the appropriate value for the order from one of the values of direct and partial. (direct : direct, partial : partial)
receptionTypeReception typeThe reception type may be reported by entering the appropriate value for the order from one of the values of receivedFromAddress and itWillBring. (receivedFromAddress : to be received from the address, itWillBring : s/he/it will bring)
paymentMethodPayment methodThe payment method may be reported by entering the appropriate value for the order from one of the values of advance and free. (advance: advance, free : free)
İsAtrIs ATR ?The appropriate ATR status for the order may be reported by entering one of the values of yes and no. It is active in the micro export type.
isYdgIs it foreign customs clearance ?The appropriate YDG status for the order may be reported by entering one of the values of yes and no.
isInsuredIs insured ?Whether it is insured for the order, or not, may be reported by entering one of the values of yes and no.
exportTypeExport typeThe export type status for the order may be reported by entering one of the values of macro and micro. (macro : macro, micro : micro”)
isCustomServiceIs there customs service ?The appropriate customService status for the order may be reported by entering one of the values of yes and no.It is active in the macro export type.

Service Responses

You can access the successful/unsuccessful service responses here.