> For the complete documentation index, see [llms.txt](https://apis.rightrev.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apis.rightrev.com/rightrev-rest-api/transactions-ingestion/transaction-ingestion-order-invoices-events-and-bulk-uploads/orders-invoices-events-transaction-ingestion-via-csv-file.md).

# Orders/Invoices/Events Transaction Ingestion via CSV file

This API is to upload and collect Orders, Invoices & Events data in CSV file format

Method - POST

API End Point

```
/apis/oingest/v1/csv-upload
```

Query Parameters&#x20;

<table><thead><tr><th width="160.11114501953125">Key</th><th width="582.22216796875">Values</th></tr></thead><tbody><tr><td>1. file<br>2. date_format<br>3. file_policy_type<br>4. upload_type</td><td>1. CSV file to be uploaded<br>2. %m/%d/%y<br>3. orders, invoices, events<br>4. MANUAL or API </td></tr></tbody></table>

Description of the query parameters

<table><thead><tr><th width="155">Fields</th><th width="740">Description</th></tr></thead><tbody><tr><td>file</td><td>CSV file to be uploaded </td></tr><tr><td>date_format</td><td>Date format in the CSV file. For e.g. %m%d%y</td></tr><tr><td>file_policy_type</td><td>Supported values in Policy type are -  orders, invoices or events</td></tr><tr><td>upload _type</td><td>Indicates the source of the upload, such as <strong>MANUAL</strong> for user-initiated uploads or <strong>API</strong> for uploads triggered through an API call. This is an optional field. This field defaults to <strong>MANUAL</strong>. Specify <strong>API</strong> to identify the upload as an API-triggered upload.</td></tr></tbody></table>

**Sample API End Point ( Orders )**&#x20;

<div data-with-frame="true"><figure><img src="https://3364757261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F193S0RVwbPrcp6u9CoPJ%2Fuploads%2FwpJcQsJnohZqNJelc4Qa%2Fimage.png?alt=media&amp;token=9d866c04-bae8-4e8f-8c1b-72f627f151f5" alt=""><figcaption></figcaption></figure></div>

**Response**

```
"{
    ""file_id"": ""5443ecb1-980c-4044-aacc-a412c984a814"",
    ""message"": ""File successfully uploaded""
}"

```


---

# 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://apis.rightrev.com/rightrev-rest-api/transactions-ingestion/transaction-ingestion-order-invoices-events-and-bulk-uploads/orders-invoices-events-transaction-ingestion-via-csv-file.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.
