---
title: "POST /api/v1/document/document-fields/{uid}/check_formula/"
method: POST
path: "/api/v1/document/document-fields/{uid}/check_formula/"
tags: ["document", "v1"]
---

# POST /api/v1/document/document-fields/{uid}/check_formula/

`POST /api/v1/document/document-fields/{uid}/check_formula/`

Check formula for EXISTING Document Field
Expects request data arguments:
- formula: str OR
- convert_decimals_to_floats_in_formula_args: bool
- hide_until_python: str
- field_type: str
- document_type: str - document type uid
- depends_on_fields: List[str] - list of field uids
Either "request.data.formula" or "request.data.hide_until_python" should be filled.

## Path parameters

- `uid` string, required

## Request body

- CheckDocumentFieldFormulaRequest
  - `formula` string
  - `hide_until_python` string

## Response `200`

- object

---

[API](https://skmtc.net/lexpredict/apis/contraxsuite-api.md) · [All operations](https://skmtc.net/lexpredict/apis/contraxsuite-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lexpredict/contraxsuite-api/versions/3429f921b4cb/schema)
