/** * 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 { ItemClassification } from './itemClassification'; import type { ItemMetadata } from './itemMetadata'; /** * Product or service item */ export interface Item { /** @maxLength 36 */ id: string; /** @maxLength 500 */ name: string; /** * @maxLength 2000 * @nullable */ description?: string | null; /** * Item classification used for Portugal SAF-T product typing. * @nullable */ classification?: ItemClassification; /** Per-unit net price (before tax). Always stores net price. */ price: number; /** * Per-unit gross price (includes tax). Only present if user originally sent gross price. * @nullable */ gross_price?: number | null; tax_ids: string[]; /** * @minimum -140737488355328 * @maximum 140737488355327 */ total_tax: number; /** @maxLength 36 */ entity_id: string; metadata: ItemMetadata; /** @nullable */ deleted_at?: string | null; created_at: string; updated_at: string; } //# sourceMappingURL=item.d.ts.map