For the complete documentation index, see llms.txt. This page is also available as Markdown.

Manual Journals

Get Manual Journal List

get
/apis/mje/v1/batches

To retrieve the list of all Manual Journal Batches created in the system.

Path parameters
pagestringOptional

This is optional field. Page represents page number of the policy list.

page_sizestringOptional

This is optional field. Page size represents how many records available on each page.

Responses
200

Get Manual Journal Runs

application/json
total_recordsintegerRequired

This will display count of total Manual Journal records

get/apis/mje/v1/batches
GET /apis/mje/v1/batches HTTP/1.1
Host: {realm}.{env}.rightrev.cloud/
Accept: */*
200

Get Manual Journal Runs

{
  "batches": [
    {
      "approved_hold_id": null,
      "batch_name": "MJE-std",
      "created_at": 1749194928,
      "created_by": "user@rightrev.com",
      "created_period": "Apr-2021",
      "date_format": null,
      "file_format": "csv",
      "file_id": "b9307a7d-8f03-4cbe-b9b7-c1b3c189bd81",
      "file_location": null,
      "file_name": "MJE_Std_April 2021.csv",
      "file_size": 330,
      "functional_currency": "USD",
      "legal_entity": "LE_02",
      "mje_id": "MJE-BATCH-1",
      "mje_type": "Standard",
      "rc_action_at": null,
      "rc_action_by": null,
      "rc_id": "MJE-1",
      "rc_initiated_at": null,
      "rc_initiated_by": null,
      "reject_event_id": null,
      "reject_hold_id": null,
      "status": "mje_rc_created",
      "tenant_id": "tenant_ID",
      "total_rows_failed": null,
      "total_rows_processed": 1,
      "total_rows_received": 1,
      "user_comments": null
    }
  ],
  "total_records": 1
}

Get Manual Journal Action

get
/apis/mje/v1/batches/{action}

This API is used to retrieve of MJE Batch ID details.

Path parameters
actionstringRequired

Provide MJE Batch ID in action field.

Responses
200

get all mje details.

application/json
approved_hold_idnullRequired

ID of the approval hold applied to this MJE

batch_namestringRequired

Name of the MJE Batch

created_atintegerRequired

Timestamp of the policy created by the user. This is a unix Epoch timestamp format.

created_bystringRequired

ID of the user who created the policy. Example: username@rightrev.com

created_periodstringRequired

Name of the period in which MJE is created.

date_formatnullRequired

Format used for dates in the uploaded file. For e.g. MM/DD/YYYY

file_formatstringRequired

Format of the uploaded file (e.g., CSV, XLSX).

file_idstringRequired

System-generated ID of the uploaded file.

file_locationnullRequired

Storage path where the file is stored. Value will be null

file_namestringRequired

Name of the uploaded file.

file_sizeintegerRequired

Size of the file in bytes.

functional_currencystringRequired

Currency codes used for the MJE amounts.

legal_entitystringRequired

Legal entity associated with the MJE.

mje_idstringRequired

System-generated unique MJE batch identifier.

mje_typestringRequired

Type of MJE (e.g., Standard or Waterfall).

rc_action_atnullRequired

Timestamp when the reviewer took an action. Value will be null

rc_action_bynullRequired

ID of the User who performed the reviewer action. Value will be null

rc_idstringRequired

Revenue Contract ID of the MJE

rc_initiated_atnullRequired

Timestamp when the RC initiated. Value will be null

rc_initiated_bynullRequired

ID of the User who initiated action. Value will be null

reject_event_idnullRequired

ID for rejection event (if MJE was rejected).

reject_hold_idnullRequired

Hold ID applied during rejection

statusstringRequired

Current status of the MJE workflow. For e.g. File uploaded or MJE Approved

tenant_idstringRequired

Tenant/environment identifier.

total_rows_failednullRequired

Number of rows in the uploaded file that failed validation.

total_rows_processedintegerRequired

Number of rows in the uploaded file that processed successfully.

total_rows_receivedintegerRequired

Total number of rows uploaded in the file.

user_commentsnullRequired

Comments provided by the user for this MJE.

get/apis/mje/v1/batches/{action}
GET /apis/mje/v1/batches/{action} HTTP/1.1
Host: {realm}.{env}.rightrev.cloud/
Accept: */*
200

get all mje details.

