/** * Generated by orval v8.5.3 🍺 * Do not edit manually. * Space Invoices API * REST API for invoice management, customer management, and accounting operations. Features include cursor-based pagination for efficient data navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and comprehensive metadata support for custom tracking. * OpenAPI spec version: 1.0.0 */ import type { ReplaceTaxBodyMetadata } from './replaceTaxBodyMetadata'; import type { ReplaceTaxBodyTaxRatesItem } from './replaceTaxBodyTaxRatesItem'; export type ReplaceTaxBody = { /** @maxLength 100 */ name?: string; /** @minItems 1 */ tax_rates: ReplaceTaxBodyTaxRatesItem[]; /** Whether this is the default tax for new documents. Only one tax per entity can be default. */ is_default?: boolean; /** * Classification for API tax lookups (e.g., "standard", "reduced", "zero"). Unique per entity. Can be used instead of rate when creating documents. * @nullable */ classification?: string | null; /** * Portugal exemption code for 0% / exempt / non-subject taxes. * @nullable */ pt_exemption_code?: string | null; /** * Portugal exemption reason associated with pt_exemption_code. * @nullable */ pt_exemption_reason?: string | null; /** * Custom key-value data for your own use. Store any JSON object up to 50 properties. Values must be strings up to 250 characters. Useful for storing external IDs, tags, or integration data. * @nullable */ metadata?: ReplaceTaxBodyMetadata; }; //# sourceMappingURL=replaceTaxBody.d.ts.map