Generate payrolls for a full year

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://restapi.wyzio.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Wyzio MCP server": {
    "url": "https://restapi.wyzio.com/mcp"
  }
}

Close
POST /api-v1/payroll/generate/{calendarYear}

Generates payrolls month by month for every employee of the authenticated user's organization that has a salary configuration for the given year. Months where an employee already has a payroll or is not employed are skipped. Returns a per-month summary.

Headers

  • WEAL-TOKEN Required

    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) Required

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • monthType string

      Values are JANUARY, FEBRUARY, MARCH, APRIL, MAY, JUNE, JULY, AUGUST, SEPTEMBER, OCTOBER, NOVEMBER, or DECEMBER.

    • generated integer(int32)
    • skippedExisting integer(int32)
    • skippedNotEmployed integer(int32)
    • error string
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

POST /api-v1/payroll/generate/{calendarYear}
curl \
 --request POST 'https://wyzio.app/api-v1/payroll/generate/{calendarYear}'
Response examples (200)
[
  {
    "monthType": "JANUARY",
    "generated": 42,
    "skippedExisting": 42,
    "skippedNotEmployed": 42,
    "error": "string"
  }
]