{
  "approved_hold_id": null,
  "batch_name": "MJE-std",
  "created_at": 1749194928,
  "created_by": "manikranth@rightrev.com",
  "created_period": "Apr-2021",
  "date_format": null,
  "file_format": "csv",
  "file_id": "b9307a7d-8f03-4cbe-b9b7-c1b3c189bd81",
  "file_location": null,
  "file_name": "Snow_Ing_template - MJE_Std (29).csv",
  "file_size": 330,
  "functional_currency": "USD",
  "legal_entity": "LE_02",
  "mje_id": "MJE-BATCH-1",
  "mje_type": "Standard",
  "rc_action_at": null,
  "rc_action_by": null,
  "rc_id": "MJE-1",
  "rc_initiated_at": null,
  "rc_initiated_by": null,
  "reject_event_id": null,
  "reject_hold_id": null,
  "status": "mje_rc_created",
  "tenant_id": "test-rrapi-qa",
  "total_rows_failed": null,
  "total_rows_processed": 1,
  "total_rows_received": 1,
  "user_comments": null
}

Manual Journal Template

get
/apis/mje/v1/{mje_type}/template

This API is used to download the Standard Templates of Standard Or Waterfall Manual Journal.

Path parameters
mje_typestringRequired

User need to provide the Manual Journal Type they want to download. Supported values are standard or waterfall. The standard templates are attached below.

Responses
200

Get Journal Template - In Raw text, columns seperated by commas

get/apis/mje/v1/{mje_type}/template
GET /apis/mje/v1/{mje_type}/template HTTP/1.1
Host: {realm}.{env}.rightrev.cloud/
Accept: */*
200

Get Journal Template - In Raw text, columns seperated by commas

Manual Journal Download

get
/apis/mje/v1/batches/{file_id}/download

This API is used to download the uploaded Manual journal file.

Path parameters
file_idstringRequired

A system generated alpha-numeric number at the time of uploading file.

Responses
200

Manual Journal Download

application/json
string · binaryOptional
get/apis/mje/v1/batches/{file_id}/download
GET /apis/mje/v1/batches/{file_id}/download HTTP/1.1
Host: {realm}.{env}.rightrev.cloud/
Accept: */*
200

Manual Journal Download

{}

Post Manual Journal Action

post
/apis/mje/v1/batches/{action}

This API is used to create Manual Journal through csv file upload.

Body
filefile · binaryRequired

The CSV file to be uploaded to the system. Refer a [Sample CSV File] TODO

batch_nametext · stringRequired

Name of the Manual Journal Batch.

date_formattext · %m/%d/%YOptional

Date format of Manual Journal.

legal_entitytext · stringRequired

Legal Entity in which user is creating Manual Journal

mje_typetext · stringRequired

Type of the Manual Journal. Either STANDARD or WATERFALL.

functional_currencytext · stringRequired

Functional Currency of the Manual Journal.

Responses
200

post mje

application/json
file_idstringRequired

A system generated alpha-numeric number.

messagestringRequired

A message generated on csv file upload.

post/apis/mje/v1/batches/{action}
POST /apis/mje/v1/batches/{action} HTTP/1.1
Host: {realm}.{env}.rightrev.cloud/
Content-Type: multipart/form-data
Accept: */*
Content-Length: 113

{
  "file": null,
  "batch_name": null,
  "date_format": null,
  "legal_entity": null,
  "mje_type": null,
  "functional_currency": null
}
200

post mje

{
  "file_id": "47df6c20-d400-4d7c-b325-c9d73f1ce7c0",
  "message": "File successfully uploaded"
}

Manual Journal Approve Reject

put
/apis/mje/v1/batches/{mje_id}/{action}

This API is used to Approve or Reject the manual journal.

Path parameters
mje_idstringRequired

Manual Journal ID.

actionstringRequired

Supported actions are approve or reject.

Body
user_namestringRequired

ID of the user who is approving or rejecting the Manual Journal.

user_commentsstringRequired

Any comments added by the user at the time of approve or reject Manual Journal.

Responses
200

This API is used to Approve or Reject the manual journal.

application/json
current_timestampstringRequired

Timestamp of the approve or reject action initiated by the user. This is a unix Epoch timestamp format.

user_namestringRequired

ID of the user. This action will be done at engine side. So , ID of the user will always be RIGHTREV.

put/apis/mje/v1/batches/{mje_id}/{action}
PUT /apis/mje/v1/batches/{mje_id}/{action} HTTP/1.1
Host: {realm}.{env}.rightrev.cloud/
Content-Type: application/json
Accept: */*
Content-Length: 65

{
  "user_name": "user@rightrev.com",
  "user_comments": "Approve batch"
}
200

This API is used to Approve or Reject the manual journal.

