import { CountryCodeSchema, PostalCodeSchema, TinSchema } from "@erp/core"; import { z } from "zod/v4"; export const IssuedInvoiceRecipientSummarySchema = z.object({ id: z.uuid(), tin: TinSchema, name: z.string(), street: z.string().nullable(), street2: z.string().nullable(), city: z.string().nullable(), province: z.string().nullable(), postal_code: PostalCodeSchema.nullable(), country: CountryCodeSchema.nullable(), }); export type IssuedInvoiceRecipientSummaryDTO = z.infer;