Commit Graph

13 Commits

Author SHA1 Message Date
f9f87a5e0c Remove SITAR external OpenAPI snapshot and README 2026-05-08 14:51:02 -06:00
315c94219b feature/api-sittar-actualizacion 2026-05-08 12:54:19 -06:00
3c40a48cb7 feature/api-sitar-frac-ame 2026-04-24 09:58:22 -06:00
23509cbcc9 Refactor DTO classes to use model_config with ConfigDict for attribute handling
- Updated multiple DTO classes across various modules to replace the `Config` class with `model_config = ConfigDict(from_attributes=True)`.
- This change enhances consistency in attribute handling and aligns with the latest Pydantic practices.
- Adjusted error handling in core modules to change status codes from `HTTP_422_UNPROCESSABLE_ENTITY` to `HTTP_422_UNPROCESSABLE_CONTENT` for improved clarity in validation responses.
2026-03-24 12:06:55 -05:00
d69dd23bcd Enhance invoice processing logic for IMD and Mexican purchases
- Updated validation logic to restrict 'IMD' document type usage unless the invoice type is 'DEF'.
- Refactored value assignment in the main processing flow to handle 'DEF' and 'MEX' invoice types with specific IVA calculations.
- Added logging for invoice processing to improve traceability and debugging.

These changes improve the accuracy of invoice validations and processing for specific document types.
2026-03-23 11:42:35 -05:00
AlexeerCT
a4cf394447 Update Docker Compose files for production environment and enhance unit of measure handling
- Changed the default environment variable from 'development' to 'production' in docker-compose.prod.yml and docker-compose.yml.
- Added SITAR API credentials to the environment variables in both Docker Compose files.
- Updated the seed data for customs units of measure to include a76_unit_code.
- Refactored the UnitOfMeasureCustoms model and related DTOs to replace scaii_unit_code with a76_unit_code for consistency.
- Adjusted frontend components to reflect the updated unit of measure structure and ensure proper handling of the new a76_unit_code field.
2026-03-15 20:52:01 -06:00
Galindo97
95940ed91e feat: Add dialog for creating and editing historical tariff fractions and implement deterministic sorting for fraction listings. 2026-02-17 12:51:47 -06:00
Galindo97
da43659eb3 feat: Add Canadian fraction management dialog, implement debounced search for historical fractions and sectors, and enhance USA fraction search with description support. 2026-02-17 11:50:50 -06:00
Galindo97
2a0480a7f3 feat: Add general catalogs for historical, Canadian, US, and SITAR tariff fractions and sectors with full stack implementation. 2026-02-17 10:22:54 -06:00
Galindo97
79a9f72741 feat: Introduce a new TariffFractionSelector component, refactor tariff fraction handling across frontend forms and backend services, and add a company amendment database migration. 2026-02-16 11:37:06 -06:00
c011d7ad65 feat: enhance invoice and item validation by adding new checks and updating schemas 2026-02-12 17:00:12 -06:00
c92d0a3e16 feat: Enhance PROSEC service and router with additional query parameters for sector and articulo 2026-02-05 12:57:33 -06:00
f38c13f851 feat: Implement SITAR modules for PROSEC, RCG2, Regulaciones, REIT, RequisitoPrevio, TLCS, and Vehiculos
- Added schemas, services, and routers for PROSEC, RCG2, Regulaciones, REIT, RequisitoPrevio, TLCS, and Vehiculos modules.
- Each module includes search and get by ID functionalities.
- Integrated FastAPI routers for each module into the main SITAR router.
- Ensured proper response models using Pydantic for data validation.
2026-02-04 23:28:46 -06:00