- 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.
9 lines
203 B
TypeScript
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>;
|