Returns whether the specified date falls within a locked or unlocked accounting period.
Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
GET
/api-v1/accounting-period/date-lock-status/{date}
curl \
--request GET 'https://wyzio.app/api-v1/accounting-period/date-lock-status/{date}'
Response examples (200)
{
"periodDetails": {
"id": 42,
"fiscalYear": 42,
"startDate": "2026-01-01T00:00:00.000Z",
"endDate": "2026-01-01T00:00:00.000Z",
"vatRule": {
"id": 42,
"name": {
"en": "string",
"fr": "string",
"de": "string",
"it": "string"
},
"rule": "NONE"
},
"ntdrRate_1": "100.55",
"ntdrRate1AccountsIds": [
42
],
"ntdrRate_2": "100.55",
"ntdrRate2AccountsIds": [
42
],
"flatRateAccounts": [
{
"id": 42,
"flatRate": "string",
"flatRateChartAccountsIds": [
42
]
}
],
"status": "OPEN",
"isLocked": true,
"budgetExist": true,
"lockedUntil": "2026-01-01T00:00:00.000Z"
},
"locked": true
}