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
{ "Status": 3,
"SubmissionType": 8,
"DeclarationType": 2
}
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.
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 | Description |
|---|---|---|
| 1 | IE413 | Customs Declaration Amendment |
| 2 | IE414 | Invalidation Request |
| 3 | IE415 | Import Declaration |
| 4 | IE432 | Inbound Presentation Notification |
| 5 | IE511 | Export Presentation Notification |
| 6 | IE513 | Export Declaration Amendment |
| 7 | IE514 | Export Invalidation Request |
| 8 | IE515 | Export Declaration |
| 9 | IE583 | Information Non-Exited Export |
| 10 | CRI | Control Findings Resolution Import |
| 11 | CRE | Control Findings Resolution Export |
| 12 | IE415Emergency | IE415 Emergency |
| 13 | IE515Emergency | IE515 Emergency |
| 14 | IE415ZBatch | Supplementary Declarations Batch |
| 15 | IE515XY | Export Supplementary Declaration |
| 16 | IE015 | DVA Departure Declaration |
| 17 | IE013 | DVA Declaration Amendment |
| 18 | IE170 | DVA Presentation Notification |
| 19 | IE014 | DVA Declaration Invalidation Request |
| 20 | IE007 | DVA Arrival Declaration |
| 21 | IE044 | Unloading Remarks |
| 22 | IE810 | Cancellation |
| 23 | IE813 | Change of Destination |
| 24 | IE815 | e-AD / e-SAD |
| 25 | IE818 | Report of Receipt / Report of Exit |
| 26 | IE819 | Alert or Rejection of an e-AD / e-SAD |
| 27 | IE825 | Splitting Operation |
| 28 | IE837 | Explanation on Delay for Delivery |
| 29 | IE871 | Explanation on Reason for Shortage |
| 30 | AAX | AES Arrival at Exit |
| 31 | PRO | Provisioning |
| 32 | EBADEC | Ebadec |
Status
Field type: Integer (int32)
Description: Indicates the current processing status of the declaration, message, transit movement, or excise procedure.
| Value | Status |
|---|---|
| 0 | Unknown |
| 1 | InternallyInProcessing |
| 2 | ExternallyInProcessing |
| 3 | Cleared |
| 4 | ReleaseOfGoods |
| 5 | ReleaseForEIDR |
| 6 | Rejected |
| 7 | NotAccepted |
| 8 | ActionRequired |
| 9 | Completed |
| 10 | Draft |
| 11 | Invalidated |
| 12 | Deleted |
| 13 | NoRelease |
| 14 | HandledExternally |
| 15 | EmergencyProcedureApplied |
| 16 | EmergencyProcedureStarted |
| 17 | EmergencyProcedureCleared |
| 18 | Planned |
| 19 | InvalidationGranted |
| 20 | Acceptance |
| 21 | SupplementaryDeclarationOverdue |
| 22 | ReminderProvidingRequestedDocuments |
| 23 | FunctionalRejection |
| 24 | ControlNotificationDocuments |
| 25 | ControlNotificationPhysicalControl |
| 26 | AmmendmentsAcceptance |
| 27 | AlternativeEvidenceRequested |
| 28 | ExportNotification |
| 29 | ReminderProvidingAdditionalDocuments |
| 30 | Amendments |
| 31 | InsufficientDeferredPayment |
| 32 | InsufficientDeferredPaymentReminder |
| 33 | RequestForInformation |
| 34 | RegistrationNotification |
| 35 | Received |
| 36 | FinalTax |
| 37 | PreliminaryTax |
| 38 | TechnicalError |
| 39 | InternalValidationError |
| 40 | InternalError |
| 41 | MessageSent |
| 42 | DeliveryFailed |
| 43 | DeliveryDelayed |
| 44 | Delivered |
| 45 | RequestOfRelease |
| 46 | Departure |
| 47 | NonArrivedMovementInformation |
| 48 | ArrivalNotification |
| 49 | CancellationRequest |
| 50 | UnloadingRemarks |
| 51 | RequestOfReleaseRejected |
| 52 | RequestOfReleaseNotAccepted |
| 53 | ActionUnloadingRemarksRequired |
| 54 | UnloadingRemarksNotAccepted |
| 55 | NonArrivedMovementInformationNotAccepted |
| 56 | DeclarationCancellationRequestNotAccepted |
| 57 | ArrivalAdvice |
| 58 | ControlDecisionNotification |
| 59 | Cancelled |
| 60 | CancellationDecisionDenied |
| 61 | ControlError |
| 62 | MrnAllocated |
| 63 | WriteOffMovement |
| 64 | RequestOnNonArrivedMovement |
| 65 | GoodsReleasedForTransit |
| 66 | GoodsNotReleasedForTransit |
| 67 | GoodsReleaseNotification |
| 68 | GuaranteeNotValid |
| 69 | DeliverySuccess |
| 70 | InternalValidationFailed |
| 71 | RequestOfReleaseRequestFailed |
| 72 | NonArrivedMovementRequestFailed |
| 73 | CancellationRequestFailed |
| 74 | UnloadingPermission |
| 75 | UnloadingRemarksRejection |
| 76 | SubmitUnloadingRemarksFailed |
| 77 | Discrepancies |
| 78 | SubmittedInternally |
| 79 | GoodsPartialReleased |
| 80 | GoodsPartialReleasedMovementClosed |
| 81 | InCorrection |
| 82 | ForwardedIncidentNotificationState |
| 83 | AdditionalDocumentsSent |
| 84 | ManualArchived |
| 85 | Rejection |
| 86 | EadEsad |
| 87 | ReminderMessageForExciseMovementChangeDestination |
| 88 | ReminderMessageForExciseMovementSendReportOfReceipt |
| 89 | ReminderMessageForExciseMovementGiveDestinationInformation |
| 90 | NotificationOfDivertedEad |
| 91 | InterruptionOfMovement |
| 92 | CancellationOfEad |
| 93 | ChangeOfDestination |
| 94 | ReportOfReceiptAcceptedAndSatisfactory |
| 95 | ReportOfReceiptAcceptedAlthoughUnsatisfactory |
| 96 | ReportOfReceiptRefused |
| 97 | ReportOfReceiptPartiallyRefused |
| 98 | ReportOfExitAcceptedAndSatisfactory |
| 99 | ReportOfExitAcceptedWithMinorDiscrepanciesDetected |
| 100 | ReportOfExitRefused |
| 101 | AlertOrRejectionOfAnEadEsadAlert |
| 102 | AlertOrRejectionOfAnEadEsadRejection |
| 103 | NotificationOfAcceptedExportAcceptance |
| 104 | NotificationOfAcceptedExportRelease |
| 105 | ExportDeclarationInvalidationNotification |
| 106 | ExplanationOnDelayForDelivery |
| 107 | RejectionOfEadForExportImportDataNotFound |
| 108 | RejectionOfEadForExportEadContentDoesNotMatchImportData |
| 109 | RejectionOfEadForExportNegativeCrossCheckResult |
| 110 | RejectionOfEadForExportUnsatisfactoryControlResultAtOfficeOfExport |
| 111 | EventReport |
| 112 | ExplanationOnReasonOfShortage |
| 113 | ManualClosureResponse |
| 114 | NegativeAcknowledgementOfXmlReceipt |
| 115 | NotProcessed |
| 116 | Accepted |
| 117 | ControlNotificationDocumentCheck |
| 118 | ControlNotificationScanControl |
| 119 | ControlNotificationNotSelectedForInspection |
| 120 | ControlNotificationSealCheck |
| 121 | ControlReleaseNotification |
| 122 | InspectionRequired |
| 123 | InspectionDocumentUploading |
| 124 | InspectionDocumentError |
| 125 | InspectionScheduled |
| 126 | AdditionalDocumentsRejected |
| 127 | Expired |
| 128 | StatusNotification (PortNotifications) |