DHL · Schema
CustomsDocumentBatchResponse
Response of a successful customs document upload.
FreightLogisticsShippingE-CommerceTrackingSupply ChainExpress DeliveryPostal ServicesParcel
Properties
| Name | Type | Description |
|---|---|---|
| batchId | string | Unique identifier for this batch of uploaded customs documents. Provide this value in the ''paperlessCustoms'' service attribute of POST /orders to attach the documents to a shipment. A batchId can on |
| documents | array | The accepted documents of this batch. |
| validationMessages | array | Optional warnings for the batch, for example truncated field values. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/dhl/json-schema/dhl-customs-document-batch-response-schema.json",
"title": "CustomsDocumentBatchResponse",
"description": "Response of a successful customs document upload.",
"x-generated": "2026-11-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/dhl-parcel-de-shipping-post-parcel-germany-v2-openapi.yml#/components/schemas/CustomsDocumentBatchResponse",
"required": [
"batchId"
],
"type": "object",
"properties": {
"batchId": {
"type": "string",
"format": "uuid",
"description": "Unique identifier for this batch of uploaded customs documents. Provide this value in the ''paperlessCustoms'' service attribute of POST /orders to attach the documents to a shipment. A batchId can only be consumed by one shipment."
},
"documents": {
"type": "array",
"description": "The accepted documents of this batch.",
"items": {
"$ref": "#/$defs/CustomsDocumentReference"
}
},
"validationMessages": {
"type": "array",
"description": "Optional warnings for the batch, for example truncated field values.",
"items": {
"$ref": "#/$defs/ValidationMessageItem"
}
}
},
"$defs": {
"CustomsDocumentReference": {
"type": "object",
"properties": {
"documentType": {
"type": "string"
},
"filename": {
"type": "string"
},
"userDefinedReference": {
"type": "string"
}
},
"description": "Reference to a single uploaded customs document."
},
"ValidationMessageItem": {
"type": "object",
"properties": {
"property": {
"type": "string",
"description": "The property that is affected by the validation message."
},
"validationMessage": {
"type": "string",
"description": "The validation message describing the error."
},
"validationState": {
"type": "string",
"description": "The validation state resulting from the error."
}
},
"description": "Representation of a validation message of a shipment container containing the most important information."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/dhl-customs-document-batch-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.