What you can do
After a clearance Shipment exists, you import a manifest. Eaze Customs creates one or more Customs Declarations and their goods items. You can list and read those Declarations. You cannot create, change, cancel, or submit a Declaration through the Public API. Customs submission stays in the Eaze Customs portal.Before you start
- An Import Shipment requires the
importmodule. - An Export Shipment requires the
exportmodule. - You need the public Shipment ID from Create Shipment or List Shipments.
Steps
1
Confirm the Shipment
Get Shipment and check
shipmentType and enabledServices. Manifest import is available when clearance is enabled.2
Import the manifest
Follow Manifest & Declaration Templates and Manifest Import. Wait until the Operation status is
succeeded.3
Read the Declarations
Call List Declarations with the Shipment ID. Call Get Declaration with a Declaration ID from that list. Get Declaration adds
businessData and customsOutcome. The list stays a summary.4
Read the goods items
Call List Goods Items with the Declaration ID. Item numbers, commodity codes, weights, and values come from the imported file and any selected Declaration Templates.
shipmentType: EXPORT. There is no Export webhook. Import release and completion webhooks are described in Webhook Events. Configure them in the portal and verify the signature before you use the notification. See Set Up Webhooks and Verify Signatures.
Working example
customsStatus uses the status name, such as CREATED or RELEASED. RELEASED means Customs released the goods. COMPLETED means the declaration process is finished. They are not the same. The full list is on Statuses.
Get Declaration returns the same summary plus businessData and customsOutcome. Amounts are decimal strings. A party that is not on the Declaration is null.
representation is DIRECT, INDIRECT, NONE, or null. customsOutcome.provisionalRelease and provisionalTax are booleans. Export uses the same object. Its offices use export and exit when those values are stored.
Statuses and errors
Documents that Customs or Eaze Customs generates later are listed separately. A release status does not mean a PDF is ready. See Documents.
Next: Manifest & Declaration Templates.