---
updatedAt: 2026-04-21T16:11:36.000Z
agentTools:
  projectIndex: https://apidoc.factorialhr.com/llms.txt
---

# PayrollIntegrationsBase > Code > Updates

Subscription_type: `payroll_integrations_base/code/update`

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Factorial API",
    "description": "",
    "version": "2026-10-01"
  },
  "webhooks": {
    "Webhooks > PayrollIntegrationsBase > Code > Updates": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "description": "Subscription_type: `payroll_integrations_base/code/update`",
        "deprecated": false,
        "summary": "PayrollIntegrationsBase > Code > Updates",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Return a 200 status to indicate that the data was received successfully"
          }
        },
        "requestBody": {
          "description": "Callback payload",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/payroll_integrations_base_code"
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "proxy-enabled": false
  },
  "servers": [
    {
      "url": "https://api.factorialhr.com",
      "description": "Production server"
    },
    {
      "url": "https://api.demo.factorial.dev",
      "description": "Demo server (deprecated)"
    },
    {
      "url": "https://api.eu2.demo.factorial.dev",
      "description": "Demo server"
    }
  ],
  "security": [
    {
      "oauth2": []
    }
  ],
  "components": {
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://id.factorialhr.com/oauth/authorize",
            "tokenUrl": "https://id.factorialhr.com/api/oauth/token",
            "refreshUrl": "https://id.factorialhr.com/api/oauth/token",
            "scopes": {
              "read": "Required for all operations",
              "write": "Required for write operations",
              "approvals": "Access to approvals",
              "banking": "Access to banking",
              "company_holidays": "Access to company holidays",
              "company_legal_entities": "Access to company legal entities",
              "company_locations": "Access to company locations",
              "compensations": "Access to compensations",
              "contracts": "Access to contracts",
              "custom_fields": "Access to custom fields",
              "documents": "Access to documents",
              "employee_updates": "Access to employee updates",
              "employees": "Access to employees",
              "expenses": "Access to expenses",
              "finance": "Access to finance",
              "integrations": "Access to integrations",
              "it_management": "Access to it management",
              "job_catalog": "Access to job catalog",
              "marketplace": "Access to marketplace",
              "payroll": "Access to payroll",
              "payroll_supplements": "Access to payroll supplements",
              "performance": "Access to performance",
              "posts": "Access to posts",
              "processes": "Access to processes",
              "project_management_expenses": "Access to project management expenses",
              "project_management_projects": "Access to project management projects",
              "project_management_time": "Access to project management time",
              "recruitment": "Access to recruitment",
              "shift_management": "Access to shift management",
              "tasks": "Access to tasks",
              "time_off": "Access to time off",
              "time_tracking": "Access to time tracking",
              "trainings": "Access to trainings"
            }
          }
        }
      }
    },
    "schemas": {
      "payroll_integrations_base_code": {
        "type": "object",
        "required": [
          "id",
          "company_id",
          "code",
          "codeable_id",
          "codeable_type",
          "integration"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Code identifier",
            "example": "1"
          },
          "company_id": {
            "type": "string",
            "description": "Company ID where the code belongs to",
            "example": "2"
          },
          "code": {
            "type": "string",
            "description": "Code value",
            "example": "COD-51"
          },
          "codeable_id": {
            "type": "string",
            "description": "Related object ID. Used together with codeable_type",
            "example": "5"
          },
          "codeable_type": {
            "type": "string",
            "description": "Related object type. Used together with codeable_id",
            "example": "Employee | Company | LegalEntity | Location | TimeoffLeaveType"
          },
          "integration": {
            "type": "string",
            "description": "Integration name",
            "enum": [
              "a3innuva",
              "a3nom",
              "agenda",
              "paierh",
              "yeap_paierh",
              "silae",
              "sage100",
              "datev",
              "datev_api",
              "datev_lug_api",
              "datev_lauds",
              "team_system",
              "zucchetti",
              "gispaghe",
              "job_sistemi"
            ],
            "example": "a3innuva"
          }
        }
      }
    }
  }
}
```