Skip to content
Back to skills

Dhl Shipping Knowledge Patch

ASecurity

DHL Shipping

  • 25 stars
  • 0 votes
  • 0 copies
  • 14 views
  • Added September 5, 2026
ai-agentsgoexpresstestinggitapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Nevaberry/nevaberry-plugins --skill dhl-shipping-knowledge-patch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dhl Shipping Knowledge Patch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dhl Shipping Knowledge Patch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nevaberry-dhl-shipping-knowledge-patch/badge)](https://www.skillsdirectory.com/skills/nevaberry-dhl-shipping-knowledge-patch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dhl-shipping-knowledge-patch
description: DHL Shipping
version: null
license: MIT
metadata:
  author: Nevaberry
---


# DHL Shipping

Load this skill when implementing or updating DHL shipping integrations for
API access, location discovery, rating, customs, labels, manifests, tracking,
or document images. Use the quick reference below and the topic files for
the full product-specific guidance and request examples.

## Reference index

| Reference | Topics |
| --- | --- |
| [Access and operations](references/access-and-operations.md) | Environments, credentials, quotas, compatibility, schemas, data-use terms |
| [Customs, rating, and dangerous goods](references/customs-rating-and-dangerous-goods.md) | Product selection, rates, delivery estimates, customs fields, invoice totals, reference codes, dangerous goods |
| [Discovery and locations](references/discovery-and-locations.md) | Location queries, service filters, pickup addressing, migration, location-data terms, Reference Data |
| [Shipment, labels, and manifests](references/shipment-labels-and-manifests.md) | Validation, pickup cutoffs, packaging, label output, returns, closeout, cancellation |
| [Tracking and documents](references/tracking-and-documents.md) | Tracking events, webhooks, document images, payer-account lookups, label retrieval and recovery |

## Breaking changes, removals, and deprecations

### Parcel Germany Shipping

Migrate integrations to REST v2. Basic authentication remains available in v2
with portal credentials and an additional `dhl-api-key` header; future major
versions will drop Basic authentication.

Kleinpaket replaced domestic Warenpost on January 1, 2025. Since October 15,
2025, Kleinpaket requests must explicitly set `Consignee.ContactAddress.country`
to an ISO 3166-1 alpha-3 code such as `DEU`; the previous `DEU` default was removed.

Use Paketankündigung for shipment notifications. Versandbestätigung stopped
being supported in 2.1.6 and was removed from value-added services in 2.1.7.
Book Empfängerunterschrift per shipment when a recipient signature is required.

GoGreen ended August 31, 2026, with its old logo due off labels by that date.
The old GoGreen Plus logo was due off labels by September 27, 2026; the
replacement GoGreen Plus claim is optional.

For 2.1.13, refresh generated clients for the corrected `GET /labels` response
type, `GET /manifests` response shape, and `shippingConditions` enum, and the
new `product` enum. `officeOfOrigin` is deprecated.

### MyDHL Express

The Shipment request field `function` was removed in 2.3.1. Shipment can run
data validation without generating a label.

With the `x-version` behavior introduced in 2.12.0, Shipment and Rates return
`pickupCutoffSameDayOutboundProcessing` in place of `GMTCutoffTime`.

Use customs document code `PCH` (Proof of Purchase), which replaced `PPY`
(Proof of Payment) in Shipment and Invoice. Version 3.1.2 removed `MID`,
`DLI`, `GST`, and `SUB` from the documented registration codes for both operations.

### eCommerce Americas and location migration

Read `shipDate` from Product Finder responses; the `rateDate` request field
is deprecated. Select products by product ID and key error and tracking logic
on error codes and event IDs because display names and descriptions can change.
Remove `USISP1` and `USMEM1` from selectable distribution centers.

Location Search Europe has been decommissioned. In Unified Location Finder,
map `zipCode` to `postalCode`, `city` to `addressLocality`, and `street` plus
`houseNo` to the combined `streetAddress` under `place.address`.
The discovery reference contains the remaining field mappings and unmapped fields.

## Access and limits

### eCommerce Americas

Use `https://api-sandbox.dhlecs.com` for tests and `https://api.dhlecs.com`
for production. Sandbox labels and manifests are sandbox-only. Production
setup must account for potentially different accounts, accessible pickups and
distribution centers, API products, and permitted content-category codes.

Spike arrest limits concurrent requests to a single resource; a client-specific
weekly quota limits request volume for a resource or group of resources.
Both return HTTP 429 with distinct detailed error codes; inspect the body.
Clients must tolerate new and reordered response properties within v4.

### MyDHL Express and Unified Location Finder

MyDHL requires credentials for an active Express customer account and preemptive
HTTP Basic authentication. Use `https://express.api.dhl.com/mydhlapi/test` for
testing and `https://express.api.dhl.com/mydhlapi` for production. Test credentials
get 500 service invocations per day per set of credentials.

Location Finder uses GET requests to `https://api.dhl.com/location-finder/v1`
with the approved app's Consumer Key in `DHL-API-Key`. Initial access allows
500 calls per day; exhaustion returns HTTP 429. Request a higher limit through
**My Apps → Request Upgrade** on the app's API listing.

### Parcel Germany Shipping

Exchange the app key and secret and Business Customer Portal username and
password for an access token; send `Authorization: Bearer <token>`.
Use `https://api-sandbox.dhl.com/parcel/de/shipping/v2/` for sandbox and
`https://api-eu.dhl.com/parcel/de/shipping/v2/` for production.
`GET /` returns the version without an access token and leaves protected-operation
credentials untested. Use a system user for production automation.

## Location discovery and direct delivery

Use `/find-by-address` with `countryCode` and at least three characters across
`addressLocality`, `postalCode`, and `streetAddress` combined, or `/find-by-geo`
with `latitude` and `longitude`. Both order results by distance. The default
`radius` is 5,000 meters; the maximum is 1,000,000 meters. Use `limit` to cap results.

For German checkout, use `providerType=parcel`. Repeated `serviceType` parameters
require a match for every requested filter. Query `parcel:pick-up` for shops,
post offices, and Postbank locations, and `parcel:pick-up-registered` for
Packstations in a separate call. Combine results because each German location
offers at most one of those two direct-delivery services.

Offer direct parcel delivery only where the response provides a designated
`location.keywordId`, and supply the recipient's email for pickup notification.
Use `location.ids[].locationId` with its paired `provider` for the location
identifier and `location.keywordId` for the shipment address.

For German Parcel addressing, put `Packstation` or `Postfiliale` in the street
field and `keywordId` in the house-number field; use postcode, city, and country
from `place.address`. Put the recipient's PostNumber in the second name or
additional-address field: required for Packstation, optional for Postfiliale.
In Parcel Germany Shipping v2 requests, use `lockerID` for a Packstation consignee.

## Rating and customs

### eCommerce Americas

Product Finder and Label have separate domestic and international request and
response schemas. Use the schema for the applicable shipment type.
Both accept `packageType` within the optional `dimension` object for billable
weight calculation; use the allowed values in the Package Types reference.

Parcel International Expedited uses `PLX` and excludes dangerous-goods shipments.
For PLT, dangerous-goods categories `01`–`06` and `40` are limited to Canada and
Mexico. Domestic MAX is included for categories `01` and `04`.

International Label supports `additionalPartyAddress` and item-level references
in `customsDetails`. Its `itemReferences` array contains objects; use `typeCode`
`PID` for a Standardized Manufacturer Product Identifier and `MID` for a
Non-Standardized Manufacturer Product Identifier. Only include domestic Label
`customsDetails` for APO, FPO, DPO, or non-continental US shipments.

### MyDHL Express

Product lookup is limited to one-piece shipments. Use Rating to discover account
products and value-added services before passing selections to Shipment.
For Landed Cost, supply shipment values such as freight and insurance and a
manufacturer country code on each line item; commodity codes may be partial or absent.

Include `exportDeclaration` for declarable shipments and at least one of gross
or net weight per declaration line item. Currency and Incoterm are optional for
non-declarable shipments. Shipment and Invoice use `SRV` and `MF` for standardized
and non-standardized manufacturer product IDs from 3.3.1, and `CLN` for Customer
Line Number from 3.2.1.

To use caller-calculated amounts in Shipment or Invoice, supply all four fields:
`preCalculatedTotalGoodsValue`, `preCalculatedTotalInvoiceValue`,
`preCalculatedLineItemTotalValue`, and `totalWithImportDutiesAndTaxes`.

### Parcel Germany Shipping

Provide customs data for each parcel going to a dutiable destination, including
`customs.exportType` where required. UK postcodes beginning with `BT` are exempt.
Match freight currency to all item currencies using ISO 4217. Omitting freight
currency defaults it to EUR; a mismatch prevents label creation.
Europaket (`V54EPAK`) permits only one goods category per parcel, identified by `hsCode`.

## Labels, closeout, and retrieval

In Parcel Germany, create one shipment per physical parcel. Use
`POST /orders?validate=true` to validate before creating a shipment or label.
The response is an array even for one order and preserves request order;
multi-order validation may omit `shipmentRefNo`, so correlate by array position.

Set `mustEncode=true` on `POST /orders` if labels must have encodable addresses.
Without it, an unmatched street can produce a usable label and warning, with
possible surcharges; a routing code ending in six or more zeros indicates this case.

Before closeout, correct a Parcel Germany shipment with `DELETE /orders` and
create a replacement with `POST /orders`. Once manifested, the shipment is locked.
Use `POST /manifests` for explicit closeout. Regular automatic closeout is at
17:45 by default or the portal-configured time; Paket International additionally
closes out at 20:45 for orders created after regular closeout. Manifest these
shipments before physical handover to the international postal operator.

A Parcel Germany public `GET /labels` PDF URL can remain usable for up to
48 hours after manifesting only if downloaded before manifesting. Use
`GET /orders` with the shipment number to retrieve a label for up to three days
after manifesting. Expired public URLs can return HTTP 500.

In MyDHL, use Add Piece before pickup or scanning. Request `linkLabelsByPieces`
as a `getAdditionalInformation` type code to link piece references to labels or
waybill images. Shipment supports label-free returns and, from 3.3.0, a fallback
where label-free service is unavailable at the location.

For MyDHL Tracking event remarks, use `trackingView=all-check-with-remarks`.
Remarks are available at shipment and piece level. Protected fields use an
array of controlled-access data codes and are subject to authorization and masking.

Files in this skill

  • SKILL.md9.6 KB
  • coverage.json672 B
  • references/access-and-operations.md7.4 KB
  • references/customs-rating-and-dangerous-goods.md5.8 KB
  • references/discovery-and-locations.md6.3 KB
  • references/shipment-labels-and-manifests.md6.5 KB
  • references/tracking-and-documents.md2.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.