curl --request POST \
--url 'https://api.stateset.com/api/v1/gl/periods/{id}/close' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"closed_by": null
}'
{
"closed_at": null,
"closed_by": null,
"created_at": "string",
"end_date": "string",
"fiscal_year": 1,
"id": "string",
"locked_at": null,
"locked_by": null,
"period_name": "string",
"period_number": 1,
"start_date": "string",
"status": "string"
}
Close a period
Close a period
POST
/
api
/
v1
/
gl
/
periods
/
{id}
/
close
curl --request POST \
--url 'https://api.stateset.com/api/v1/gl/periods/{id}/close' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"closed_by": null
}'
{
"closed_at": null,
"closed_by": null,
"created_at": "string",
"end_date": "string",
"fiscal_year": 1,
"id": "string",
"locked_at": null,
"locked_by": null,
"period_name": "string",
"period_number": 1,
"start_date": "string",
"status": "string"
}
Path parameters
string
required
GL period ID
Request body
ClosePeriodRequest
string,null
Actor recorded as the closer. Defaults to
api.Responses
GlPeriodResponse
ErrorBody
curl --request POST \
--url 'https://api.stateset.com/api/v1/gl/periods/{id}/close' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"closed_by": null
}'
{
"closed_at": null,
"closed_by": null,
"created_at": "string",
"end_date": "string",
"fiscal_year": 1,
"id": "string",
"locked_at": null,
"locked_by": null,
"period_name": "string",
"period_number": 1,
"start_date": "string",
"status": "string"
}
⌘I