{
    'certificate': 'CERTIFXSFT',
    'serie': 'VAU',
    'number': 'ABC456',
    'date_invoice_tz': '2016-06-01T06:07:08',
    'payment_policy': '99',
    'certificate_number': '00001000000301059770',
    'subtotal': 100.0,
    'discount_amount': 10.0,
    'currency': 'MXN',
    'rate': '1',
    'amount_total': 90.0,
    'document_type': 'N',
    'emitter_zip': '37205',
    'cfdi_related_type': '01',
    'cfdi_related': [{'uuid': '61C47F1C-B9A6-4E99-ABFD-C967E07D476E'}],
    'emitter_rfc': 'VAU111017CG9',
    'emitter_name': 'Vauxoo SA de CV',
    'emitter_fiscal_position': '601',
    'receiver_rfc': 'ECI0006019E0',
    'receiver_name': 'Some Customer SC',
    'receiver_reg_trib': '0000000000000',
    'receiver_use_cfdi': 'G03',
    'invoice_lines': [{
        'price_unit': 50.0,
        'subtotal_wo_discount': 50.0,
        'discount': 10.0,
    }],
    'taxes': {
        'total_transferred': '0.00',
        'total_withhold': '0.00',
    },
    'payroll': {
        'type': 'O',
        'payment_date': '2017-01-15',
        'date_from': '2017-01-01',
        'date_to': '2017-01-15',
        'number_of_days': "15",
        'curp_emitter': '',
        'employer_register': '1203256',
        'vat_emitter': 'AAA010101AAA',
        'date_start': '2017-01-01',
        'seniority_emp': 'P0W',
        'curp_emp': 'PUXB571021HNELXR00',
        'nss_emp': '123456789236958',
        'contract_type': '01',
        'emp_syndicated': 'No',
        'working_day': '01',
        'emp_regimen_type': '02',
        'no_emp': '1',
        'departament': 'Research & Development',
        'emp_job': 'Experienced Developer',
        'emp_risk': '1',
        'payment_periodicity': '01',
        'emp_bank': '012',
        'emp_account': '1234567890',
        'emp_base_salary': 5000.0,
        'emp_diary_salary': 1000.0,
        'emp_state': 'GUA',
        'total_compensation': 0.0,
        'total_retirement': 0.0,
        'total_salaries': 13000.0,
        'total_taxed': 500.0,
        'total_exempt': 12500.0,
        'total_perceptions': 13000.0,
        'perceptions': [{
            'type': '001',
            'key': '001',
            'concept': 'Sueldos, Salarios Rayas y Jornales',
            'amount_e': 12500.0,
        }, {
            'type': '005',
            'key': '005',
            'concept': 'Fondo de Ahorro',
            'amount_g': 200.0,
        }, {
            'type': '019',
            'key': '019',
            'concept': 'Horas extra',
            'amount_g': 300.0,
            'extra_hours': [{
                'days': 3,
                'type': '01',
                'amount': 300.0,
                'hours': 3,
            }],
        }],
        'total_deductions': 2400.0,
        'total_other_deductions': 400.0,
        'show_total_taxes_withheld': True,
        'total_taxes_withheld': 2000.0,
        'deductions': [{
            'type': '001',
            'key': '001',
            'concept': 'Seguridad social',
            'amount': 300.0,
        }, {
            'type': '002',
            'key': '002',
            'concept': 'ISR',
            'amount': 2000.0,
        }, {
            'type': '006',
            'key': '006',
            'concept': 'Descuento por incapacidad',
            'amount': 100.0,
        }],
        'inabilities': [{
            'days': 3,
            'type': '02',
            'amount': 100.0,
        }],
        'total_other': 300.0,
        'other_payments': [{
            'type': '003',
            'key': '003',
            'concept': 'Viaticos - entregados al trabajador',
            'amount': 300,
        }],
    },
}
