> 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.

# 39 · Comercialización de GN y GLP

Gas natural y GLP con crédito fiscal. Sin campos sectoriales: payload estándar.

## Cabecera (`data`)

`data: {}` — sin campos sectoriales.

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

Sin campos sectoriales.

#### SDK TypeScript

```typescript
const factura = await supay.invoices.emit({
  point_of_sale_id: pos.id,
  customer: {
    document_type: "nit",
    document_number: "3456789",
    name: "Distribuidora Gas SRL",
  },
  items: [
    {
      sku: "GLP-10KG",
      description: "Garrafa GLP 10kg",
      codigo_producto_sin: 5113100,
      unidad_medida: 58,
      quantity: 20,
      price: 22.5,
    },
  ],
  sector: "39",
});
```

#### 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": "3456789",
      "name": "Distribuidora Gas SRL"
    },
    "items": [
      {
        "sku": "GLP-10KG",
        "description": "Garrafa GLP 10kg",
        "codigo_producto_sin": 5113100,
        "unidad_medida": 58,
        "quantity": 20,
        "price": 22.5
      }
    ],
    "sector": "39"
  }' | jq '{id, status}'
```