> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usatimbre.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Tax Info

> Get tax information for a profile

## Overview

Retrieve the tax information associated with a profile. This includes the RFC, postal code, fiscal regimen, and CFDI usage.

## Path Parameters

<ParamField path="rfc" type="string" required>
  The RFC (Mexican tax ID) or UUID of the profile
</ParamField>

## Response

<ResponseField name="tax_id" type="string">
  RFC (Registro Federal de Contribuyentes)
</ResponseField>

<ResponseField name="taxpayer" type="string">
  Legal name of the taxpayer
</ResponseField>

<ResponseField name="street" type="string">
  Street address
</ResponseField>

<ResponseField name="ext_num" type="string">
  External number
</ResponseField>

<ResponseField name="neighborhood" type="string">
  Neighborhood (Colonia)
</ResponseField>

<ResponseField name="city" type="string">
  City
</ResponseField>

<ResponseField name="state" type="string">
  State
</ResponseField>

<ResponseField name="country" type="string">
  Country
</ResponseField>

<ResponseField name="postal_code" type="string">
  Postal code (Código Postal)
</ResponseField>

<ResponseField name="fiscal_regimen" type="string">
  Fiscal regimen code (e.g., `601` for General de Ley Personas Morales)
</ResponseField>

<ResponseField name="cfdi_use" type="string">
  CFDI usage code (e.g., `G03` for Gastos en general)
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "https://app.usatimbre.com/api/profile/XAXX010101000/tax-info" \
    -H "Authorization: Bearer tmb_your_api_key_here"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('https://app.usatimbre.com/api/profile/XAXX010101000/tax-info', {
    headers: {
      'Authorization': 'Bearer tmb_your_api_key_here'
    }
  });
  const taxInfo = await response.json();
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      'https://app.usatimbre.com/api/profile/XAXX010101000/tax-info',
      headers={'Authorization': 'Bearer tmb_your_api_key_here'}
  )
  tax_info = response.json()
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "tax_id": "XAXX010101000",
    "taxpayer": "Juan Pérez",
    "street": "Calle Principal 123",
    "ext_num": "123",
    "neighborhood": "Centro",
    "city": "Ciudad de México",
    "state": "CDMX",
    "country": "México",
    "postal_code": "12345",
    "fiscal_regimen": "601",
    "cfdi_use": "G03"
  }
  ```

  ```json 404 theme={null}
  {
    "error": "Not Found",
    "message": "Profile not found"
  }
  ```
</ResponseExample>
