Uecko_ERP/modules/customer-invoices/src/common/dto/shared/tax-regime-ref.dto.ts
david 1c0235de75 feat: Enhance proforma issuance with tax regime support
- 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.
2026-07-09 13:07:48 +02:00

9 lines
203 B
TypeScript

import { z } from "zod/v4";
export const TaxRegimeRefSchema = z.object({
code: z.string(),
description: z.string().nullable(),
});
export type TaxRegimeRefDTO = z.infer<typeof TaxRegimeRefSchema>;