# Maximum delay

This constraint allows you to define the **maximum permitted delay** beyond the end of a visit’s time window.

The **Delay penalty** constraint must be used at the same time.

**Format:** HH:MM or HH:MM:SS

**Depends on:**

* Opening time
* Closing time
* Penalty per late hour

**Incompatible with:**

* Delay tolerance

**Example**

If a customer’s visit time window ends at **17:00** and the **Maximum delay** is set to **00:10**, the resource is allowed to arrive up to **10 minutes late**, that is, no later than **17:10**.

Any arrival beyond **17:10** will not be accepted, and delays within this limit will be penalized according to the **Penalty per late hour** constraint.


---

# 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://nomadia-docs.gitbook.io/products/solver-constraints/my-deliveries/availability/maximum-delay.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.
