Inteligencia Artificial & Lotes FIFO • Gemini Vision & Excel/CSV

Carga Inteligente de Facturas

Sube una foto de factura de proveedor, PDF o archivo Excel. La IA extrae los ítems y detecta subidas de costo para revalorizar tu vitrina.

← Volver al Inventario
@if(!$hasExtracted)

Sube la Factura o Nota de Entrega

Formatos soportados: Foto de cámara (JPG, PNG), Documento PDF, o lista en Excel/CSV.

@if($invoiceFile)
{{ $invoiceFile->getClientOriginalName() }}
@endif @error('invoiceFile')

{{ $message }}

@enderror
@else

Datos del Proveedor & Factura

@if($paymentType === 'cash')
@else
@endif

Prendas Detectadas por la IA

Verifica los costos y ajusta el precio de venta al público sugerido.

@foreach($items as $index => $item) @endforeach
Prenda / Modelo Variante (Color/Talla) Cant. Costo Unit. Subtotal Estado / Alerta Nuevo Precio Venta ($) Acción
@if($item['matched_variant_id']) ✓ Enlazado a catálogo: {{ $item['matched_product_name'] }} @else + Se creará como producto nuevo @endif
$
${{ number_format((float)($item['quantity'] ?? 0) * (float)($item['unit_cost_usdt'] ?? 0), 2) }} @if($item['has_cost_increase'])
⚠️ Subió +{{ $item['cost_increase_pct'] }}% Antes ${{ number_format($item['previous_cost_usdt'], 2) }} • {{ $item['current_stock'] }} en tienda
@else Normal @endif
$
Total Factura ${{ number_format($totalInvoiceUsdt, 2) }} USDT
Total Prendas {{ $totalItemsCount }} piezas
@endif