{
"webhookId": 12,
"eventName": "ens_declarations/status_changed",
"deliveryId": "8b4e1f2a-6c97-4d3e-b5a0-2f9c7e1d4b58",
"eventKey": "6e2a8d4c-1b7f-5c3e-8a9d-4f0b6c2e7a19",
"sentAt": "2026-10-09T10:42:17Z",
"recordType": "ens_declarations",
"previousStatus": "sent",
"status": "mrn",
"data": [
{
"id": 700789,
"reference": "ENS2610000789",
"doc_type": "ENS",
"doc_date": "2026-10-09",
"vehicle_code": "16ABC123",
"vehicle_coun": "TR",
"trailer_code": "16DEF456",
"trailer_coun": "TR",
"container": null,
"container_type": null,
"seal_info": null,
"departure_custom_code": "TR160100",
"arrival_custom_code": "FR620001",
"dispatch_country_id": "TR",
"load_place": "BURSA",
"destination_country_id": "GB",
"unload_place": "BIRMINGHAM",
"trans_method": "road",
"roro_operator_code": "DFDS",
"carrier_name": "EXAMPLE TRANSPORT A.S.",
"carrier_address": "LIMAN YOLU NO 4",
"carrier_postcode": "16200",
"carrier_city": "BURSA",
"carrier_country_id": "TR",
"carrier_taxno": "1122334455",
"carrier_eori_code": "TR1122334455",
"status": "mrn",
"ens_status": "mrn",
"api_notes": null,
"transit_countries_codes": "FR,GB",
"ics_type": "ics2",
"lrn": "ENSLRN26000789",
"mrn": "26FR62000000078912",
"mrn_date": "2026-10-09T13:41:05.000+03:00",
"position_no": "EXP-2026-1190",
"remote_ref": null,
"notes": null,
"ens_reference": "ENS-2026-0789",
"ens_filing_type": "SINGLE",
"voyage_reference": null,
"manifesto_price": "25.0",
"manifesto_curr": "EUR",
"aeo_price": 0,
"entry_fee": 0,
"invoice_status": "pending",
"entry_account_id": 689,
"goods": [
{
"line_no": 1,
"gtip_code": "870829",
"commodity": "VEHICLE BODY PARTS",
"brut_wg": 12500.0,
"net_wg": 11800.0,
"invoice_amount": "48500.0",
"invoice_curr": "EUR",
"exp_customs_type": null,
"exp_customs_partial": null,
"exp_customs_no": null,
"manifesto_type": null,
"dep_country_id": null,
"arv_country_id": null,
"container_no": null,
"container_type": null,
"sender_taxno": "1234567890",
"sender_name": "EXAMPLE AUTO PARTS A.S.",
"sender_address": "ORGANIZE SANAYI BOLGESI 5. CADDE NO 12",
"sender_postcode": "16140",
"sender_city": "BURSA",
"sender_country_id": "TR",
"sender_eori_code": "TR1234567890",
"consignee_taxno": null,
"consignee_name": "EXAMPLE AUTOMOTIVE UK LTD",
"consignee_address": "UNIT 4 TRADE PARK",
"consignee_postcode": "B6 7XX",
"consignee_city": "BIRMINGHAM",
"consignee_country_id": "GB",
"consignee_eori_code": "GB123456789000",
"packs_attributes": [
{
"pack_type": "PX",
"pack_count": "24",
"notes": "AS ADDRESSED"
}
],
"documents_attributes": [
],
"produced_documents_attributes": [
{
"code": "N380",
"reference": "INV-2026-0912",
"reason": null,
"quantity": "0.0",
"scope": "Supporting Document"
}
]
}
]
}
]
}curl --location 'https://your-api-server.com' \
--header 'X-Modaltrans-Signature: sha256=d55e674078099a696aebbcb1c4e0094a938fd7902667c8d06de366bcdfcc2741' \
--header 'X-Modaltrans-Delivery: 8b4e1f2a-6c97-4d3e-b5a0-2f9c7e1d4b58' \
--header 'X-Modaltrans-Event: ens_declarations/status_changed' \
--header 'User-Agent: Modaltrans-Webhook/1.0' \
--header 'X-Api-Key: 3f9c1ab24e7d05b6c8fa1d3e9b470a52' \
--header 'Content-Type: application/json' \
--data '{
"webhookId": 12,
"eventName": "ens_declarations/status_changed",
"deliveryId": "8b4e1f2a-6c97-4d3e-b5a0-2f9c7e1d4b58",
"eventKey": "6e2a8d4c-1b7f-5c3e-8a9d-4f0b6c2e7a19",
"sentAt": "2026-10-09T10:42:17Z",
"recordType": "ens_declarations",
"previousStatus": "sent",
"status": "mrn",
"data": [
{
"id": 700789,
"reference": "ENS2610000789",
"doc_type": "ENS",
"doc_date": "2026-10-09",
"vehicle_code": "16ABC123",
"vehicle_coun": "TR",
"trailer_code": "16DEF456",
"trailer_coun": "TR",
"container": null,
"container_type": null,
"seal_info": null,
"departure_custom_code": "TR160100",
"arrival_custom_code": "FR620001",
"dispatch_country_id": "TR",
"load_place": "BURSA",
"destination_country_id": "GB",
"unload_place": "BIRMINGHAM",
"trans_method": "road",
"roro_operator_code": "DFDS",
"carrier_name": "EXAMPLE TRANSPORT A.S.",
"carrier_address": "LIMAN YOLU NO 4",
"carrier_postcode": "16200",
"carrier_city": "BURSA",
"carrier_country_id": "TR",
"carrier_taxno": "1122334455",
"carrier_eori_code": "TR1122334455",
"status": "mrn",
"ens_status": "mrn",
"api_notes": null,
"transit_countries_codes": "FR,GB",
"ics_type": "ics2",
"lrn": "ENSLRN26000789",
"mrn": "26FR62000000078912",
"mrn_date": "2026-10-09T13:41:05.000+03:00",
"position_no": "EXP-2026-1190",
"remote_ref": null,
"notes": null,
"ens_reference": "ENS-2026-0789",
"ens_filing_type": "SINGLE",
"voyage_reference": null,
"manifesto_price": "25.0",
"manifesto_curr": "EUR",
"aeo_price": 0,
"entry_fee": 0,
"invoice_status": "pending",
"entry_account_id": 689,
"goods": [
{
"line_no": 1,
"gtip_code": "870829",
"commodity": "VEHICLE BODY PARTS",
"brut_wg": 12500.0,
"net_wg": 11800.0,
"invoice_amount": "48500.0",
"invoice_curr": "EUR",
"exp_customs_type": null,
"exp_customs_partial": null,
"exp_customs_no": null,
"manifesto_type": null,
"dep_country_id": null,
"arv_country_id": null,
"container_no": null,
"container_type": null,
"sender_taxno": "1234567890",
"sender_name": "EXAMPLE AUTO PARTS A.S.",
"sender_address": "ORGANIZE SANAYI BOLGESI 5. CADDE NO 12",
"sender_postcode": "16140",
"sender_city": "BURSA",
"sender_country_id": "TR",
"sender_eori_code": "TR1234567890",
"consignee_taxno": null,
"consignee_name": "EXAMPLE AUTOMOTIVE UK LTD",
"consignee_address": "UNIT 4 TRADE PARK",
"consignee_postcode": "B6 7XX",
"consignee_city": "BIRMINGHAM",
"consignee_country_id": "GB",
"consignee_eori_code": "GB123456789000",
"packs_attributes": [
{
"pack_type": "PX",
"pack_count": "24",
"notes": "AS ADDRESSED"
}
],
"documents_attributes": [
],
"produced_documents_attributes": [
{
"code": "N380",
"reference": "INV-2026-0912",
"reason": null,
"quantity": "0.0",
"scope": "Supporting Document"
}
]
}
]
}
]
}'