{
  "current_timestamp": "2026-02-03",
  "hold_details": [
    {
      "applied_by": "",
      "applied_on": "",
      "hold_activity": "RELEASE",
      "hold_name": "Manual Journals - Approval",
      "hold_type": "transfer",
      "message": "MJE batch Approve / Reject action initiated successfully",
      "mje_id": "MJE-BATCH-12",
      "released_by": "raviteja.d@rightrev.com",
      "released_on": "2026-02-03 15:44:05.889",
      "revenue_contract_id": "MJE-7",
      "user_comments": "MJE release hold on MJE-7"
    }
  ],
  "user_name": "RIGHTREV"
}

Get Supporting Docs List

get
/apis/supporting_doc/v1/lov/{doc_type}/{doc_id}
  • This API is to retrieve the file details of supporting document uploaded in Revenue Contract or Manual journal Entry.

Path parameters
doc_typestringRequired

This is the type of document. User can provide RC or MJE to fetch the supporting document details.

doc_idstringRequired

This is number of revenue contract or manual journal entry.

Responses
200

Get Supporting document list

application/json
file_namestringRequired

Name and type of the file uploaded as supporting document.

file_sizenumberRequired

Size of the supporting document file uploaded.

last_modifiedstringRequired

Timestamp of the policy last modified on. This is a unix Epoch timestamp format.

user_namestringRequired

Name of the user who uploaded supporting document file.

doc_typestringRequired

Type of the document uploaded for. Is it supporting document for RC or MJE.

doc_idstringRequired

Revenue contract or MJE number.

get/apis/supporting_doc/v1/lov/{doc_type}/{doc_id}
GET /apis/supporting_doc/v1/lov/{doc_type}/{doc_id} HTTP/1.1
Host: {realm}.{env}.rightrev.cloud/
Accept: */*
200

Get Supporting document list

[
  {
    "file_name": "supporting_doc.md",
    "file_size": 0.0068359375,
    "last_modified": "2026-04-15T21:03:43+00:00",
    "user_name": "username@rightrev.com",
    "doc_type": "RC",
    "doc_id": "RC-134"
  }
]

Upload Supporting Doc

post
/apis/supporting_doc/v1/
  • This API is to upload the supporting document file in Revenue Contract or Manual journal Entry.

  • User can upload multiple type of files - pdf, doc, docx, xls, xlsx, txt, rtf, odt, ods, csv, html, htm, md, xml, jpg, jpeg, png.

  • The Supporting Documents feature is available only to users with the Sysadmin and Revenue Manager roles.

Body
filefile · binaryRequired

Attach Supporting document file.

Responses
200

Upload Supporting document

application/json
messagestringRequired

System generated message on file upload.

post/apis/supporting_doc/v1/
POST /apis/supporting_doc/v1/ HTTP/1.1
Host: {realm}.{env}.rightrev.cloud/
Content-Type: multipart/form-data
Accept: */*
Content-Length: 2

{}
200

Upload Supporting document

{
  "message": "Uploaded successfully."
}

Download Supporting Doc

get
/apis/supporting_doc/v1/{doc_type}/{doc_id}/{file_name}
  • This API is to retrieve the supporting document file uploaded in Revenue Contract or Manual journal Entry.

Path parameters
doc_typestringRequired

This is type of document. User can provide RC or MJE to fetch the supporting document details.

doc_idstringRequired

This is number of revenue contract or manual journal entry.

file_namestringRequired

This is the name of supporting document file user want to download.

Responses
200

Download Supporting document

application/json
anyOptional
get/apis/supporting_doc/v1/{doc_type}/{doc_id}/{file_name}
GET /apis/supporting_doc/v1/{doc_type}/{doc_id}/{file_name} HTTP/1.1
Host: {realm}.{env}.rightrev.cloud/
Accept: */*
200

Download Supporting document

{}

Delete Supporting Doc

delete
/apis/supporting_doc/v1/{doc_type}/{doc_id}/{file_name}
  • This API is to delete the supporting document uploaded in Revenue Contract or Manual journal Entry.

  • Only the file owner (the user who uploaded the file) can delete their own files.

Path parameters
doc_typestringRequired

This is type of document. User can provide RC or MJE to fetch the supporting document details.

doc_idstringRequired

This is number of revenue contract or manual journal entry.

file_namestringRequired

This is the name of supporting document file user want to delete.

Responses
200

Delete Supporting document

application/json
messagestringRequired

Display system generates message on delete action.

delete/apis/supporting_doc/v1/{doc_type}/{doc_id}/{file_name}
DELETE /apis/supporting_doc/v1/{doc_type}/{doc_id}/{file_name} HTTP/1.1
Host: {realm}.{env}.rightrev.cloud/
Accept: */*
200

Delete Supporting document

{
  "message": "Deleted successfully."
}

Last updated

Was this helpful?