Skip to main content
Documento para el alquiler de bienes inmuebles propios. Se emite por el endpoint unificado POST /api/v1/invoices con documentSectorType: 2.

Datos del sector

CampoValor
documentSectorType2
Servicio SIATFacturación Electrónica / Computarizada (genérico por modalidad)
RepresentaciónPDF “FACTURA DE ALQUILER” (A4 + ticket)

Campos específicos

Además de los campos estándar de Crear Factura:
CampoTipoReqDescripción
documentSectorTypeinteger2
billedPeriodstringPeriodo facturado (periodoFacturado), ej. "2026-07" o "Julio 2026". Requerido por el XSD
La cantidad en el detalle se representa con 2 decimales (1.00), como exige la representación gráfica oficial de alquiler. El sector no usa gift card.
curl -X POST https://sandbox.cucu.bo/api/v1/invoices \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
    "pointOfSaleId": "660e8400-e29b-41d4-a716-446655440004",
    "documentSectorType": 2,
    "clientDocumentType": 5,
    "clientDocumentNumber": "1023456789",
    "clientBusinessName": "EMPRESA DEMO S.R.L.",
    "paymentMethodCode": 1,
    "billedPeriod": "2026-07",
    "details": [
      {
        "activityEconomic": "681000",
        "codeProductSin": "83111",
        "description": "Alquiler oficina - Julio 2026",
        "quantity": 1,
        "unitMeasure": 58,
        "priceUnit": 3500.00
      }
    ]
  }'
const response = await fetch('https://sandbox.cucu.bo/api/v1/invoices', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'X-API-Key': 'YOUR_API_KEY'
  },
  body: JSON.stringify({
    pointOfSaleId: '660e8400-e29b-41d4-a716-446655440004',
    documentSectorType: 2,
    clientDocumentType: 5,
    clientDocumentNumber: '1023456789',
    clientBusinessName: 'EMPRESA DEMO S.R.L.',
    paymentMethodCode: 1,
    billedPeriod: '2026-07',
    details: [{
      activityEconomic: '681000',
      codeProductSin: '83111',
      description: 'Alquiler oficina - Julio 2026',
      quantity: 1,
      unitMeasure: 58,
      priceUnit: 3500.00
    }]
  })
});
import requests

response = requests.post(
    'https://sandbox.cucu.bo/api/v1/invoices',
    headers={
        'Content-Type': 'application/json',
        'X-API-Key': 'YOUR_API_KEY'
    },
    json={
        'pointOfSaleId': '660e8400-e29b-41d4-a716-446655440004',
        'documentSectorType': 2,
        'clientDocumentType': 5,
        'clientDocumentNumber': '1023456789',
        'clientBusinessName': 'EMPRESA DEMO S.R.L.',
        'paymentMethodCode': 1,
        'billedPeriod': '2026-07',
        'details': [{
            'activityEconomic': '681000',
            'codeProductSin': '83111',
            'description': 'Alquiler oficina - Julio 2026',
            'quantity': 1,
            'unitMeasure': 58,
            'priceUnit': 3500.00
        }]
    }
)