{
 "openapi": "3.1.0",
 "info": {
  "title": "Statutory Forms (HRMS)",
  "version": "20261030b",
  "description": "The statutory payroll forms of the company’s country, and where each one is prepared."
 },
 "servers": [
  {
   "url": "https://{tenant}.tranxact.ai",
   "variables": {
    "tenant": {
     "default": "demo"
    }
   }
  }
 ],
 "components": {
  "securitySchemes": {
   "bearer": {
    "type": "http",
    "scheme": "bearer"
   }
  },
  "schemas": {}
 },
 "security": [
  {
   "bearer": []
  }
 ],
 "paths": {
  "/api/hrms/tax-forms": {
   "get": {
    "summary": "Read statutory forms",
    "operationId": "action_tax_forms_0_4",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/hrms/tax-forms/generate": {
   "post": {
    "summary": "Generate",
    "operationId": "action_tax_forms_0_5",
    "description": "Body keys: formCode*, taxYear, quarter, employeeId, supplierId, allEmployees",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/hrms/tax-forms/{id}": {
   "get": {
    "summary": "Read statutory forms",
    "operationId": "action_tax_forms_0_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/hrms/tax-forms/{id}/boxes/{boxNo}": {
   "put": {
    "summary": "Boxes",
    "operationId": "action_tax_forms_0_7",
    "description": "Body keys: value, reason",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/hrms/tax-forms/{id}/approve": {
   "post": {
    "summary": "Approve",
    "operationId": "action_tax_forms_0_6",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/hrms/tax-forms/{id}/file": {
   "post": {
    "summary": "File",
    "operationId": "action_tax_forms_0_6",
    "description": "Body keys: method, reference",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/hrms/tax-forms/{id}/correct": {
   "post": {
    "summary": "Correct",
    "operationId": "action_tax_forms_0_6",
    "description": "Body keys: reason",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/hrms/tax-forms/{id}/export": {
   "get": {
    "summary": "Export",
    "operationId": "action_tax_forms_0_6",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  }
 }
}