/** * 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 { TaxMetadata } from './taxMetadata'; import type { TaxTaxRatesItem } from './taxTaxRatesItem'; /** * Tax definition with rate history */ export interface Tax { /** @maxLength 36 */ id: string; /** @maxLength 100 */ name: string; /** Tax rate history */ tax_rates: TaxTaxRatesItem[]; /** 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; /** @maxLength 36 */ entity_id: string; metadata: TaxMetadata; /** @nullable */ deleted_at?: string | null; created_at: string; updated_at: string; } //# sourceMappingURL=tax.d.ts.map