> ## 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 Member Info

> Get member information with invoice count

## Overview

Retrieve detailed information about a specific member, including their invoice count.

## Query Parameters

<ParamField query="org_id" type="string" required>
  The unique identifier of the organization
</ParamField>

<ParamField query="rfc" type="string" required>
  The RFC (Mexican tax ID) of the member
</ParamField>

## Response

<ResponseField name="id" type="string">
  Unique profile identifier (UUID)
</ResponseField>

<ResponseField name="name" type="string">
  Member name
</ResponseField>

<ResponseField name="email" type="string">
  Email address
</ResponseField>

<ResponseField name="phone_number" type="string">
  Phone number
</ResponseField>

<ResponseField name="tax_id" type="string">
  RFC (Mexican tax ID)
</ResponseField>

<ResponseField name="org_id" type="string">
  Organization ID
</ResponseField>

<ResponseField name="is_admin" type="boolean">
  Whether the member has admin privileges
</ResponseField>

<ResponseField name="invoice_count" type="number">
  Total number of invoices created by this member
</ResponseField>

<ResponseField name="credits_remaining" type="number">
  Number of invoice credits remaining
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "https://app.usatimbre.com/api/timbre/member-info?org_id=org_123456&rfc=XAXX010101000" \
    -H "Authorization: Bearer tmb_your_api_key_here"
  ```

  ```javascript JavaScript theme={null}
  const params = new URLSearchParams({
    org_id: 'org_123456',
    rfc: 'XAXX010101000'
  });
  const response = await fetch(`https://app.usatimbre.com/api/timbre/member-info?${params}`, {
    headers: {
      'Authorization': 'Bearer tmb_your_api_key_here'
    }
  });
  const member = await response.json();
  ```

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

  response = requests.get(
      'https://app.usatimbre.com/api/timbre/member-info',
      params={
          'org_id': 'org_123456',
          'rfc': 'XAXX010101000'
      },
      headers={'Authorization': 'Bearer tmb_your_api_key_here'}
  )
  member = response.json()
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "Juan Pérez",
    "email": "juan@example.com",
    "phone_number": "+525512345678",
    "tax_id": "XAXX010101000",
    "org_id": "org_123456",
    "is_admin": false,
    "invoice_count": 25,
    "credits_remaining": 50
  }
  ```

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