v0.2.1
This commit is contained in:
parent
eedb555096
commit
615b309718
@ -94,7 +94,7 @@ def sync_invoices_from_FACTUGES(conn_mysql, filas, conn_factuges, config):
|
||||
if factura_payload is not None:
|
||||
logger.info(">>>> Se cambia de factura y vamos a insertar la anterior")
|
||||
|
||||
resultado_rest = insert_invoice_REST_API_FACTUGES(factura_payload)
|
||||
resultado_rest = insert_invoice_REST_API_FACTUGES(factura_payload, config)
|
||||
logger.info(resultado_rest)
|
||||
num_fac_procesed += 1
|
||||
|
||||
@ -161,7 +161,7 @@ def sync_invoices_from_FACTUGES(conn_mysql, filas, conn_factuges, config):
|
||||
if factura_payload is not None:
|
||||
logger.info(">>>> Última factura y vamos a insertar")
|
||||
|
||||
resultado_rest = insert_invoice_REST_API_FACTUGES(factura_payload)
|
||||
resultado_rest = insert_invoice_REST_API_FACTUGES(factura_payload, config)
|
||||
logger.info(resultado_rest)
|
||||
num_fac_procesed += 1
|
||||
|
||||
|
||||
@ -161,7 +161,8 @@ def validar_nif_verifacti(
|
||||
|
||||
|
||||
def insert_invoice_REST_API_FACTUGES(
|
||||
payload
|
||||
payload,
|
||||
config,
|
||||
) -> Dict[str, Any]:
|
||||
"""
|
||||
Llama a la REST API de FACTUGES para insertar una proforma aprobada.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user