GET
/api-v1/accounting-period/latest
curl \
--request GET 'https://wyzio.app/api-v1/accounting-period/latest' \
--header "WEAL-TOKEN: string" \
--header "TARGET-ORGANIZATION-ID: 42"
Response examples (200)
{
"id": 42,
"fiscalYear": 42,
"startDate": "string",
"endDate": "string",
"vatRule": {
"id": 42,
"name": {
"en": "string",
"fr": "string",
"de": "string",
"it": "string"
},
"rule": "NONE"
},
"ntdrRate_1": "string",
"ntdrRate1AccountsIds": [
42
],
"ntdrRate_2": "string",
"ntdrRate2AccountsIds": [
42
],
"flatRateAccounts": [
{
"id": 42,
"flatRate": "string",
"flatRateChartAccountsIds": [
42
]
}
],
"status": "OPEN",
"isLocked": true,
"budgetExist": true,
"lockedUntil": "string"
}