---
title: "Calculate RFC"
method: POST
path: "/api/calculate/rfc"
tags: ["API validations"]
---

# Calculate RFC

`POST /api/calculate/rfc`

Calculate and return the RFC based on a person data.

Once you obtain the calculated RFC it doesn't necessarily mean it's a valid one. You could use the validate RFC method to check if it exists.

## Headers

- `api-version` string, required

## Request body

- CalculateRFCRequest
  - `name` string, required
  - `firstLastName` string, required
  - `secondLastName` string, required
  - `birthDate` string, dd/mm/yyyy, required

## Response `200`

Successfully calculated RFC

- RFCResponse
  - `calculatedRFC` string

## Other responses

- `400` — Invalid input data
- `500` — Internal server error during calculation

---

[API](https://skmtc.net/incode/apis/incode-omni-api.md) · [All operations](https://skmtc.net/incode/apis/incode-omni-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/incode/incode-omni-api/revisions/30cd6d926ea3/schema)
