# Whether a month has already been declared to Swissdec **GET /api-v1/payroll/declared/{calendarYear}/{monthType}** When true the month's payrolls are frozen: no insert, update or delete. Used by the Generate Salaries popup to disable GENERATE before the user submits; PayrollService enforces the same 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 (boolean) boolean ### 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)