Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
// This file is auto-generated. Do not edit directly.
import { z } from 'zod';
import { TaxExemptionReasonSchema } from './TaxExemptionReason';
export const TaxExemptionCertificateSchema = z.object({
id: z.string(),
certificate_number: z.string(),
status: z.string(),
issuing_authority: z.string().nullable(),
metadata: z.record(z.string(), z.unknown()).nullable(),
issued_at: z.string().nullable(),
expires_at: z.string().nullable(),
verified_at: z.string().nullable(),
created_at: z.string(),
updated_at: z.string(),
company_id: z.string(),
tax_exemption_reason_id: z.string(),
tax_exemption_reason: TaxExemptionReasonSchema.optional(),
country_code: z.string().nullable(),
state_code: z.string().nullable(),
active: z.boolean(),
lapsed: z.boolean(),
can_be_deleted: z.boolean(),
document_filename: z.string().nullable(),
document_byte_size: z.number().nullable(),
document_url: z.string().nullable(),
});
export type TaxExemptionCertificate = z.infer<typeof TaxExemptionCertificateSchema>;