LogoLogo
English
English
  • OVERVIEW
    • Labels in 5 minutes
    • Introduction
    • Authentication
    • Requests and responses form
    • Couriers and services
    • PLT-licensed couriers (paperless)
    • Gsped codes
    • Throttling
    • Non-standard payload
  • Spedizioni e Dintorni
    • Shipment
    • ShipmentsList
    • Shipment by DDT Alpha
    • Shipment By DDT Num
    • Shipment Confirm
    • Shipment Confirm By Ddt Num
    • Pickup (pickup request)
    • POD (proof of delivery)
    • Reprint
    • Reprint By Reference
    • Tracking
    • PUP Managing (pick-up points)
    • Upload Documents
    • Add Parcel
    • CloseDoc
  • Gestione Ordini
    • Orders
    • Order To Shipment
  • Rating
    • Comparative Rate
Powered by GitBook
On this page
  • Document upload for DHL shipments
  • Loadable types and codes of documents
  • Type of loadable files
  1. Spedizioni e Dintorni

Upload Documents

Custom documents upload

This endpoint allows to upload the custom documents, after the creation of shipment and the receiving of the label.

The use of this enpoint needs a preventive talk with a Gsped technician to have a proper activation.

Document upload for DHL shipments

POST https://api.gsped.it/[INSTANCE]/DhlPaperless

Allows the upload after the receiving of the label.

Request Body

Name
Type
Description

id*

Integer

Unique Gsped ID of the shipment

files*

Array

Array of document objects

doc.type*

String

Type of file (see the table)

doc.format*

String

Image format

doc.content*

String

Base 64 of the image

{
    // Response
}
{
  "error": "Il caricamento delle immagini non è supportato per la spedizione non PLT\nImpossibile elaborare la tua richiesta. ID processo associato a questa transazione '430731066'\n"
}
// Example payload

{
    "id": 50000397,
    "files":
    [
        {
            "type": "PNV",
            "format": "PDF",
            "content": "base64 string"
        },
        {
            "type": "DCL",
            "format": "PDF",
            "content": "base 64 string"
        }
    ]
}

Loadable types and codes of documents

Type of document
Acronym

Invoice

INV

Proforma Invoice

PNV

Certificate of Origin

COO

Certificate of Nafta origin

NAF

Commercial Invoice

CIN

Custom Bill

DCL

Waybill document

AWB

Type of loadable files

DHL takes the following file formats:

  • PDF

  • PNG

  • TIFF

  • GIF

  • JPEG

Maximum size of 1 Mb in B64.

PreviousPUP Managing (pick-up points)NextAdd Parcel

Last updated 2 years ago