v1

latestOpenAPI 3.0.02026-07-2422987517.5 KB
Custom column

List custom column option condition sets

Returns a paginated list of custom-column option condition sets for the caller's companies. Each set constrains, based on its conditions, which option keys of dependent custom columns are allowed — enabling conditional/dependent dropdowns for rendición metadata. Each item includes its custom_column_dependencies.

get/v1/custom_column_option_condition_sets

Query parameters

_startinteger

If all the transactions where in an array, this would represent the index of the first item returned in the response

_endinteger

If all the transactions where in an array, this would represent the index of the last item returned in the response

_order'asc' | 'desc'

The order method, which can be ascending or descending

_fieldstring
Example:created_at

The field used to sort, the example illustrates a response that would be sorted by the creation date

namestring

Filter by name.

Headers

company-idstring uuid required

UUID of the company on whose behalf the request is made. Required for every Accounting endpoint. See The company-id header for details on how to obtain a value for this header and the error responses to expect when it is missing or invalid.

Response

Paginated list of option condition sets

idstring uuid required
company_idstring uuid required
namestring nullable
conditionsobject

The condition expression that activates this set.

specificityinteger

Ordering weight; higher specificity wins when multiple sets match.

created_atstring date-time
updated_atstring date-time

Example response

[
  {
    "id": "a1b2c3d4-e5f6-4a5b-8c9d-0e1f2a3b4c5d",
    "company_id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "Centro de costo → Subcentro",
    "conditions": {
      "custom_column_id": "c0ffee00-1111-2222-3333-444455556666",
      "key": "ops"
    },
    "specificity": 1
  }
]