> For the complete documentation index, see [llms.txt](https://docs.dataloy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dataloy.com/release-8.1/voyage-management-system/step-by-step-guides/contracts-of-affreightment/maintain-contracts-of-affreightment.md).

# Maintain Contracts of Affreightment

When you have located a Contract of Affreightment, click it and the details will show in a drawer on the right hand side.

* By clicking the secondary actions icon ![](/files/-LzMELRl-5Stcu-0bd9Y), additional actions may be possible.
  * Edit Contract Number
  * Delete

## Main Details

In the Main Details tab, you can specify the details of the contract, such as CoA Date, Company & Business Unit, etc., as well as see an overview of all Contract of Affreightment Lines.

<figure><img src="/files/gtjLKiK73vy1UZoyxBn7" alt=""><figcaption></figcaption></figure>

## Template Voyages

This tab will show you an overview of all template voyages connected to the CoA. Clicking on any of the templates will open up the voyage drawer for the given template.

<figure><img src="/files/Ns6fHMTd6AorlHXjB1hh" alt=""><figcaption></figcaption></figure>

### Create Template Voyage

Clicking the ![](/files/4jqgsHH0g7ciqMSD7n1g) icon will open a modal for creating a new template voyage. Any template voyages created will receive the Company and Business Unit of the CoA, as well as any scheduled voyages created from the template.

## Scheduled Voyages

This tab will show you an overview of all voyages connected to all the template voyages connected to the CoA. Clicking on the Template Reference-number, or the Voyage reference number (if column is shown), will take you directly to the voyage drawer for that specific scheduled voyage.

More details about Scheduled Voyages can be found at [Maintain Template Voyages](/release-8.1/fleet-allocation-and-scheduling/getting-started/budgets/template-voyages/maintain-template-voyages.md#scheduled-voyages-list).


---

# 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://docs.dataloy.com/release-8.1/voyage-management-system/step-by-step-guides/contracts-of-affreightment/maintain-contracts-of-affreightment.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.
