Event payload structure
Every webhook delivery contains a JSON object with the following top-level fields:Declaration events
These events trigger during the customs lifecycle of a declaration.declaration.created
Occurs when you successfully create a new declaration.
Payload fields
Example payload
declaration.status_updated
Occurs when the customs status of a declaration is updated.
Payload fields
Declaration status codes
Thestatus field contains one of the following values:
new— The declaration has just been created.readyToDeclare— The data is complete and ready to declare.prelodged— The advance declaration has been submitted.registered— The declaration has been registered with customs.presentation— The presentation notification has been sent.acknowledged— The declaration has been legally accepted.control— The declaration is under document or physical control.invalid— The declaration is invalid.blocked— The declaration has technical errors.released— The goods have been cleared by customs.norelease— The goods are not cleared.finalTaxNotice— The final customs tax decision is issued.completed— The customs process is finalized.canceled— The declaration is canceled.