# Splitting Customs Cases

<figure><img src="/files/hQ0carBlNxbqabjmUB1Z" alt=""><figcaption><p>Splitting cases</p></figcaption></figure>

### Create New Customs Cases Per Recipient

#### Setting: `createNewCustomsCasesPerRecipient.active`

When enabled, this setting automatically creates separate customs cases for each unique recipient when multiple invoices with different recipients are present in a case.

#### Behavior

* The system identifies unique recipients across all invoices in the case
* For each additional recipient (after the first):
  * Creates a new customs case
  * Copies relevant documents to the new case:
    * All invoices for that specific recipient
    * Associated export lists for the recipient
    * All non-recipient-dependent documents
  * Appends the recipient name to the case reference
* The original case retains:
  * Documents for the first recipient
  * All non-recipient-dependent documents
  * Updated reference with the first recipient's name

#### Use Cases

* Processing shipments to multiple recipients
* Maintaining separate customs documentation per recipient
* Organizing cases by recipient for better tracking

### Create New Customs Cases As Mentioned In Email

#### Setting: `createNewCustomsCasesAsMentionedInEmail.active`

When enabled, this setting creates separate customs cases based on shipment references mentioned in email documents, particularly when multiple invoices are referenced.

#### Behavior

* The system scans email documents for shipment references and associated invoice numbers
* For each additional reference (after the first):
  * Creates a new customs case
  * Includes invoices matching the reference based on:
    * Invoice number
    * Buyer order number
    * Seller order number
  * Sets the shipment reference as the case reference
* The original case retains:
  * Documents associated with the first reference
  * Updated reference matching the first shipment reference

#### Use Cases

* Processing multiple shipments mentioned in a single email
* Organizing cases by shipment reference
* Handling consolidated shipping documentation

### Important Notes

1. Both settings require multiple invoices to be present in the case to trigger
2. New cases inherit the execution strategy from the original case
3. The system automatically initiates data normalization for newly created cases
4. Processing may take up to 10 minutes per case creation
5. Each new case maintains its own unique reference based on the splitting criteria


---

# 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/splitting-customs-cases.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.
