Skip to main content

DHL - The content of element type "ExportDeclaration" must match

Tom Higgs avatar
Written by Tom Higgs
Updated over a month ago

The error message (Error: An Error occurred when creating the shipment. Error: Web Request Error: An XML Error occurred! - Error in parsing request XML: Error: The content of element type "ExportDeclaration" must match ") from DHL occurs due to an issue with the order's product details.

The issue is caused by one of the following:

  • There are no products on the order.

  • One or more of the products on the order are incorrectly set as Packaging.

If one or more of the items are set as Packaging, follow these steps:

  1. Click Orders then Overview.

  2. Find the order.

  3. Click Actions then Details.

  4. Click the Items tab and find the affected item(s).

  5. Click View Product.

  6. Click the Extra Details tab.

  7. Turn off Packaging.

  8. Click Save.

  9. Go back to the Order.

  10. Generate the label again.

Did this answer your question?