Skip to content

Commit

Permalink
Remove fecha operacion en facturas anuladoras
Browse files Browse the repository at this point in the history
  • Loading branch information
guilleJB committed Oct 23, 2024
1 parent dcc227a commit 4d3d041
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions sii/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,8 @@ def get_fact_rect_sustitucion_fields(invoice, opcion=False):
}

if 'out_' in invoice.type:
rectificativa_fields['FechaOperacion'] = get_fecha_operacion_rec(invoice)
pass
#rectificativa_fields['FechaOperacion'] = get_fecha_operacion_rec(invoice)

if opcion == 1:
factura_rectificada = invoice.rectifying_id
Expand Down Expand Up @@ -434,9 +435,10 @@ def get_factura_emitida(invoice, rect_sust_opc1=False, rect_sust_opc2=False):
'DetalleInmueble': detalle_inmueble
}
if invoice.rectificative_type in ('A', 'B'):
factura_expedida.update(
{'FechaOperacion': get_fecha_operacion_rec(invoice)}
)
pass
# factura_expedida.update(
# {'FechaOperacion': get_fecha_operacion_rec(invoice)}
# )
if rectificativa:
opcion = 0
if rect_sust_opc1:
Expand Down

0 comments on commit 4d3d041

Please sign in to comment.