feat: Implement invoice management module with CRUD operations

- Added InvoiceHeader, InvoiceComplianceMx, InvoiceFinancials, InvoiceLogistics, InvoiceSalesDetails, and InvoiceCollections models.
- Created schemas for invoice operations including create, update, and response schemas.
- Developed services for handling business logic related to invoices, including retrieval, creation, updating, and deletion of invoices and their related data.
- Introduced routes for invoice management, enabling CRUD operations through a RESTful API.
- Integrated invoice routes into the main application router.
- Removed unused routers from the core module to streamline the API structure.
This commit is contained in:
2025-12-09 16:00:46 -06:00
parent ef1a8d743e
commit 7e9c8397ef
7 changed files with 1094 additions and 9 deletions

View File

@@ -6,6 +6,7 @@ Agrega todos los módulos de la aplicación
from fastapi import APIRouter
# Importar routers de módulos
from .modules.core.router import router as core_router
from .modules.a76.router import router as a76_router
from .modules.public.router import router as public_router
@@ -13,6 +14,7 @@ from .modules.public.router import router as public_router
router = APIRouter()
# Registrar módulos
router.include_router(core_router)
router.include_router(a76_router)
router.include_router(public_router)