Webhook Response Variables
Introduction
This page describes the webhook fields returned by the Stratech Customs API. Several fields in the webhook payload are returned as numeric values (integers). The tables below provide the corresponding enum definitions, allowing you to translate these values into meaningful statuses and declaration types.
The following reference tables are available:
- DeclarationType: Identifies the customs process or declaration type related to the message.
- SubmissionType: Identifies the specific customs, transit, excise, or logistics message that was submitted.
- Status: Indicates the current processing status of the declaration or message.
Example
}
"ApplicationReferenceId": "Test_1790935911",
"DossierNumber": "Test_1790935911",
"Status": 3,
"SubmissionType": 8,
"DeclarationType": 2,
"Frn": "261002-1004556",
"Mrn": "26NL100210115472E5",
"Arc": null,
"ConsignmentId": null,
"StatusChangeTime": "2026-10-02T10:11:58+00:00"
}
This webhook response translates to:
- Status =
3→ Cleared - SubmissionType =
8→ IE515 - Export Declaration - DeclarationType =
2→ DmsExport
Use the reference tables below to convert webhook values into their corresponding descriptions.
Status Updates
Customers should determine which status updates are relevant to their business process and only trigger actions for those events.
The webhook can generate many status updates during the lifecycle of a declaration.
Most of these updates are informational or technical and do not require any customer action.
Typically, only a limited number of business-critical status updates are relevant.
We recommend receiving all webhook status updates for monitoring and audit purposes, but only triggering business actions for the status updates that are relevant to your operational process.
This reduces unnecessary processing while ensuring that critical customs events are handled correctly.
Examples
DMS Export
The following status updates are usually the most relevant:
- ReleaseOfGoods (3) – The goods have been released by customs for export.
- Cleared (28) – Customs has confirmed that the goods have exited the European Union and the export process has been completed successfully.
In many export processes, the business flow primarily depends on customs acceptance and confirmation that the goods have left the customs territory.
DMS Import
The following updates are typically the most relevant:
- ReleaseOfGoods (4) – Goods released (IE429)
- FinalTax (36) – Final duty and tax assessment (NLTAX)
- PreliminaryTax (37) – Preliminary duty and tax assessment
- Cleared (3) – Customs clearance completed
NCTS
The following updates are typically the most relevant:
- GoodsReleasedForTransit (65) – Goods fully released for transit
- GoodsPartialReleased (79) – Goods partially released
- GoodsNotReleasedForTransit (66) – Goods not released
- ArrivalNotification (48) – Arrival notification received
- UnloadingPermission (74) – Permission to unload
- Discrepancies (77) – Discrepancies detected
EMCS
The following updates are typically the most relevant:
- EadEsad (86) – e-AD/e-SAD registered
- ChangeOfDestination (93) – Destination changed
- CancellationOfEad (92) – Movement cancelled
- ReportOfReceiptAcceptedAndSatisfactory (94) – Receipt accepted
- ReportOfReceiptRefused (96) – Receipt refused
- NotificationOfAcceptedExportRelease (104) – Related export goods released
Portbase MED / MID
- TechnicalAcceptance (129) – Message technically accepted
- StatusNotification (128) – Portbase status update received
Single Window Provisioning
- Accepted (116) – Declaration accepted
- NotAccepted (7) – Declaration not accepted
DeclarationType
Field type: Integer (int32)
Description: Indicates the type of declaration associated with the message.
| Value | Name |
|---|---|
| 1 | DmsImport |
| 2 | DmsExport |
| 3 | DmsEIDRWarehouse |
| 4 | DmsEidr |
| 5 | TransitDeparture |
| 6 | TransitArrival |
| 7 | DvaDeparture |
| 8 | DvaArrival |
| 9 | TransportDocumentCmr |
| 10 | TransportDocumentAtr |
| 11 | EmcsDeparture |
| 12 | NvwaExport |
| 13 | SwArrivalAtExit |
| 14 | SwProvisioning |
| 15 | EBalieExport |
SubmissionType
Field type: Integer (int32)
Description: Indicates the type of customs, transit, excise, or logistics submission associated with the message.
| Value | Code/Message | Description |
|---|---|---|
| 1 | IE413 | DMS Import - Amendment |
| 2 | IE414 | DMS Import - Invalidation Request |
| 3 | IE415 | DMS Import |
| 4 | IE432 | DMS Import - Presentation Notification |
| 5 | IE511 | DMS Export - Presentation Notification |
| 6 | IE513 | DMS Export - Amendment |
| 7 | IE514 | DMS Export - Invalidation Request |
| 8 | IE515 | DMS Export |
| 9 | IE583 | DMS Export - Information Non Exited Export |
| 10 | CRI | DMS Import - Control Findings Resolution |
| 11 | CRE | DMS Export - Control Findings Resolution |
| 12 | IE415Emergency | DMS Import - Emergency Procedure |
| 13 | IE515Emergency | DMS Export - Emergency Procedure |
| 14 | IE415ZBatch | DMS Import - Supplementary Declaration Batch |
| 15 | IE515XY | DMS Export - Supplementary Declaration |
| 16 | IE015 | DVA Departure |
| 17 | IE013 | DVA Departure - Amendment |
| 18 | IE170 | DVA Departure - Presentation Notification |
| 19 | IE014 | DVA Departure - Invalidation Request |
| 20 | IE007 | DVA Arrival |
| 21 | IE044 | NCTS - Unloading Remarks |
| 22 | IE810 | EMCS - Cancellation |
| 23 | IE813 | EMCS - Change of Destination |
| 24 | IE815 | EMCS - e-AD / e-SAD |
| 25 | IE818 | EMCS - Report of Receipt / Report of Exit |
| 26 | IE819 | EMCS - Alert / Rejection |
| 27 | IE825 | EMCS - Splitting Operation |
| 28 | IE837 | EMCS - Explanation on Delay for Delivery |
| 29 | IE871 | EMCS - Explanation on Reason for Shortage |
| 30 | AAX | Single Window - Arrival At Exit |
| 31 | PRO | Single Window - Provisioning |
| 32 | EBADEC | E-Balie Export |
| 33 | M114 | Portbase MED |
| 34 | M2400 | Portbase MID |
Status
Field type: Integer (int32)
Description: Indicates the current processing status of the declaration, message, transit movement, or excise procedure.
| Value | Status | Customs Flow(s) | Comment |
|---|---|---|---|
| 0 | Unknown | Generic | Status is unknown. |
| 1 | InternallyInProcessing | DMS Import, DMS Export, DVA Departure, DVA Arrival, EMCS, NCTS, Single Window Provisioning | Declaration is being processed internally by Shipment. |
| 2 | ExternallyInProcessing | DMS Import, DMS Export, DVA Departure, DVA Arrival, EMCS, Single Window Provisioning | Declaration has been sent to an external authority and is awaiting processing. |
| 3 | Cleared | DMS Import, DMS Export, DVA Arrival | Customs clearance has been completed successfully. |
| 4 | ReleaseOfGoods | DMS Import, DMS Export | Goods have been released by customs. |
| 5 | ReleaseForEIDR | EIDR | Goods have been released under the EIDR procedure. |
| 6 | Rejected | DVA Departure, DVA Arrival, Generic | Declaration was rejected before acceptance. |
| 7 | NotAccepted | Single Window Provisioning | Declaration was received but not accepted. |
| 8 | ActionRequired | Generic | Manual action is required before processing can continue. |
| 9 | Completed | Generic | Processing has been completed successfully. |
| 10 | Draft | Generic | Declaration has been saved but not submitted or sent. |
| 11 | Invalidated | DMS Export | Declaration has been invalidated. |
| 12 | Deleted | DMS Import, DMS Export, EIDR | Declaration has been deleted. |
| 13 | NoRelease | Goods were not released. | |
| 14 | HandledExternally | DMS Export | Process was completed by an external party. |
| 15 | EmergencyProcedureApplied | Emergency procedure has been applied. | |
| 16 | EmergencyProcedureStarted | DMS Import, DMS Export | Emergency procedure has started. |
| 17 | EmergencyProcedureCleared | Emergency procedure has been completed successfully. | |
| 18 | Planned | DMS Import | Submission has been planned. |
| 19 | InvalidationGranted | DMS Import, DMS Export | Invalidation request has been approved. |
| 20 | Acceptance | DMS Import, DMS Export, DVA Arrival | Declaration has been accepted by customs. |
| 21 | SupplementaryDeclarationOverdue | DMS Import, EIDR | Supplementary declaration is overdue. |
| 22 | ReminderProvidingRequestedDocuments | DMS Import | Reminder to provide requested documents. |
| 23 | FunctionalRejection | DMS Import, DMS Export, DVA Departure, DVA Arrival, EMCS | Declaration failed functional validation rules. |
| 24 | ControlNotificationDocuments | DMS Import, DMS Export, EIDR | Customs selected the declaration for document inspection. |
| 25 | ControlNotificationPhysicalControl | Customs selected the declaration for physical inspection. | |
| 26 | AmmendmentsAcceptance | Amendment has been accepted. | |
| 27 | AlternativeEvidenceRequested | DMS Export | Customs requested alternative evidence. |
| 28 | ExportNotification | DMS Export | Export notification received from customs. |
| 29 | ReminderProvidingAdditionalDocuments | DMS Export | Reminder to provide additional supporting documents. |
| 30 | Amendments | DMS Import, DMS Export | Amendment has been submitted or received. |
| 31 | InsufficientDeferredPayment | DMS Import | Deferred payment account balance is insufficient. |
| 32 | InsufficientDeferredPaymentReminder | DMS Import | Reminder regarding insufficient deferred payment balance. |
| 33 | RequestForInformation | DMS Import, DMS Export | Customs requested additional information. |
| 34 | RegistrationNotification | DMS Import, DVA Departure | Registration notification received. |
| 35 | Received | Generic | Declaration or message has been received. |
| 36 | FinalTax | DMS Import | Final customs duties and taxes calculated. |
| 37 | PreliminaryTax | DMS Import | Preliminary customs duties and taxes calculated. |
| 38 | TechnicalError | DMS Import | Technical processing error occurred. |
| 39 | InternalValidationError | Generic | Internal error. |
| 40 | InternalError | Generic | Internal application error occurred. |
| 41 | MessageSent | Generic | Message sent successfully. |
| 42 | DeliveryFailed | Generic | Delivery of the message to the external system failed. |
| 43 | DeliveryDelayed | Generic | Delivery of the message to the external system has been delayed. |
| 44 | Delivered | Generic | Message delivered successfully. |
| 45 | RequestOfRelease | NCTS | Request for release has been submitted. |
| 46 | Departure | NCTS | Transit movement has departed. |
| 47 | NonArrivedMovementInformation | NCTS | Information received for a non-arrived movement. |
| 48 | ArrivalNotification | NCTS | Arrival notification has been received. |
| 49 | CancellationRequest | NCTS | Cancellation request has been submitted. |
| 50 | UnloadingRemarks | NCTS | Unloading remarks have been submitted. |
| 51 | RequestOfReleaseRejected | NCTS | Release request was rejected. |
| 52 | RequestOfReleaseNotAccepted | NCTS | Release request was not accepted. |
| 53 | ActionUnloadingRemarksRequired | NCTS | Action required regarding unloading remarks. |
| 54 | UnloadingRemarksNotAccepted | NCTS | Unloading remarks were not accepted. |
| 55 | NonArrivedMovementInformationNotAccepted | NCTS | Non-arrival information was not accepted. |
| 56 | DeclarationCancellationRequestNotAccepted | NCTS | Cancellation request was not accepted. |
| 57 | ArrivalAdvice | NCTS | Arrival advice has been received. |
| 58 | ControlDecisionNotification | NCTS | Customs control decision received. |
| 59 | Cancelled | NCTS | Movement or declaration has been cancelled. |
| 60 | CancellationDecisionDenied | NCTS | Cancellation request was denied. |
| 61 | ControlError | NCTS | Error occurred during customs control processing. |
| 62 | MrnAllocated | DMS Import, DMS Export | MRN has been allocated. |
| 63 | WriteOffMovement | NCTS | Transit movement has been written off and closed. |
| 64 | RequestOnNonArrivedMovement | Customs issued a request regarding a non-arrived movement. | |
| 65 | GoodsReleasedForTransit | NCTS | Goods have been fully released for transit. Movement closed (IE025 Release Indicator = 1). |
| 66 | GoodsNotReleasedForTransit | NCTS | Goods have not been released for transit (IE025 Release Indicator = 4). |
| 67 | GoodsReleaseNotification | NCTS | Goods release notification received. |
| 68 | GuaranteeNotValid | NCTS | Transit guarantee is not valid. |
| 69 | DeliverySuccess | Generic | Message was delivered successfully to the external system. |
| 70 | InternalValidationFailed | Generic | Internal validation error. |
| 71 | RequestOfReleaseRequestFailed | Release request processing failed. | |
| 72 | NonArrivedMovementRequestFailed | Non-arrived movement request failed. | |
| 73 | CancellationRequestFailed | Cancellation request failed. | |
| 74 | UnloadingPermission | NCTS | Permission to unload goods has been granted. |
| 75 | UnloadingRemarksRejection | Unloading remarks have been rejected. | |
| 76 | SubmitUnloadingRemarksFailed | Submission of unloading remarks failed. | |
| 77 | Discrepancies | NCTS | Discrepancies were detected during customs processing. |
| 78 | SubmittedInternally | DVA Departure, DVA Arrival, EMCS, Single Window Provisioning | Declaration submitted internally for processing. |
| 79 | GoodsPartialReleased | NCTS | Goods have been partially released (IE025 Release Indicator = 2). |
| 80 | GoodsPartialReleasedMovementClosed | NCTS | Goods have been partially released and movement closed (IE025 Release Indicator = 3). |
| 81 | InCorrection | Declaration is under correction. | |
| 82 | ForwardedIncidentNotificationState | Incident notification has been forwarded. | |
| 83 | AdditionalDocumentsSent | DMS Import, DMS Export, EIDR | Additional documents have been submitted. |
| 84 | ManualArchived | Generic | Declaration was manually archived by the user. |
| 85 | Rejection | EMCS | Official rejection received from the authority. |
| 86 | EadEsad | EMCS | e-AD/e-SAD movement has been created, received, or registered. |
| 87 | ReminderMessageForExciseMovementChangeDestination | EMCS | Reminder issued to submit a change of destination. |
| 88 | ReminderMessageForExciseMovementSendReportOfReceipt | EMCS | Reminder issued to submit a report of receipt. |
| 89 | ReminderMessageForExciseMovementGiveDestinationInformation | Reminder issued to provide destination information. | |
| 90 | NotificationOfDivertedEad | Notification received that the e-AD movement has been diverted. | |
| 91 | InterruptionOfMovement | Excise movement has been interrupted. | |
| 92 | CancellationOfEad | EMCS | e-AD movement has been cancelled. |
| 93 | ChangeOfDestination | EMCS | Destination of the excise movement has been changed. |
| 94 | ReportOfReceiptAcceptedAndSatisfactory | EMCS | Report of receipt accepted without discrepancies. |
| 95 | ReportOfReceiptAcceptedAlthoughUnsatisfactory | EMCS | Report of receipt accepted with discrepancies. |
| 96 | ReportOfReceiptRefused | EMCS | Report of receipt has been refused. |
| 97 | ReportOfReceiptPartiallyRefused | EMCS | Report of receipt has been partially refused. |
| 98 | ReportOfExitAcceptedAndSatisfactory | EMCS | Report of exit accepted without discrepancies. |
| 99 | ReportOfExitAcceptedWithMinorDiscrepanciesDetected | Report of exit accepted with minor discrepancies. | |
| 100 | ReportOfExitRefused | EMCS | Report of exit has been refused. |
| 101 | AlertOrRejectionOfAnEadEsadAlert | EMCS | Alert received regarding an e-AD/e-SAD movement. |
| 102 | AlertOrRejectionOfAnEadEsadRejection | EMCS | e-AD/e-SAD movement has been rejected. |
| 103 | NotificationOfAcceptedExportAcceptance | EMCS | Related export declaration has been accepted by customs. |
| 104 | NotificationOfAcceptedExportRelease | EMCS | Related export goods have been released by customs. |
| 105 | ExportDeclarationInvalidationNotification | EMCS | Related export declaration has been invalidated. |
| 106 | ExplanationOnDelayForDelivery | Explanation submitted for delayed delivery. | |
| 107 | RejectionOfEadForExportImportDataNotFound | e-AD rejected because export/import data could not be found. | |
| 108 | RejectionOfEadForExportEadContentDoesNotMatchImportData | e-AD rejected because export/import data does not match. | |
| 109 | RejectionOfEadForExportNegativeCrossCheckResult | e-AD rejected due to a negative cross-check result. | |
| 110 | RejectionOfEadForExportUnsatisfactoryControlResultAtOfficeOfExport | e-AD rejected because customs control results were unsatisfactory. | |
| 111 | EventReport | Event report received for the excise movement. | |
| 112 | ExplanationOnReasonOfShortage | Explanation submitted for a shortage in the movement. | |
| 113 | ManualClosureResponse | Response received for a manual closure request. | |
| 114 | NegativeAcknowledgementOfXmlReceipt | Generic | XML message was rejected by the receiving system. |
| 115 | NotProcessed | Generic | Message was received but has not been processed. |
| 116 | Accepted | Single Window Provisioning | Declaration has been accepted successfully. |
| 117 | ControlNotificationDocumentCheck | Customs selected the declaration for document inspection. | |
| 118 | ControlNotificationScanControl | Customs selected the declaration for scanner inspection. | |
| 119 | ControlNotificationNotSelectedForInspection | Customs determined that no inspection is required. | |
| 120 | ControlNotificationSealCheck | Customs selected the declaration for seal inspection. | |
| 121 | ControlReleaseNotification | Customs released the declaration after inspection. | |
| 122 | InspectionRequired | NVWA | Inspection is required before processing can continue. |
| 123 | InspectionDocumentUploading | NVWA | Inspection documents are being uploaded or awaited. |
| 124 | InspectionDocumentError | NVWA | Error occurred while processing inspection documents. |
| 125 | InspectionScheduled | NVWA | Inspection has been scheduled. |
| 126 | AdditionalDocumentsRejected | NVWA | Additional documents have been rejected. |
| 127 | Expired | Generic | Declaration or request has expired and can no longer be processed. |
| 128 | StatusNotification | Portbase MED, Portbase MID | Status notification received from Portbase. |
| 129 | TechnicalAcceptance | Portbase MED, Portbase MID | Message was technically accepted by Portbase. |