Accounting Period/Calendar
The Accounting Calendar defines the pattern of the financial year, its start and end dates to perform certain accounting functions.
Retrieves the accounting calendar period details associated with a specific tenant.
Get Accounting Calendar Policy
A system-generated compliance ID to retrieve the accounting calendar.
Name of the policy fetched by the system.
ID of the user who created the policy.
Timestamp of the policy created by the user. This is a unix Epoch timestamp format.
ID of the user last modified by.
Timestamp of the policy last modified on. This is a unix Epoch timestamp format.
Represents the type of policy.
Represents the status of the policy.
Unique combination of legal entity, tenant name and period name generated by the system.
Represents the latest version of the policy.
GET /apis/policy-sets/v1/policy/calendar HTTP/1.1
Host: {realm}.{env}.rightrev.cloud/
Accept: */*
Get Accounting Calendar Policy
[
{
"compliance_id": "bec2f65a-3693-40ad-bd08-70c81f4e65a2",
"compliance_name": "calendar",
"compliance_spec": [
{
"can_delete": true,
"code": "Default Legal Entity_tenant-name_Jan-21",
"created_at": 1758634356,
"created_by": "username@rightrev.com",
"end_date": "2021-01-31",
"fiscal_year_name": "FY-2021",
"is_user_defined": true,
"legal_entity": "Default Legal Entity",
"period_name": "Jan-21",
"period_number": 1,
"quarter_number": 1,
"start_date": "2021-01-01",
"updated_at": 1758634356,
"updated_by": "username@rightrev.com"
},
{
"can_delete": true,
"code": "Default Legal Entity_tenant-name_Feb-21",
"created_at": 1758634356,
"created_by": "username@rightrev.com",
"end_date": "2021-02-28",
"fiscal_year_name": "FY-2021",
"is_user_defined": true,
"legal_entity": "Default Legal Entity",
"period_name": "Feb-21",
"period_number": 2,
"quarter_number": 1,
"start_date": "2021-02-01",
"updated_at": 1758634356,
"updated_by": "username@rightrev.com"
},
{
"can_delete": true,
"code": "Default Legal Entity_tenant-name_Mar-21",
"created_at": 1758634356,
"created_by": "username@rightrev.com",
"end_date": "2021-03-31",
"fiscal_year_name": "FY-2021",
"is_user_defined": true,
"legal_entity": "Default Legal Entity",
"period_name": "Mar-21",
"period_number": 3,
"quarter_number": 1,
"start_date": "2021-03-01",
"updated_at": 1758634356,
"updated_by": "username@rightrev.com"
},
{
"can_delete": true,
"code": "Default Legal Entity_tenant-name_Apr-21",
"created_at": 1758634356,
"created_by": "username@rightrev.com",
"end_date": "2021-04-30",
"fiscal_year_name": "FY-2021",
"is_user_defined": true,
"legal_entity": "Default Legal Entity",
"period_name": "Apr-21",
"period_number": 4,
"quarter_number": 2,
"start_date": "2021-04-01",
"updated_at": 1758634356,
"updated_by": "username@rightrev.com"
},
{
"can_delete": true,
"code": "Default Legal Entity_tenant-name_May-21",
"created_at": 1758634356,
"created_by": "username@rightrev.com",
"end_date": "2021-05-31",
"fiscal_year_name": "FY-2021",
"is_user_defined": true,
"legal_entity": "Default Legal Entity",
"period_name": "May-21",
"period_number": 5,
"quarter_number": 2,
"start_date": "2021-05-01",
"updated_at": 1758634356,
"updated_by": "username@rightrev.com"
},
{
"can_delete": true,
"code": "Default Legal Entity_tenant-name_Jun-21",
"created_at": 1758634356,
"created_by": "username@rightrev.com",
"end_date": "2021-06-30",
"fiscal_year_name": "FY-2021",
"is_user_defined": true,
"legal_entity": "Default Legal Entity",
"period_name": "Jun-21",
"period_number": 6,
"quarter_number": 2,
"start_date": "2021-06-01",
"updated_at": 1758634356,
"updated_by": "username@rightrev.com"
},
{
"can_delete": true,
"code": "Default Legal Entity_tenant-name_Jul-21",
"created_at": 1758634356,
"created_by": "username@rightrev.com",
"end_date": "2021-07-31",
"fiscal_year_name": "FY-2021",
"is_user_defined": true,
"legal_entity": "Default Legal Entity",
"period_name": "Jul-21",
"period_number": 7,
"quarter_number": 3,
"start_date": "2021-07-01",
"updated_at": 1758634356,
"updated_by": "username@rightrev.com"
},
{
"can_delete": true,
"code": "Default Legal Entity_tenant-name_Aug-21",
"created_at": 1758634356,
"created_by": "username@rightrev.com",
"end_date": "2021-08-31",
"fiscal_year_name": "FY-2021",
"is_user_defined": true,
"legal_entity": "Default Legal Entity",
"period_name": "Aug-21",
"period_number": 8,
"quarter_number": 3,
"start_date": "2021-08-01",
"updated_at": 1758634356,
"updated_by": "username@rightrev.com"
},
{
"can_delete": true,
"code": "Default Legal Entity_tenant-name_Sep-21",
"created_at": 1758634356,
"created_by": "username@rightrev.com",
"end_date": "2021-09-30",
"fiscal_year_name": "FY-2021",
"is_user_defined": true,
"legal_entity": "Default Legal Entity",
"period_name": "Sep-21",
"period_number": 9,
"quarter_number": 3,
"start_date": "2021-09-01",
"updated_at": 1758634356,
"updated_by": "username@rightrev.com"
},
{
"can_delete": true,
"code": "Default Legal Entity_tenant-name_Oct-21",
"created_at": 1758634356,
"created_by": "username@rightrev.com",
"end_date": "2021-10-31",
"fiscal_year_name": "FY-2021",
"is_user_defined": true,
"legal_entity": "Default Legal Entity",
"period_name": "Oct-21",
"period_number": 10,
"quarter_number": 4,
"start_date": "2021-10-01",
"updated_at": 1758634356,
"updated_by": "username@rightrev.com"
},
{
"can_delete": true,
"code": "Default Legal Entity_tenant-name_Nov-21",
"created_at": 1758634356,
"created_by": "username@rightrev.com",
"end_date": "2021-11-30",
"fiscal_year_name": "FY-2021",
"is_user_defined": true,
"legal_entity": "Default Legal Entity",
"period_name": "Nov-21",
"period_number": 11,
"quarter_number": 4,
"start_date": "2021-11-01",
"updated_at": 1758634356,
"updated_by": "username@rightrev.com"
},
{
"can_delete": true,
"code": "Default Legal Entity_tenant-name_Dec-21",
"created_at": 1758634356,
"created_by": "username@rightrev.com",
"end_date": "2021-12-31",
"fiscal_year_name": "FY-2021",
"is_user_defined": true,
"legal_entity": "Default Legal Entity",
"period_name": "Dec-21",
"period_number": 12,
"quarter_number": 4,
"start_date": "2021-12-01",
"updated_at": 1758634356,
"updated_by": "username@rightrev.com"
}
],
"created_by": "rightrev",
"created_on": 1758634360,
"last_modified_by": "rightrev",
"last_modified_on": 1758634360,
"policy_type": "calendar",
"status": "Active",
"unique_key": "code",
"version_id": "dae8b520-431a-4d07-854f-0e71f689d343"
}
]Create a new Accounting Calendar in RightRev system by uploading calendar data via a CSV file.
Users must provide 12 months period for a fiscal year.
Start date must be less than the end date.
Both start and end dates must be provided.
Start and end date must be the 1st and last day of the month respectively.
Provide code name as upload.
The CSV file to be uploaded to the system.
Refer a Sample CSV File for reference.
Start Date and End Date must be in mm-dd-yyyy format.
A CSV file upload method.
Create a New Accounting Calendar Policy (CSV)
A system-generated compliance ID to set an accounting calendar.
Displays information about problems that occurred while handling the request. Commonly used to report validation errors, missing or invalid parameters, or other issues related to API processing.
POST /apis/policy-sets/v1/policy/calendar/{code} HTTP/1.1
Host: {realm}.{env}.rightrev.cloud/
Content-Type: multipart/form-data
Accept: */*
Content-Length: 50
{
"file": null,
"date_format": null,
"unique_key": null
}Create a New Accounting Calendar Policy (CSV)
{
"compliance_details": [
{
"error": [],
"message": "created successfully",
"unique_key": "Default Legal Entity_tenant-name_Jan-2021"
}
],
"compliance_id": "90853521-ee0a-486c-988f-c6e642e5ec12",
"error": []
}Create a new Accounting Calendar in the RightRev system by providing calendar data in JSON format.
Users must provide 12 months period for a fiscal year.
Start date must be less than the end date.
Both start and end dates must be provided.
Start and end date must be the 1st and last day of the month respectively.
Name of the policy fetched by the system.
Unique combination of legal entity and period name.
Example:
- Legal Entity: Default Legal Entity
- Period Name: Jan-21
- Code: Default Legal Entity_Jan-21
Create a New Accounting Calendar Policy (JSON)
A system-generated compliance ID to set an accounting calendar.
Displays information about problems that occurred while handling the request. Commonly used to report validation errors, missing or invalid parameters, or other issues related to API processing.
POST /apis/policy-sets/v1/policy/calendar HTTP/1.1
Host: {realm}.{env}.rightrev.cloud/
Content-Type: application/json
Accept: */*
Content-Length: 3168
{
"compliance_name": "Accounting Calendar",
"unique_key": "code",
"compliance_spec": [
{
"can_delete": true,
"code": "Default Legal Entity_Jan-21",
"end_date": "2021-01-31",
"fiscal_year_name": "FY-2021",
"is_user_defined": true,
"legal_entity": "Default Legal Entity",
"period_name": "Jan-21",
"period_number": 1,
"quarter_number": 1,
"start_date": "2021-01-01"
},
{
"can_delete": true,
"code": "Default Legal Entity_Feb-21",
"end_date": "2021-02-28",
"fiscal_year_name": "FY-2021",
"is_user_defined": true,
"legal_entity": "Default Legal Entity",
"period_name": "Feb-21",
"period_number": 2,
"quarter_number": 1,
"start_date": "2021-02-01"
},
{
"can_delete": true,
"code": "Default Legal Entity_Mar-21",
"end_date": "2021-03-31",
"fiscal_year_name": "FY-2021",
"is_user_defined": true,
"legal_entity": "Default Legal Entity",
"period_name": "Mar-21",
"period_number": 3,
"quarter_number": 1,
"start_date": "2021-03-01"
},
{
"can_delete": true,
"code": "Default Legal Entity_Apr-21",
"end_date": "2021-04-30",
"fiscal_year_name": "FY-2021",
"is_user_defined": true,
"legal_entity": "Default Legal Entity",
"period_name": "Apr-21",
"period_number": 4,
"quarter_number": 2,
"start_date": "2021-04-01"
},
{
"can_delete": true,
"code": "Default Legal Entity_May-21",
"end_date": "2021-05-31",
"fiscal_year_name": "FY-2021",
"is_user_defined": true,
"legal_entity": "Default Legal Entity",
"period_name": "May-21",
"period_number": 5,
"quarter_number": 2,
"start_date": "2021-05-01"
},
{
"can_delete": true,
"code": "Default Legal Entity_Jun-21",
"end_date": "2021-06-30",
"fiscal_year_name": "FY-2021",
"is_user_defined": true,
"legal_entity": "Default Legal Entity",
"period_name": "Jun-21",
"period_number": 6,
"quarter_number": 2,
"start_date": "2021-06-01"
},
{
"can_delete": true,
"code": "Default Legal Entity_Jul-21",
"end_date": "2021-07-31",
"fiscal_year_name": "FY-2021",
"is_user_defined": true,
"legal_entity": "Default Legal Entity",
"period_name": "Jul-21",
"period_number": 7,
"quarter_number": 3,
"start_date": "2021-07-01"
},
{
"can_delete": true,
"code": "Default Legal Entity_Aug-21",
"end_date": "2021-08-31",
"fiscal_year_name": "FY-2021",
"is_user_defined": true,
"legal_entity": "Default Legal Entity",
"period_name": "Aug-21",
"period_number": 8,
"quarter_number": 3,
"start_date": "2021-08-01"
},
{
"can_delete": true,
"code": "Default Legal Entity_Sep-21",
"end_date": "2021-09-30",
"fiscal_year_name": "FY-2021",
"is_user_defined": true,
"legal_entity": "Default Legal Entity",
"period_name": "Sep-21",
"period_number": 9,
"quarter_number": 3,
"start_date": "2021-09-01"
},
{
"can_delete": true,
"code": "Default Legal Entity_Oct-21",
"end_date": "2021-10-31",
"fiscal_year_name": "FY-2021",
"is_user_defined": true,
"legal_entity": "Default Legal Entity",
"period_name": "Oct-21",
"period_number": 10,
"quarter_number": 4,
"start_date": "2021-10-01"
},
{
"can_delete": true,
"code": "Default Legal Entity_Nov-21",
"end_date": "2021-11-30",
"fiscal_year_name": "FY-2021",
"is_user_defined": true,
"legal_entity": "Default Legal Entity",
"period_name": "Nov-21",
"period_number": 11,
"quarter_number": 4,
"start_date": "2021-11-01"
},
{
"can_delete": true,
"code": "Default Legal Entity_Dec-21",
"end_date": "2021-12-31",
"fiscal_year_name": "FY-2021",
"is_user_defined": true,
"legal_entity": "Default Legal Entity",
"period_name": "Dec-21",
"period_number": 12,
"quarter_number": 4,
"start_date": "2021-12-01"
}
]
}Create a New Accounting Calendar Policy (JSON)
{
"compliance_details": [
{
"error": [],
"message": "created successfully",
"unique_key": "Default Legal Entity_Jan-21"
}
],
"compliance_id": "90853521-ee0a-486c-988f-c6e642e5ec12",
"error": []
}Delete Accounting Period Policy
Delete the existing Accounting Calendar in the RightRev system.
If user deletes one fiscal year, then all the future fiscal years will be deleted.
User has to provide a compliance id to delete an accounting calendar. This compliance id can be fetched from the response of the Accounting Calendar Policy - GET API.
A Unique combination of legal entity, tenant name and period name.
Example:
- Legal Entity: Default Legal Entity
- Tenant Name: tenant-name
- Period Name: Jan-21
- Object Unique Value: Default Legal Entity_tenant-name_Jan-21
Delete Accounting Calendar Policy
A system-generated compliance ID to delete an accounting calendar.
Displays information about problems that occurred while handling the request. Commonly used to report validation errors, missing or invalid parameters, or other issues related to API processing.
DELETE /apis/policy-sets/v1/policy/calendar/{compliance_id}/{object_unique_value} HTTP/1.1
Host: {realm}.{env}.rightrev.cloud/
Accept: */*
Delete Accounting Calendar Policy
{
"compliance_details": [
{
"error": [],
"message": "deleted successfully",
"unique_key": "Default Legal Entity_tenant-name_Jan-21"
}
],
"compliance_id": "bec2f65a-3693-40ad-bd08-70c81f4e65a2",
"error": []
}Last updated
Was this helpful?

