- Added tax regime to ProformaIssueReadModel and related services. - Implemented tax regime resolution in ProformaToIssuedInvoiceConverter. - Updated IssuedInvoiceFullSnapshotBuilder to include tax regime details. - Enhanced ProformaIssueReadModelAssembler to handle tax regime fetching. - Introduced IssueProformaResponseSnapshotBuilder for response mapping. - Updated routes and controllers to accommodate new proforma issuance logic. - Refactored request and response DTOs to include tax regime information. - Added command structure for issuing proformas. |
||
|---|---|---|
| .ai | ||
| .vscode | ||
| apps | ||
| docs | ||
| modules | ||
| packages | ||
| scripts | ||
| tools | ||
| .dockerignore | ||
| .editorconfig | ||
| .gitignore | ||
| AGENTS.md | ||
| biome.json | ||
| Dockerfile | ||
| eslint.config.mjs | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| tsconfig.base.json | ||
| tsconfig.json | ||
| turbo.json | ||
ERP Monorepo
Monorepo con aplicaciones, servidor y paquetes modulares para el ERP.
Estado actual
- El runtime nuevo de autenticación y sesión vive en
modules/identity. modules/companieses la fuente de verdad de la ficha operativa de empresa.modules/authdebe considerarse legacy/deprecated para backend nuevo.- El frontend ERP ya usa
@erp/identity/clientcomo runtime actual.
Documentación clave
- Docs index
- Identity and companies
- Tenant context y
X-Company-Id - Identity auth API
- Frontend auth and company selection
- Seed local admin
Reglas rápidas
- Backend nuevo: usar
@erp/identity/api. - Rutas solo autenticadas:
requireIdentityAuthenticated(params). - Rutas tenant-scoped:
requireIdentityTenant(params). GET /companies/availablees el endpoint vigente para companies accesibles.- No documentar ni introducir
GET /identity/companies. - No meter
companyIdnicompanySlugdentro del access token.