Port notifications - Overview
Port notifications (Havenmeldingen in Shipment) are documentation notifications for the port. For Dutch seaports, Shipment sends them to Portbase, the port community system. For Belgian ports, Shipment sends the export notification to e-Balie. Messages you send through the API go to the ImportDossier endpoint and follow the general rules in Payload rules.
Message types
| Message type | Use it for | How it is created |
| Portbase MED | Export documentation notification for Dutch seaports | Not through the API. Shipment creates the MED from a DMS Export declaration. See Port notifications from an export declaration below. |
| Portbase MID | Import documentation notification for Dutch seaports | Through the API, in the array portbaseMidNotifications. See the article Portbase MID. |
| e-Balie export | Export notification for Belgian ports | From a DMS Export declaration (see below), or through the API in the array eBalieExportNotifications. See the article e-Balie export. |
Example
{
"dossierNumber": "ERP_2026_000123",
"portbaseMidNotifications": [
{
"applicationReferenceId": "ERP_2026_000123_MID_1",
"doSubmitWhenValid": true,
"doNotSaveWhenInvalid": true,
"notificationData": { }
}
]
}
Port notifications from an export declaration
When you send a DMS Export declaration with a port as office of exit and sea transport (1) as mode of transport at the border, Shipment can create a port notification from it:
- Portbase MED for a Dutch port. To submit it, the export declaration must contain
bookingReferenceNumber(Booking reference number). - e-Balie export for a Belgian port. To submit it, the export declaration must contain
terminal(Terminal (e-Balie)) instead of the booking reference number.
Both fields are in step 1 of the export declaration. See the article DMS Export.
Whether Shipment creates the notification, and whether it submits it as soon as it is complete, depends on the settings in Shipment. Go to Beheer > Instellingen (Management > Settings) and choose Havenmeldingen > Configuratie (Port notifications > Configuration). The screen Havenmeldingen opties (Port notification options) has a section for Portbase MED and one for e-Balie export, each with two switches:

| Switch | What it does |
| Automatisch aanmaken (Create automatically) | Shipment creates the port notification from the export declaration. |
| Automatisch indienen (Submit automatically) | Shipment submits the port notification as soon as it is complete. For the MED this needs the booking reference number, for e-Balie the terminal. |
References and statuses
| Message type | In the response | Relevant statuses |
| Portbase MED, MID | No reference. The MED has no API response, because Shipment creates it. | 128 to 131 (StatusNotification, TechnicalAcceptance, ReplaceAccepted, DeleteAccepted) [VERIFY: Zonder toelichting geschreven. Klopt het dat Portbase MED en MID geen referentie hebben en dat de statusupdates de codes 128 tot en met 131 gebruiken?] |
| e-Balie export | No reference | [TO DO] |
Every result also contains applicationReferenceId, isSaved, isSubmitted and errors. All statuses are in the article Status list.