When trying to create DHL shipping labels, this error occurs:

Invalid XML: cvc-length-valid: Wert '...' mit Länge = '12' ist nicht Facet-gültig in Bezug auf die Länge '14' für Typ '#AnonType_billingNumberAbstractShipmentType'

In English:

Invalid XML: cvc-length-valid: Value '...' with length = '12' is not facet-valid with respect to length '14' for type '#AnonType_billingNumberAbstractShipmentType'



The participation numbers (German: Teilnahmenummern) and / or the EKP (DHL account number) must be entered correctly into the module configuration. This article explains how to configure these numbers.


The origin address in the section "Configuration -> Sales -> Shipping settings -> Origin" must be set correctly. The allowed origin countries are shown in the documentation. Otherwise, no valid route may be found, and the product code (e.g. V01PAK) will be missing in the request to DHL.


The shipper or receiver data are too long. The DHL webservice allows only up to 35 characters per field for "Name 1" and "Name 2/Company" in the shipper (sender) and receiver (buyer) address. The street name can only be up to 50 characters long.

  • For the shipper fields, check the module configuration.
  • For the receiver fields, edit the address in the Magento order.
  • Make sure there are no forbidden characters present in the fields (e.g. accents or diacritical marks). If in doubt, remove any special characters.


Make sure to use the latest module version.