# This is the perfect File but no RFX:
# schema: cdfv32.xsd
# template: cfdv32.xml

{
    'emitter_domicile': 'Vauxoo SA de CV',
    'currency': 'MXN',
    'rate': '17.8',
    'pay_method': u'Pago en una sola exhibición',
    'certificate': 'CERTIFXSFT',
    'date_invoice_tz': '2016-06-01T06:07:08',
    'number': 'ABC456',
    'emitter_name': 'Vauxoo SA de CV',
    'emitter_street': 'Lunik 119',
    'emitter_zip': '37205',
    'emitter_colony': u'Futurama Monteérrey',
    'emitter_municipality': u'No se que iria',
    'emitter_state': u'Guanajuato',
    'emitter_locality': u'Guanajuato',
    'emitter_exterior_no': 123,
    'emitter_interior_no': 'N/A',
    'emitter_country': u'México',
    'emitter_issue_on_name': 'Vauxoo SA de CV',
    'emitter_issue_on_rfc': 'VAU111017CG9',
    'emitter_issue_on_street': 'Linuk 119',
    'emitter_issue_on_zip': '37205',
    'emitter_issue_on_colony': u'Futurama Monteérrey',
    'emitter_issue_on_municipality': u'No se que iria',
    'emitter_issue_on_state': u'Guanajuato',
    'emitter_issue_on_locality': u'Guanajuato',
    'emitter_issue_on_exterior_no': 123,
    'emitter_issue_on_interior_no': 'N/A',
    'emitter_issue_on_country': u'México',
    'receiver_name': 'Some Customer SC',
    'receiver_rfc': 'ECI0006019E0',
    'receiver_street': u'Av. Unión',
    'receiver_zip': '44158',
    'receiver_colony': u'Futurama Monteérrey',
    'receiver_municipality': u'No se que iria',
    'receiver_state': u'ECI0006019E0',
    'receiver_locality': u'Col. Deitz',
    'receiver_exterior_no': 125,
    'receiver_interior_no': 'N/A',
    'receiver_country': u'México',
    'certificate_number': '00001000000301059770',
    'emitter_fiscal_position': u'Personas morales del Régimen general',
    'document_type': 'ingreso',
    'amount_total': 100.0,
    'subtotal_wo_discount': 100.0,
    'serie': 'VAU',
    'invoice_lines': [
                      {'name': 'CPU XYZ',
                       'quantity': 1.0,
                       'subtotal_wo_discount': 50.0,
                       'code': 'XYZ',
                       'unit': 'Unidad',
                       'price_unit': 50.0},
    ],
    'taxes': {'total_withhold': 1.0,
              'total_transferred': 1.0,
              'withholding': [{'amount': 2.0,
                               'name': 'IVA', }],
              'transferred': [{'amount': 3.0,
                               'name': 'IVA',
                               'rate': 1.0}
                              ]},
    'you_can_use_unused_in_xsd': {'with_2_levels_or_more': {'third_level': '100'}},
}
