Skip to main content
PUT
Assign cost center to a payroll

Authorizations

X-API-Key
string
header
required

Integration API Key (Integrations → New Integration).

Path Parameters

id
string<uuid>
required

Payroll ID

Body

application/json
cost_center_id
string<uuid> | null

Cost center of the payroll; null removes it, omitted leaves it unchanged.

details
object[]
Maximum array length: 2000
cost_center_distribution_id
string<uuid> | null

Distribution of the payroll; null removes it, omitted leaves it unchanged. Mutually exclusive with cost_center_id at the same level (422 Indique centro de costo o distribución, no ambos.).

Response

Success

status
boolean
required
Example:

true

data
object
required