> For the complete documentation index, see [llms.txt](https://docs.digit.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digit.org/works/reference-implementations/muktasoft-v2.2/deployment/muktasoft-services/statements.md).

# Statements

## Overview

The statements service is used to generate and save the statement. The business logic for both types of statements differs based on the request. Hence, there are 4 APIs (2- Create and 2- Search).

MUKTASoft provides two types of statements: Analysis Statements and Utilization Statements.

**Analysis Statement**

* **Purpose**: Generated for estimates already created and present in the system.
* **Accessibility**: Employees can view the Analysis Statement from the estimate view screen.
* **Linkage**: The statement is linked to the specific estimate for which it is generated.

**Utilization Statement**

* **Purpose**: Generated for measurement books already created and present in the system.
* **Accessibility**: Employees can view the Utilization Statement from the measurement view screen.
* **Linkage**: The statement is linked to the specific measurement for which it is generated.

### Dependency

* DIGIT backbone services
* Persister
* MDMSV2
* IDgen
* Rate Analysis
* Estimate
* Measurement Book
* Contract

### Sequence Diagram

<figure><img src="https://content.gitbook.com/content/Oahp3xBKoPsr1r1NAaNj/blobs/LBNCcORLy9mo7CXOHVwf/Utilization%20Statement.png" alt=""><figcaption><p>Utilization Statement</p></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/Oahp3xBKoPsr1r1NAaNj/blobs/q7jiljElxOMWqTcIIGH4/Analysis%20Statement.png" alt=""><figcaption><p>Analysis Statement</p></figcaption></figure>

##

## API Specifications

<https://raw.githubusercontent.com/egovernments/DIGIT-Specs/works-v2/Domain%20Services/Works/Statement-v1.0.0.yaml>

## DB Diagram

<div align="left"><figure><img src="https://content.gitbook.com/content/Oahp3xBKoPsr1r1NAaNj/blobs/0wIzkDLs18MZN4JDDb4u/statement-db_schema.png" alt="" width="563"><figcaption></figcaption></figure></div>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.digit.org/works/reference-implementations/muktasoft-v2.2/deployment/muktasoft-services/statements.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
