/** * 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 { CreateItemBodyClassification } from './createItemBodyClassification'; import type { CreateItemBodyMetadata } from './createItemBodyMetadata'; import type { CreateItemBodyTaxesItem } from './createItemBodyTaxesItem'; export type CreateItemBody = { /** @minLength 1 */ name: string; /** * @maxLength 2000 * @nullable */ description?: string | null; /** * Item classification used for Portugal SAF-T item/service typing. * @nullable */ classification?: CreateItemBodyClassification; /** Net price per unit (before tax). Provide either price OR gross_price, not both. */ price?: number; /** Gross price per unit (includes tax). If provided, net price is calculated. Provide either price OR gross_price, not both. */ gross_price?: number; tax_ids?: string[]; /** * 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?: CreateItemBodyMetadata; /** * Taxes for the item. Provide rate to auto-create, or classification to lookup existing tax. * @maxItems 2 * @nullable */ taxes?: CreateItemBodyTaxesItem[] | null; }; //# sourceMappingURL=createItemBody.d.ts.map