> For the complete documentation index, see [llms.txt](https://brixxbox.gitbook.io/brixxbox-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://brixxbox.gitbook.io/brixxbox-documentation/client-api-reference/functions/businessbrixx/dhl-shiping/createshipment.md).

# CreateShipment

Creates a DHL Shipping Label.

If shipService is omitted the default value ""V01PAK" will be set.

### Example Usages

```javascript
   let result = await brixxApi.businessBrixx({
      functionName:"DhlShiping",
      methodName: "CreateShipment",
      weightInKG: "4",
      lengthInCM: "20",
      heightInCM: "20",
      widthInCM: "10",
      shipService: "V01PAK",
      recipientEmailAddress: "info@acme.com",
         senderAddress:{
         name1: app.getFieldValue("cordCompanyId.cusName"),
         streetName: app.getFieldValue("cordCompanyId.cusStreet"),
         streetNumber: app.getFieldValue("cordCompanyId.cusStreetNumber"),
         zip: app.getFieldValue("cordCompanyId.cusZip"),
         city: app.getFieldValue("cordCompanyId.cusCity"),
         countryCode: "DE",        
         },
         receiverAddress:{
         name1: app.getFieldValue("cordCustomerId.cusName"),
         streetName: app.getFieldValue("cordCustomerId.cusStreet"),
         streetNumber: app.getFieldValue("cordCustomerId.cusStreetNumber"),
         zip: app.getFieldValue("cordCustomerId.cusZip"),
         city:app.getFieldValue("cordCustomerId.cusCity"),
         countryCode: "DE",
         },
      });
   console.log("Shipment Number: " + result.shipmentNumber)
   window.open(result.labelUrl, "_blank");
```
