EDI
Configure EDI delivery destinations used when sending inspection pictures to depot systems, shipping lines, email recipients, or custom endpoints.
Access
EDI configuration requires the Admin role (or SysAdmin). Other tenant administrators may see the Admin menu but not the EDI item. Backend /api/v1/tenant-admin/edi endpoints are Admin-only.

What you can do
- Add destinations with protocol, connection fields, terminal scope, and Params
- Name destinations (uppercase
DEST_NAME) for selection in the Send dialog and mobile actions - Scope terminals — one row per terminal, or
ALLfor every terminal - Enable or disable destinations without deleting history
- Test FTP-family connections from the editor
- Search and filter the destination list
Create a destination (walkthrough)
- Open Admin → EDI
- Click Add EDI
- Enter a destination name (stored uppercase, e.g.
DEPOT_FTP) - Choose terminals — pick specific codes or All
- Select a protocol (see table below)
- Fill protocol-specific fields (host, credentials, email addresses, etc.)
- Optionally set Params (INI block) — see EDI Params reference
- Ensure Active is checked, then Save

Document types (MAIL only)
| Value | Meaning |
|---|---|
Attached pictures (PICTURES) | Email includes picture files as attachments |
Picture link (PICTURE_LINK) | Email contains links to pictures instead of attachments |
Protocols and fields
| Protocol | Label | Typical connection fields |
|---|---|---|
LOCAL | Local delivery | Remote directory, filename mask |
EOS | EOS API | Filename mask; Params (PICTURE_DATE_DAYS, etc.) |
MAIL | To, CC, subject, filename mask, optional body; document type | |
FTP | FTP | Host (host or host:port), remote dir, username, password, filename mask |
FTP2 | FTP stream | Same as FTP |
FTPS | FTPS — explicit | Same as FTP |
FTPS2 | FTPS — implicit | Same as FTP |
SFTP | SFTP | Same as FTP; host-key Params in Params reference |
SFTP2 | SFTP stream | Same as SFTP |
API | Maersk AEMS API | API address, client ID, client secret, shop code (sender) |

Authentication summary
| Protocol family | Credentials |
|---|---|
| FTP / FTPS / SFTP | Username + password (password hidden after save; use Show password to re-enter) |
No SMTP password here — outbound mail uses SMTP chain or SMTP_CONFIG_PICTURES in Params | |
| API (AEMS) | OAuth-style client ID and client secret |
| LOCAL / EOS | No network credentials in the standard editor fields |
MAIL-specific options
- Override sender name — use current admin display name + tenant name
- Reply-To — fixed address or current user's mailbox
- Include email body — optional body with
{placeholder}support
Pin a specific SMTP config for this destination only:
SMTP_CONFIG_PICTURES=MY_CONFIG_KEY
See SMTP and EDI Params.
How destinations are used
| Channel | Behaviour |
|---|---|
| Gallery Send | Users pick destinations in Send to Destinations; required fields appear when Params request estimate ID/date/body |
| Auto-send | Terminals, Tags, and Notes can link auto destinations after upload |
| Mobile app | /api/v1/mobile/tags returns actions[] as TERMINAL§DEST_NAME; upload action triggers auto-send |
| Mail ingestion | Mail rules and Code mappings reference destination names |
| Send log | Outcomes appear in the Send log |
Params and placeholders
Advanced behaviour (resize, chunk size, dry-run, SFTP host keys, AEMS filters) is controlled in the Params textarea. Full key list, types, and placeholder reference:
Tips
- Use descriptive destination names (
LINE_PROD,DEPOT_TEST) - Test with
DRY_RUN=1in Params before enabling auto-send on busy terminals - Coordinate credential rotation with IT — update passwords before old ones expire
- For AEMS Gallery behaviour, see AEMS send workflow
See also: SMTP, Code mappings, Send — Destinations