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

# 54 · Insumos para Biodiésel \[Experimental]

> **Warning**
>
> Experimental: cobertura técnica sin homologación. Solo PILOTO, como feedback
> de producto.

Compra-venta de insumos para biodiésel, sin 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 f = await supay.invoices.emit({
  point_of_sale_id: pos.id,
  customer: {
    document_type: "nit",
    document_number: "4567890",
    name: "Planta Biodiésel SA",
  },
  items: [
    {
      sku: "ACEITE-VEG",
      description: "Aceite vegetal crudo",
      codigo_producto_sin: 5214100,
      unidad_medida: 58,
      quantity: 1000,
      price: 5.5,
    },
  ],
  sector: "54",
});
```

#### 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": "4567890",
      "name": "Planta Biodiésel SA"
    },
    "items": [
      {
        "sku": "ACEITE-VEG",
        "description": "Aceite vegetal crudo",
        "codigo_producto_sin": 5214100,
        "unidad_medida": 58,
        "quantity": 1000,
        "price": 5.5
      }
    ],
    "sector": "54"
  }' | jq '{id, status}'
```