What you can do
Two different templates are involved when you import a Shipment manifest. A Manifest Template describes how columns in your CSV or Excel file map to Eaze Customs fields. You must select one, and it must match the file. A Declaration Template supplies predefined values for the Customs Declarations created from that file. It is optional.Before you start
You needclientRef, the Shipment direction (IMPORT or EXPORT), and a credential with the matching import or export module.
Call these with X-Eaze-Client-Ref:
- List Manifest Templates requires
shipmentType. - List Declaration Templates requires
shipmentType. AddmanifestTemplateIdwhen you want only templates mapped to one Manifest Template.
Selection rules
- Manifest Template selection is required on import.
- Declaration Template selection is optional.
- An explicit Declaration Template must be assigned to the client, active, valid for the Shipment direction, and mapped to the selected Manifest Template.
- Send at most one Declaration Template for each procedure type. Import procedures are
H1andH7. Export procedure isB1. - A consolidated Manifest Template (
consolidated: true) requires exactly one eligible Declaration Template, and that template cannot beH7. - If you omit
declarationTemplateIds, or send[], Eaze Customs uses eligible default Declaration Templates that are mapped to the selected Manifest Template. - Unrelated company defaults are not applied. If no mapped default exists, the file is still imported and the Declarations are created without those predefined template values.
- If a consolidated Manifest Template has no eligible non-
H7template, the import is rejected.
Steps
1
List Manifest Templates
id of the template that matches your file layout. That value is manifestTemplateId.2
List Declaration Templates
isDefault marks a mapped default. Use an id from this list only when you want to select templates yourself.3
Import
Pass the IDs to Import Manifest. See Manifest Import.
Working example
Use mapped defaults. Omit the field:Statuses and errors
Next: Manifest Import.