|
id
|
|
|
company_id
|
|
|
branch_id
|
|
|
client_id
|
|
|
tipo_documento
|
|
|
serie
|
|
|
correlativo
|
|
|
numero_completo
|
|
|
fecha_emision
|
|
|
fecha_vencimiento
|
|
|
ubl_version
|
|
|
tipo_operacion
|
|
|
moneda
|
|
|
forma_pago_tipo
|
|
|
forma_pago_cuotas
|
|
|
valor_venta
|
|
|
mto_oper_gravadas
|
|
|
mto_oper_exoneradas
|
|
|
mto_oper_inafectas
|
|
|
mto_oper_exportacion
|
|
|
mto_oper_gratuitas
|
|
|
mto_igv_gratuitas
|
|
|
mto_igv
|
|
|
mto_base_ivap
|
|
|
mto_ivap
|
|
|
mto_isc
|
|
|
mto_icbper
|
|
|
mto_otros_tributos
|
|
|
mto_detraccion
|
|
|
mto_percepcion
|
|
|
mto_retencion
|
|
|
total_impuestos
|
|
|
sub_total
|
|
|
mto_imp_venta
|
|
|
mto_anticipos
|
|
|
detalles
|
|
|
leyendas
|
|
|
guias
|
|
|
documentos_relacionados
|
|
|
detraccion
|
|
|
percepcion
|
|
|
retencion
|
|
|
datos_adicionales
|
|
|
xml_path
|
|
|
cdr_path
|
|
|
pdf_path
|
|
|
estado_sunat
|
|
|
consulta_cpe_estado
|
|
|
consulta_cpe_respuesta
|
|
|
consulta_cpe_fecha
|
|
|
respuesta_sunat
|
|
|
codigo_hash
|
|
|
usuario_creacion
|
|
|
created_at
|
|
|
updated_at
|
|