we have Integrated DHL Shipment with ERP-Next Delivery Note. After submitting the delivery note we can generate the shipping label via DHL API.
The customer information is obtained from the delivery note and we just have to provide the weight of the package.
If you save the document the provided information is send to DHL API which verifies that everything is correct. If this is guaranteed you can submit the document which creates a new shipping at DHL and attaches the corresponding shipping label as PDF.
To achieve this we had to make one necessary change to the Address Doctype. We added one additional field for the House Number which is a necessary information in the DHL API.
We would like to share this feature with the rest of the community and plan to create a pull request. We would like you to provide some feedback.