> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.supay.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.supay.dev/_mcp/server.

# 22 · Telecomunicaciones

Telefonía, internet y datos con crédito fiscal. Va por **fachada propia**. La
cabecera lleva el **NIT conjunto**; el detalle identifica **equipos por
serie/IMEI**.

## Cabecera (`data`)

| Campo          | Tipo | Obligatorio | Qué significa                                    |
| -------------- | ---- | ----------- | ------------------------------------------------ |
| `nit_conjunto` | int  | No          | NIT conjunto para facturación agregada de líneas |

## Detalle (`items[].data`)

| Campo          | Tipo   | Obligatorio | Para qué sirve             |
| -------------- | ------ | ----------- | -------------------------- |
| `numero_serie` | string | No          | Serie del equipo entregado |
| `numero_imei`  | string | No          | IMEI del equipo            |

#### SDK TypeScript

```typescript
const factura = await supay.invoices.emit({
  point_of_sale_id: pos.id,
  customer: {
    document_type: "nit",
    document_number: "5678901",
    name: "Cliente Telco",
  },
  items: [
    // Servicio: sin datos sectoriales
    {
      sku: "PLAN-10GB",
      description: "Plan datos 10GB octubre",
      codigo_producto_sin: 5412100,
      unidad_medida: 58,
      quantity: 1,
      price: 99,
    },
    // Equipo: con serie e IMEI
    {
      sku: "EQUIPO-A54",
      description: "Equipo financiado",
      codigo_producto_sin: 5113100,
      unidad_medida: 58,
      quantity: 1,
      price: 1800,
      data: {
        numero_serie: "SN-TEL-9",
        numero_imei: "355000000000009",
      },
    },
  ],
  sector: "22",
  data: {
    nit_conjunto: 5678901,
  },
});
```

#### REST API

```bash
curl -s -X POST "$BASE/v1/invoices/emit" \
  -H "X-API-Key: $KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "point_of_sale_id": "'$POS'",
    "customer": {
      "document_type": "nit",
      "document_number": "5678901",
      "name": "Cliente Telco"
    },
    "items": [
      {
        "sku": "PLAN-10GB",
        "description": "Plan datos 10GB octubre",
        "codigo_producto_sin": 5412100,
        "unidad_medida": 58,
        "quantity": 1,
        "price": 99
      }
    ],
    "sector": "22"
  }' | jq '{id, status}'
```