> 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/works-v1.0/programmes/muktasoft-v2.0/deployment/muktasoft-services/sor-uploader.md).

# SOR Uploader

## Overview

SOR Uploader is a bulk upload service that facilitates the upload of the SOR description at state level and their respective rates at the ULB level.

### Dependency&#x20;

* MDMS-V2
* SOR Description And Rates sheet
* &#x20;Create the Overheads, Type, Variants,UOM first before trigerring the bulk upload API.
* Create the requried excel from the provided excel once the above point is completed.

### Code

[Bulk-Upload](https://github.com/odisha-muktasoft/MUKTA_IMPL/tree/UAT/utilities/bulk-upload)

[ces](https://github.com/egovernments/DIGIT-Works/tree/measurement-ui/utilities/mukta-services)

## Deployment

* [Helm Chart](https://github.com/odisha-muktasoft/DIGIT-DevOps/tree/mukta-1.22-changes/deploy-as-code/helm/charts/digit-works/utilities/bulk-upload)

### Role Action&#x20;

For this api --/bulk-upload/\_bulkUpload , there is no role mapping as such because for the first time upload it will be used by our internal team as no UI is developed for it as of now. But as we are calling mdms-V2 Sor (/mdms-v2/v2/\_create/WORKS-SOR.SOR) and rates(/mdms-v2/v2/\_create/WORKS-SOR.Rates) apis so need roles specific to that.

### Bulk Upload Service Requirements

This service is not developed on a generic level so it requires some human intervention to setup the data in the required format. As the field teams provide us the data  without bifurcating it in State-specific and ULB-specific sheets.

Link to the sheet provied by the field team - <https://docs.google.com/spreadsheets/d/13D54ifHgaIGqGAAkJEjIpqJx3TrJSxr3tcG2kX52JUo/edit#gid=15557893>

Create  and maintain the SOR description sheet and SOR rates sheet separately to incorporate the changes required for the bulk upload service.

Excel sheet to upload SOR Description--\
<https://docs.google.com/spreadsheets/d/1GPTWmUZI_YB_-O-K1VZxfK-96sFGFPTfKkStt19GDQE/edit#gid=0>

The SOR IDs obtained from the bulk upload response for each SOR description above, along with the previously established headers (Overheads, UOM) is required to create the sheet below.

Excel sheet to upload Sor Rates --\
<https://docs.google.com/spreadsheets/d/1bw-_6tm8mx4PiIOBST2caqGPcFgxchL5t03NKh6p7-Q/edit#gid=0>


---

# 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.digit.org/works/works-v1.0/programmes/muktasoft-v2.0/deployment/muktasoft-services/sor-uploader.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.
