FactuGES_ERP/docs
david cf07de4836 feat: add proforma customer change evaluation utility
- Implemented `evaluateProformaCustomerChange` function to assess changes in customer details for proforma invoices.
- Introduced types for customer change details, blockers, field differences, and fiscal targets.
- Added utility functions for normalizing text and formatting recipient information.

test: add unit tests for customer payment resolver

- Created tests for `CustomerPaymentResolver` to validate payment term retrieval and handling of inactive terms.
- Ensured proper behavior when clearing payment terms and handling non-existent terms.

test: add unit tests for customer default payment term resolver

- Developed tests for `CustomerDefaultPaymentTermResolver` to verify default payment term resolution logic.
- Included scenarios for creating customers with and without explicit payment term IDs.

feat: implement customer default payment term resolver

- Created `CustomerDefaultPaymentTermResolver` to manage default payment term resolution during customer creation.
- Integrated with company finder and payment resolver services.

test: add unit tests for create customer use case

- Implemented tests for `CreateCustomerUseCase` to ensure correct handling of payment term IDs during customer creation.
- Validated behavior when no explicit payment term ID is provided.

test: add unit tests for update customer use case

- Developed tests for `UpdateCustomerUseCase` to verify payment term handling during customer updates.
- Ensured that inactive payment terms are not assigned and that explicit null values are respected.

feat: add dependency injection for customer company services

- Implemented DI for customer company dependencies to facilitate service resolution.

test: add tests for customer create data utility

- Created tests for `buildCustomerCreateData` to validate payment term handling based on user input.
2026-08-17 11:25:34 +02:00
..
architecture feat: add error handling and feedback state management for customer and proforma updates 2026-08-06 13:03:48 +02:00
catalogs feat: add proforma customer change evaluation utility 2026-08-17 11:25:34 +02:00
companies/sql feat: add proforma customer change evaluation utility 2026-08-17 11:25:34 +02:00
customer-invoices feat: add proforma customer change evaluation utility 2026-08-17 11:25:34 +02:00
customers feat: add proforma customer change evaluation utility 2026-08-17 11:25:34 +02:00
dev Actualización de documentación 2026-07-29 11:24:06 +02:00
document-series Característica: Mejora de los modelos de facturas proforma y emitidas con atributos de serie de documentos 2026-08-04 11:05:02 +02:00
factuges Refactor FactuGES Proforma Integration: Update Data Mapping and Add Documentation 2026-08-03 14:26:51 +02:00
frontend Docs 2026-07-06 17:47:05 +02:00
settings feat(verifactu): add company Verifactu profile management features 2026-08-12 13:31:31 +02:00
API.md Refactor documentation for ERP architecture and customer invoices 2026-08-05 13:18:03 +02:00
backend-prompt-base.md Refactor documentation for ERP architecture and customer invoices 2026-08-05 13:18:03 +02:00
CONVENCION NOMBRADO DE ESQUEMAS DTO.md Refactor documentation for ERP architecture and customer invoices 2026-08-05 13:18:03 +02:00
DsRegistroVeriFactu.xlsx . 2025-04-22 17:09:57 +02:00
DTOS - GUÍA DE DISEÑO.md Refactor documentation for ERP architecture and customer invoices 2026-08-05 13:18:03 +02:00
FACTURAS DE CLIENTE.md Refactor documentation for ERP architecture and customer invoices 2026-08-05 13:18:03 +02:00
prompt-auth.md Refactor documentation for ERP architecture and customer invoices 2026-08-05 13:18:03 +02:00
prompt-customer-invoices.md Refactor documentation for ERP architecture and customer invoices 2026-08-05 13:18:03 +02:00
README.md feat: add proforma customer change evaluation utility 2026-08-17 11:25:34 +02:00
REQUISITOS CLIENTES.md Refactor documentation for ERP architecture and customer invoices 2026-08-05 13:18:03 +02:00
REQUISITOS GENERALES.md Refactor documentation for ERP architecture and customer invoices 2026-08-05 13:18:03 +02:00
TEMPLATE.md Refactor documentation for ERP architecture and customer invoices 2026-08-05 13:18:03 +02:00

ERP Docs

Este directorio reúne la documentación técnica, operativa y de apoyo del ERP.

Cómo leer esta documentación

  • Empieza por este índice si necesitas orientarte.
  • Usa los documentos en subdirectorios temáticos como fuente de verdad operativa.
  • Trata los documentos marcados como históricos o legacy como contexto, no como contrato vigente.

Estructura documental

Documentación vigente

Arquitectura y runtime

Frontend

Customer invoices y proformas

Document series

Módulos y runtime local

Guías y estándares

  • [Guía de diseño de DTOs](./DTOS - GUÍA DE DISEÑO.md)
  • [Convención de nombres de schemas DTO](./CONVENCION NOMBRADO DE ESQUEMAS DTO.md)

SQL operativos y runbooks

Material auxiliar

Histórico, transicional o de descubrimiento

Estos documentos se conservan por trazabilidad, auditoría o contexto de decisiones. No deben usarse como fuente de verdad del runtime actual sin contrastarlos con la documentación vigente.

Regla práctica de mantenimiento

  • Los documentos operativos vigentes deben vivir en subdirectorios temáticos y tener una responsabilidad clara.
  • Los documentos raíz en mayúsculas o con naming heredado deben considerarse legacy o auxiliares salvo que este índice los declare explícitamente vigentes.
  • Si una regla ya tiene fuente canónica, los demás documentos deben resumirla y enlazarla, no copiarla.