EDI Configuration
What this does
EDI configuration lets you define custom EDI fields for a customer. Once defined, those fields appear on that customer's shipping orders, where values can be entered for each order.
EDI (Electronic Data Interchange) fields carry information from a customer's own systems, such as an ERP, through to the shipment. Common examples are pack slip numbers, store or department numbers and partner reference numbers.
Because the fields are defined in configuration rather than built into the order form, each customer can have its own set of fields without any change to Teamship.
EDI values can be:
- Entered by users on the shipping order
- Supplied through the Teamship API when orders are created
- Printed on the Bill of Lading (BOL) using the BOL Configurator
When to use
Use EDI fields when a customer needs extra order-level data that Teamship does not capture by default, for example:
- A trading partner requires a reference number on the BOL
- The customer's system sends order data that must travel with the shipment
- Warehouse staff need a customer-specific reference while fulfilling the order
If the data is about a product rather than an order, use product custom fields instead. → See: Custom Product Attributes
Where EDI fields are configured
EDI fields are configured from the customer profile and from the warehouse edit page.
On the customer profile, EDI configuration is found under the Templates tab, alongside BOL configuration and document templates.
⚠️ EDI fields previously had their own EDI tab on the customer profile. That tab has been replaced by the Templates tab.
Each EDI field has a key that identifies it. The key is used when sending values through the API and when referencing the field in a BOL template, so choose a clear, stable key (for example, PackSlipNumber) and avoid renaming it once orders are using it.
How EDI fields work on shipping orders
Once a customer has EDI fields defined:
- The fields appear on that customer's shipping orders only. Other customers' orders do not show them.
- All of the customer's EDI fields are shown when creating a new order and when saving or editing a draft order, not only after the order is submitted.
- Values are stored against each shipment, so every order can carry different values.
Entering EDI values on an order
- Start a new shipping order (or open a draft) for the customer.
- Fill in the order details as usual.
- Enter values in the customer's EDI fields.
- Save the draft or submit the order.
Sending EDI values through the API
EDI values can be supplied through the Teamship API when orders are created, including draft orders. Values sent this way populate the same fields that users see on the order.
For request formats, refer to the Teamship API documentation.
Using EDI fields on the Bill of Lading
EDI values can be printed on a BOL through the BOL Configurator, at warehouse or customer level.
- Open the BOL Configurator for the warehouse or the customer.
- Select the BOL field you want to fill (for example, Third Party Billing).
- In the Variables panel, open the EDI category and select the EDI field to insert it into the Primary Template. You can add text around it, for example
PS# {{edi.ship.PackSlipNumber}}. - Check the Live Preview, which shows a sample value.
- Save. BOLs created for that customer's orders now show the order's EDI value in that field (for example, PS# PS-123).
Things to know:
- Only EDI fields marked as visible on the BOL are available in the configurator.
- A customer-level BOL mapping takes priority over the warehouse-level mapping.
- A BOL takes a snapshot of its values when it is first created. If an EDI value changes later, use Reset BOL to Shipment Data in the BOL editor to pull in the latest order data. Any manual overrides on the BOL are cleared when you do this.
Roles and permissions
Administrators and warehouse managers
- Define and maintain EDI fields on customers and warehouses
- Map EDI fields into BOL templates
Warehouse users
- Enter or update EDI values on shipping orders
- Print BOLs that include EDI values
Customers
- See and fill in their own EDI fields when creating shipping orders
- Can send EDI values through the Teamship API
Common issues
| Issue | Likely cause |
|---|---|
| EDI fields don't appear on a new order | No EDI fields are defined for that customer, or the order was started for a different customer |
| An EDI field is missing from the BOL Configurator variables | The field is not marked as visible on the BOL |
| BOL shows an old EDI value | The BOL snapshot was taken before the value changed. Use Reset BOL to Shipment Data. |
| BOL field is blank where an EDI value was expected | The order has no value for that EDI field, or the template key doesn't match the field key exactly |
| API orders arrive without EDI values | The keys sent don't match the keys defined for the customer |
| Can't find the EDI tab on the customer profile | EDI configuration has moved to the Templates tab |