Skip to main content

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 need clientRef, the Shipment direction (IMPORT or EXPORT), and a credential with the matching import or export module. Call these with X-Eaze-Client-Ref: NCTS uses a different template list. See NCTS Overview.

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 H1 and H7. Export procedure is B1.
  • A consolidated Manifest Template (consolidated: true) requires exactly one eligible Declaration Template, and that template cannot be H7.
  • 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-H7 template, the import is rejected.
The selected Manifest Template is not replaced automatically when the file headers do not match.

Steps

1

List Manifest Templates

Keep the 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:
The same default behavior, written explicitly:
Select eligible templates yourself:
A template response looks like this:

Statuses and errors

Next: Manifest Import.