> For the complete documentation index, see [llms.txt](https://kb.bevica.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.bevica.com/documentation/deprecated-features/ehd_warehouse_integration_-retired.md).

# EHD Warehouse Integration

This is a deprecated feature

{% hint style="danger" %}
EHD no longer accept this file format. See [Bevica Warehouse Integration](/documentation/integration/bevica_warehouse_integration.md). See Vision details for the current format accepted by this warehouse.
{% endhint %}

EHD warehouse supports Bevica transmitting csv formatted files with sales order details.

### Warehouse Setup

After creating a record in **Warehouse Integration Setup** (see [Bevica Warehouse Integration](/documentation/integration/bevica_warehouse_integration.md)) for your Bevica Location and Warehouse Supplier EHD, select the **Warehouse Supplier Setup** ribbon option. Here you will enter communication details provided by EHD.

| Field                | Note                                                       |
| -------------------- | ---------------------------------------------------------- |
| Customer Code        | Your customer code (provided by EHD)                       |
| File Delivery Method | EHD currently supports Email                               |
| From Email Address   | Your 'From' email address                                  |
| EDI Email Address    | The 'To' Email address (provided by EHD)                   |
| Outbound FTP Server  | Not required                                               |
| Inbound FTP Server   | Not required                                               |
| Batch No. Series     | The number series used when naming csv files, e.g. EHD0001 |

{% hint style="info" %}
Each email transmitted to EHD contains a file attachment with one order.
{% endhint %}

### Shipping Agents

The EHD file contains a **Dest. Location Ref.** field, Bevica holds this information in the **EHD Location Ref.** field against Shipping Agents. See specification document from EHD, they will be able to provide you with what is required in this field.

### Order Types

EHD require orders to be flagged with a specific **Order Type**, this is done automatically by Bevica from the details held on the Sales Order, for information...

| EHD Order Type Code | EHD Definition                               | Bevica Sales Order                                                                                                          |
| ------------------- | -------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| HU                  | Duty Paid delivery                           | • Duty Status is Duty Paid                                                                                                  |
| OU                  | Other UK Warehouse (Under Bond on W8)        | <p>• Duty Status is Duty Free<br>• Duty Free Movement Type is blank</p>                                                     |
| OE                  | Other EU Warehouse (Under Bond to EU on AAD) | <p>• Duty Status is Duty Free<br>• Duty Free Movement Type is Export<br>• Ship-to Country/Region Code is inside the EU</p>  |
| EX                  | Export (Outside EU on C88)                   | <p>• Duty Status is Duty Free<br>• Duty Free Movement Type is Export<br>• Ship-to Country/Region Code is outside the EU</p> |
| DP                  | Diplomatic Privilege (Duty Free to Embassy)  | <p>• Duty Status is Duty Free<br>• Ship-to Duty Free Movement Type is Diplomatic Privilege.</p>                             |

**Ships Stores** orders are not supported by EHD EDI files and must be arranged manually.

### Delivery Instructions

The EDI file can be populated with delivery instructions from your Sales Order. To do this navigate to the order **Comments** page and create comment lines where the Comment Type is **Delivery Instr. (Sales).** These comments will be added to the order EDI file transmitted EHD. See also [Sales Comments and Notes](/documentation/guides/sales/sales_comments_and_notes.md).

### Order Amendments

Bevica only supports the creation of sales orders to EHD, updates and Deletions must be done manually.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://kb.bevica.com/documentation/deprecated-features/ehd_warehouse_integration_-retired.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
