Skip to content

Commit 4d3d041

Browse files
committed
Remove fecha operacion en facturas anuladoras
1 parent dcc227a commit 4d3d041

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

sii/resource.py

+6-4
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,8 @@ def get_fact_rect_sustitucion_fields(invoice, opcion=False):
344344
}
345345

346346
if 'out_' in invoice.type:
347-
rectificativa_fields['FechaOperacion'] = get_fecha_operacion_rec(invoice)
347+
pass
348+
#rectificativa_fields['FechaOperacion'] = get_fecha_operacion_rec(invoice)
348349

349350
if opcion == 1:
350351
factura_rectificada = invoice.rectifying_id
@@ -434,9 +435,10 @@ def get_factura_emitida(invoice, rect_sust_opc1=False, rect_sust_opc2=False):
434435
'DetalleInmueble': detalle_inmueble
435436
}
436437
if invoice.rectificative_type in ('A', 'B'):
437-
factura_expedida.update(
438-
{'FechaOperacion': get_fecha_operacion_rec(invoice)}
439-
)
438+
pass
439+
# factura_expedida.update(
440+
# {'FechaOperacion': get_fecha_operacion_rec(invoice)}
441+
# )
440442
if rectificativa:
441443
opcion = 0
442444
if rect_sust_opc1:

0 commit comments

Comments
 (0)