Ver nota de venta
GET /api/sale-note/find/{sale_note_id}
Autenticación: Bearer del usuario del tenant (Authorization: Bearer <api_token>).
Devuelve la nota de venta con cliente, totales, ítems y pagos. Un vendedor solo accede a las suyas (404 si no).
Quién puede usarlo: cualquier usuario autenticado (administrador o vendedor).
Parámetros
| Parámetro | Dónde | Obligatorio | Ejemplo | Descripción |
|---|---|---|---|---|
sale_note_id |
ruta | sí | 1 |
Respuestas
200 — Nota
{
"data": {
"id": 140,
"series": "NV01",
"number": 140,
"document_type_id": "80",
"date_of_issue": "2026-11-07",
"time_of_issue": "12:30:00",
"currency_type_id": "PEN",
"customer_name": "CLIENTES VARIOS",
"customer_number": "00000000",
"total_taxed": 5.94,
"total_igv": 1.06,
"total": 7.0,
"items": [
{
"description": "GASEOSA 500ML",
"quantity": 2,
"unit_price": 3.5,
"total": 7.0
}
],
"payments": [
{
"date_of_payment": "2026-11-07",
"payment_method_type_id": "01",
"payment": 7.0
}
]
}
}
404 — No encontrada
{
"success": false,
"message": "No se encontró la nota de venta solicitada."
}
Pruébalo
Prueba este endpoint con tu empresa y tu token: elige la URL en Servers, pega el token en Authorize y haz clic en Try it out.