/** * 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 { CreateDocumentPaymentMetadata } from './createDocumentPaymentMetadata'; import type { CreateDocumentPaymentType } from './createDocumentPaymentType'; export interface CreateDocumentPayment { /** * @maxLength 36 * @nullable */ incoming_purchase_document_id?: string | null; /** * @maxLength 36 * @nullable */ applied_to_incoming_purchase_document_id?: string | null; /** * Payment amount. If not provided, uses the document total (total_with_tax) * @exclusiveMinimum 0 * @nullable */ amount?: number | null; /** Payment type/method */ type: CreateDocumentPaymentType; /** * Payment date in YYYY-MM-DD format. Defaults to today. * @nullable */ date?: string | null; /** @nullable */ tag?: string | null; /** @nullable */ reference?: string | null; /** @nullable */ note?: 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?: CreateDocumentPaymentMetadata; } //# sourceMappingURL=createDocumentPayment.d.ts.map