Create Accounting Period
POST {{baseUrl}}/odata/AccountingPeriods
Create Accounting Period
entity.
Important!
All created periods must be consecutive.
For example, if you have already created period
{
"start": "2022-10-01", "end": "2022-10-31"
}
next created period should have start
date later than previous end
date.
For example
{
"start": "2022-11-01", "end": "2022-11-14"
}
Request Body
{"start"=>"2022-11-01", "end"=>"2022-11-30", "name"=>"period"}
RESPONSES
status: Created
{"@odata.context":"https://api.timetta.com/odata/$metadata#AccountingPeriods/$entity","start":"2022-11-01","end":"2022-11-30","name":"Period 01.11.2022—30.11.2022","createdById":"ab28da8b-f1e3-46d2-bfa6-96f04e3dbc41","modifiedById":"ab28da8b-f1e3-46d2-bfa6-96f04e3dbc41","id":"8c851919-dea4-4069-8eb9-2330721ad4fc","created":"2022-10-14T12:55:51.4943897+03:00","modified":"2022-10-14T09:55:51.4655416Z","isActive":true}