# Monthly payslip licence capacity **GET /api-v1/payroll/licence-capacity/{organizationId}/{calendarYear}/{monthType}** How many distinct employees may still be paid this month across the licence pool. capacity is the PERSON + EMPLOYEE billing units the pool is invoiced for, used is the distinct staff already holding a live payslip for the month in ANY organisation sharing the pool, and unlimited=true means no licence owner could be resolved and no cap applies. Call this before the Generate Salaries popup so the user sees the remaining count instead of building a selection and having it rejected. ## 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 - **organizationId** (integer(int64)) - **calendarYear** (integer(int32)) - **monthType** (string) ## Responses ### 200 OK #### Body: application/json (object) - **capacity** (integer(int64)) - **staffWithPayslip** (array[integer(int64)]) - **poolOrganizationIds** (array[integer(int64)]) - **unlimited** (boolean) - **remaining** (integer(int64)) - **used** (integer(int64)) ### 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)