# Detalle de comisión

GET `https://api.bydomu.com/v1/commissions/{id}`

This reference is generated from the API’s code, so descriptions are in Spanish. Names, parameters and examples are the same in every language.

La comisión con su negocio, sus participantes (con sus pagos) y los pagos recibidos.

Permission required

`commissions:read`

Required header

`X-API-Key` · secret key

Access level

Level 2 · automatic on Inmobiliaria Pro

## Path parameters

1 · required

`id` string · **required**

ID de la comisión

## Response 200

`CommissionDetail` · 24 fields

**`data` id · referenceNumber · status · commissionType · commissionBase · baseAmount · percentage · grossAmount · currency · reteFuente · reteIca · reteIva · netAmount · paidAmount · invoiceNumber · invoiceDate · notes · closedAt · dealId · createdAt · updatedAt · deal · participants · payments**

`id` string

`referenceNumber` string

`status` string PENDIENTE, FACTURADA, PAGADA_PARCIAL, PAGADA, CANCELADA

`commissionType` string PERCENTAGE, FIXED

`commissionBase` string PROPERTY_PRICE, DEAL_VALUE, CUSTOM

`baseAmount` string Número decimal serializado como texto.

`percentage` string Número decimal serializado como texto.

`grossAmount` string Número decimal serializado como texto.

`currency` string

`reteFuente` string Número decimal serializado como texto.

`reteIca` string Número decimal serializado como texto.

`reteIva` string Número decimal serializado como texto.

`netAmount` string Número decimal serializado como texto.

`paidAmount` string Número decimal serializado como texto.

`invoiceNumber` string

`invoiceDate` string

`notes` string

`closedAt` string

`dealId` string

`createdAt` string

`updatedAt` string

**`deal` id · code · title · value · currency · closedAt · agent · contact · properties**

`id` string

`code` string

`title` string

`value` string Número decimal serializado como texto.

`currency` string

`closedAt` string

**`agent` id · name · email**

`id` string

`name` string

`email` string

**`contact` id · firstName · lastName · phone · email · documentNumber**

`id` string

`firstName` string

`lastName` string

`phone` string `null` si el contacto llegó por un canal sin número (Instagram, Facebook, chat de la web, correo o WhatsApp con usuario y número oculto)

`email` string

`documentNumber` string

**`properties[]` property**

`property` object

**`participants[]` id · role · splitPercent · splitAmount · paidAmount · userId · externalName · user · payouts**

`id` string

`role` string AGENCY, MAIN_AGENT, COLLABORATOR, EXTERNAL_REFERRAL, COLLABORATING_ORG

`splitPercent` string Número decimal serializado como texto.

`splitAmount` string Número decimal serializado como texto.

`paidAmount` string Número decimal serializado como texto.

`userId` string

`externalName` string

**`user` id · name · email**

`id` string

`name` string

`email` string

**`payouts[]` id · amount · currency · paidAt · method**

`id` string

`amount` string Número decimal serializado como texto.

`currency` string

`paidAt` string

`method` string TRANSFERENCIA, EFECTIVO, CHEQUE, CONSIGNACION, OTRO

**`payments[]` id · amount · currency · paymentDate · method · reference · recordedBy**

`id` string

`amount` string Número decimal serializado como texto.

`currency` string

`paymentDate` string

`method` string TRANSFERENCIA, EFECTIVO, CHEQUE, CONSIGNACION, OTRO

`reference` string

**`recordedBy` id · firstName · lastName · email**

`id` string

`firstName` string

`lastName` string

`email` string

## Possible errors

shaped as `{ "error": { "code", "message" } }`

- **401** UNAUTHORIZED
- **403** FORBIDDEN
- **404** NOT_FOUND
- **429** RATE_LIMITED
- **500** INTERNAL_ERROR

cURL:

```bash
curl "https://api.bydomu.com/v1/commissions/clx1com001" \
  -H "X-API-Key: $BYDOMU_API_KEY"
```

JavaScript:

```js
import { ByDomu } from "@bydomu/sdk";

const bydomu = new ByDomu({
  apiKey: process.env.BYDOMU_API_KEY,
});

const { data } = await bydomu.commissions.get("clx1com001");
```

Python:

```python
import os, requests

r = requests.get(
    "https://api.bydomu.com/v1/commissions/clx1com001",
    headers={"X-API-Key": os.environ["BYDOMU_API_KEY"]}
)
data = r.json()
```

**Response · 200 · example**

```json
{
  "data": {
    "id": "clx1com001",
    "referenceNumber": "COM-2026-0015",
    "status": "PENDIENTE",
    "commissionType": "PERCENTAGE",
    "commissionBase": "PROPERTY_PRICE",
    "baseAmount": "350000000.00",
    "percentage": "3.00",
    "grossAmount": "10500000.00",
    "currency": "COP",
    "reteFuente": "1050000.00",
    "reteIca": "105000.00",
    "reteIva": "0.00",
    "netAmount": "9345000.00",
    "paidAmount": "0.00",
    "invoiceNumber": "FE-1042",
    "invoiceDate": "2026-09-28T00:00:00.000Z",
    "notes": "Pendiente la escritura",
    "closedAt": "2026-09-20T16:00:00.000Z",
    "dealId": "clx1deal001",
    "createdAt": "2026-09-20T16:00:00.000Z",
    "updatedAt": "2026-09-25T10:00:00.000Z",
    "deal": {
      "id": "clx1deal001",
      "code": "N-0031",
      "title": "Venta Apto Chapinero",
      "value": "350000000.00",
      "currency": "COP",
      "closedAt": "2026-09-20T16:00:00.000Z",
      "agent": {
        "id": "clx1usr001",
        "name": "Carlos Rodríguez",
        "email": "carlos@inmobiliariaandes.co"
      },
      "contact": {
        "id": "clx1con001",
        "firstName": "María",
        "lastName": "González",
        "phone": "+573001234567",
        "email": "maria@email.com",
        "documentNumber": "1020304050"
      },
      "properties": [
        {
          "property": {
            "id": "clx1prop001",
            "title": "Apartamento en Chapinero con vista",
            "price": "450000000.00",
            "currency": "COP",
            "transactionType": "SALE"
          }
        }
      ]
    },
    "participants": [
      {
        "id": "clx1cpt001",
        "role": "AGENCY",
        "splitPercent": "60.00",
  …
```
