Uecko_ERP_FactuGES_sync/app/utils/__init__.py
2026-03-17 11:33:37 +01:00

37 lines
1013 B
Python

from .importes_helper import (
apply_discount_cents4,
cents,
cents4,
money_round,
unscale_to_decimal,
unscale_to_str,
)
from .last_execution_helper import (
actualizar_fecha_ultima_ejecucion,
obtener_fecha_ultima_ejecucion,
)
from .mails_helper import corregir_y_validar_email
from .password import hashPassword
from .payloads_factuges import (
create_invoice_header,
insert_item_and_taxes,
)
from .send_orders_mail import send_orders_mail
from .send_rest_api import (
crear_factura_verifacti,
estado_factura,
insert_invoice_REST_API_FACTUGES,
validar_nif_verifacti,
)
from .tax_catalog_helper import (
TaxCatalog,
calc_item_tax_amount,
get_default_tax_catalog,
map_iva_code,
map_rec_by_iva_code,
tax_fraction_from_code,
)
from .telefonos_helper import normalizar_telefono_con_plus
from .text_converter import limpiar_cadena, text_converter
from .websites_helper import normalizar_url_para_insert