|
id
|
bigint(20) unsigned
|
|
|
|
|
proveedor_id
|
int(10) unsigned
|
|
|
|
|
numero_factura
|
varchar(80)
|
|
|
|
|
fecha_factura
|
date
|
|
|
|
|
subtotal_factura
|
decimal(14,4)
|
|
|
0.0000
|
|
total_iva
|
decimal(14,4)
|
|
|
0.0000
|
|
total_ice
|
decimal(14,4)
|
|
|
0.0000
|
|
total_factura
|
decimal(14,2)
|
|
|
0.00
|
|
observaciones
|
text
|
|
|
|
|
estado
|
enum
|
-- |
|
BORRADOR
|
|
usuario_id
|
int(10) unsigned
|
|
|
1
|
|
fecha_confirmacion
|
datetime
|
|
|
|
|
created_at
|
timestamp
|
|
|
current_timestamp()
|