> For the complete documentation index, see [llms.txt](https://api-docs.rightsline.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.rightsline.com/financial/financial-periods/create-financial-period.md).

# Create financial period

## Create a single financial period

<mark style="color:green;">`POST`</mark> `https://ris.rightsline.com/v4/financial-periods`

This endpoint creates a single financial period.

#### Headers

| Name           | Type   | Description             |
| -------------- | ------ | ----------------------- |
| x-api-key      | string | Your company's API key. |
| Authentication | string | Authentication token.   |

#### Request Body

| Name                                        | Type      | Description                               |
| ------------------------------------------- | --------- | ----------------------------------------- |
| year<mark style="color:red;">\*</mark>      | number    | Year of the financial period              |
| period<mark style="color:red;">\*</mark>    | number    | Ordinal sequence of the financial period. |
| startDate<mark style="color:red;">\*</mark> | Date Time | Start of financial period                 |
| endDate<mark style="color:red;">\*</mark>   | Date Time | End of financial period                   |

{% tabs %}
{% tab title="200 Financial period successfully updated." %}

```javascript
{
    "id": 1934,
    "year": 2026,
    "period": 1,
    "startDate": "2026-12-01T08:00:00.000Z",
    "endDate": "2026-12-31T08:00:00.000Z",
    "status": "Open"
}
```

{% endtab %}

{% tab title="400: Bad Request Invalid financial period" %}

```javascript

{
    "message": "Please provide a valid end date."
}



{
    "message": "Please provide a valid start date."
}

{
    "message": "Please specify a valid period."
}

{
    "message": "Please provide a valid year."
}
```

{% endtab %}
{% endtabs %}


---

# 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:

```
GET https://api-docs.rightsline.com/financial/financial-periods/create-financial-period.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
