# Document Type Codes

Automatic document type code assignment is a powerful feature of Dexter that enables businesses to automate the assignment of document type codes to line items based on the documents processed, preference state, and country of origin. This feature saves valuable time and resources by eliminating the need for manual input and ensures compliance with customs regulations.

In addition, document type codes can be assigned in the material master data module to automate special documents, further streamlining the process of document management. With Dexter's highly customizable data extraction feature, businesses can trigger relevant computations depending on the document type code, without the need for manual input from the user.

For example, if the preference state is true, Dexter would automatically add the waybill as proof of direct transport with its extracted date and reference. This ensures compliance with customs regulations and avoids potential fines or penalties.

By automating the process of assigning document type codes, businesses can provide accurate and complete information to customs officials, avoid potential delays or complications, and focus on more value-adding tasks. This feature also provides businesses with greater control over their supply chain and enables them to make more informed decisions regarding their import and export operations.

Overall, Dexter's automatic document type code assignment feature is a vital tool that enables businesses to streamline their operations, save time and resources, and ensure compliance with customs regulations. By automating the process of assigning document type codes, businesses can avoid potential fines or penalties, and focus on more value-adding tasks.

<br>


---

# Agent Instructions: 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:

```
GET https://guide.digicust.com/features/data-enrichment-and-customs-coding/document-type-codes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
