# Swissdec declaration status of a month **GET /api-v1/payroll/declared/{calendarYear}/{monthType}** blocked=true means the month's payrolls are frozen: no insert, update or delete. pending=true means a declaration was dispatched but Swissdec has not confirmed it yet, so the month is still editable. Used by the Generate Salaries popup; PayrollService enforces the blocking rule on every mutating call. ## Servers - Generated server url: https://wyzio.app (Generated server url) ## Parameters ### Headers - **WEAL-TOKEN** () API token (can be retrieved from account settings) - **TARGET-ORGANIZATION-ID** () ID of organization, for which the operation must be performed ### Path parameters - **calendarYear** (integer(int32)) - **monthType** (string) ## Responses ### 200 OK #### Body: application/json (object) - **blocked** (boolean) - **pending** (boolean) - **resultStatus** (string) - **declaredAt** (string(date-time)) ### 400 400 Bad Request ### 401 401 Unauthorized ### 403 403 Access Denied ### 404 404 Not Found ### 500 500 Internal Server Error [Powered by Bump.sh](https://bump.sh)