# Generated by Django 3.2.6 on 2023-01-16 01:37

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('Process', '0009_solicituddesbloqueost'),
    ]

    operations = [
        migrations.CreateModel(
            name='FacturacionOperacionV1',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False, verbose_name='ID:')),
                ('tipo', models.CharField(max_length=1, verbose_name='Tipo:')),
                ('serie', models.CharField(max_length=4, verbose_name='Serie:')),
                ('correlativo', models.IntegerField(default=0, verbose_name='Plazo:')),
                ('fecha', models.DateTimeField(auto_now=True, verbose_name='Fecha:')),
                ('fecha_emision', models.DateTimeField(null=True, verbose_name='Fecha Emision:')),
                ('fecha_envio', models.DateTimeField(null=True, verbose_name='Fecha Envio ok:')),
                ('fecha_error', models.DateTimeField(null=True, verbose_name='Fecha Error:')),
                ('errores', models.CharField(max_length=300, null=True, verbose_name='Errores:')),
                ('nro_doc', models.CharField(max_length=25, null=True, verbose_name='Nro Doc:')),
                ('razon', models.CharField(max_length=250, null=True, verbose_name='Razon:')),
                ('codigo_pro', models.CharField(max_length=8, null=True, verbose_name='Codigo:')),
                ('codigo_sunat', models.CharField(max_length=10, null=True, verbose_name='Codigo Sunat:')),
                ('descripcion', models.CharField(max_length=250, null=True, verbose_name='Razon:')),
                ('m_neto', models.DecimalField(decimal_places=4, default=0, max_digits=15, verbose_name='Monto neto:')),
                ('m_igv', models.DecimalField(decimal_places=4, default=0, max_digits=15, verbose_name='Monto IGV:')),
                ('m_total', models.DecimalField(decimal_places=4, default=0, max_digits=15, verbose_name='Monto total:')),
                ('monto_letras', models.CharField(max_length=250, null=True, verbose_name='Monto letras:')),
                ('idOperacion', models.CharField(max_length=15, null=True, verbose_name='Operacion:')),
                ('tabla', models.CharField(max_length=100, null=True, verbose_name='Tabla:')),
                ('estado', models.BooleanField(default=True, verbose_name='Estado transaccion:')),
                ('estado_sunat', models.CharField(max_length=20, verbose_name='Estado Sunat:')),
                ('fecha_tz_letras', models.CharField(max_length=25, null=True, verbose_name='Fecha TZ:')),
                ('cdr_id', models.CharField(max_length=20, null=True, verbose_name='cdr id:')),
                ('cdr_code', models.CharField(max_length=20, null=True, verbose_name='cdr code:')),
                ('cdr_description', models.CharField(max_length=250, null=True, verbose_name='cdr id:')),
                ('invoice_hash', models.CharField(max_length=50, null=True, verbose_name='hash:')),
                ('id_caja', models.IntegerField(default=0, verbose_name='ID Caja:')),
                ('id_empresa', models.IntegerField(default=0, verbose_name='ID Empresa:')),
            ],
            options={
                'verbose_name': 'Facturacion Operacion',
                'verbose_name_plural': 'Facturaciones operacion',
                'ordering': ['id'],
            },
        ),
    ]
