The Remito Details API manages the individual line items (detalles) that make up a dispatch note (remito). Each detail links a remito to a specific donation item (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/alvarezlautaro/BancoAlimentos/llms.txt
Use this file to discover all available pages before exploring further.
idItemDonacion) and records the quantity dispatched. Line items are identified by a UUID (externalId) and can be created in bulk by supplying a JSON array in a single POST request.
Base URL
Path parameters use UUID format for the
externalId of a detail, but the idRemito and idItemDonacion query/path parameters remain Long integers.Endpoints
List all remito details (paginated)
Bearer token with the
DETALLE_REMITO_VER authority.Zero-based page index. Default:
0.Number of records per page. Default:
10.Sort field and direction (e.g.
idRemito,asc).200 OK — Spring Page<DetalleRemitoResponse> envelope.
Get details by remito ID
Bearer token with the
DETALLE_REMITO_VER authority.Internal numeric ID of the remito whose details to retrieve.
200 OK
Get details by donation item ID
Bearer token with the
DETALLE_REMITO_VER authority.Internal numeric ID of the donation item to look up across all remitos.
200 OK — JSON array of DetalleRemitoResponse objects.
Bulk create remito details
Bearer token with the
DETALLE_REMITO_CREAR authority.This endpoint accepts a JSON array of
NuevoDetalleRemito objects, not a single object. All items in the array are persisted atomically in one request.List<NuevoDetalleRemito>
Each element in the array must contain:
Internal numeric ID of the parent remito.
Internal numeric ID of the donation item being dispatched.
Quantity dispatched. Must be at least
1.| Code | Meaning |
|---|---|
201 Created | All details created successfully |
400 Bad Request | Invalid request data |
404 Not Found | Remito or donation item not found |
422 Unprocessable Entity | Business rule violation |
201 Created — JSON array of the created DetalleRemitoResponse objects.
Update remito detail
Bearer token with the
DETALLE_REMITO_ACTUALIZAR authority.UUID of the detail to update.
DetalleRemitoRequest
Must match the path parameter UUID.
Internal numeric ID of the parent remito.
Internal numeric ID of the donation item.
Updated quantity. Must be at least
1.200 OK — returns the updated DetalleRemitoResponse.
Delete remito detail
Bearer token with the
DETALLE_REMITO_ELIMINAR authority.UUID of the detail to delete.
204 No Content — empty body on success.
Data models
NuevoDetalleRemito
| Field | Type | Required | Constraints |
|---|---|---|---|
idRemito | Long | ✅ | Must not be null |
idItemDonacion | Long | ✅ | Must not be null |
cantidad | integer | ✅ | Must be at least 1 |
DetalleRemitoRequest
| Field | Type | Required | Constraints |
|---|---|---|---|
externalId | UUID | ✅ | Must match the path parameter |
idRemito | Long | ✅ | Must not be null |
idItemDonacion | Long | ✅ | Must not be null |
cantidad | integer | ✅ | Must be at least 1 |
DetalleRemitoResponse
Unique identifier of the remito detail.
Internal ID of the parent remito.
Internal ID of the dispatched donation item.
Quantity of the donation item dispatched.