import type { line_item_LineItem } from './line_item_LineItem'; import type { payment_PaymentMethodPreference } from './payment_PaymentMethodPreference'; export type invoice_CreateInvoiceRequest = { /** * ClientID is the client the invoice is billed to. */ clientId?: string; /** * CollectionMethod is how the invoice is collected. */ collectionMethod?: invoice_CreateInvoiceRequest.collectionMethod; /** * CompanyID is the company the invoice is billed to. */ companyId?: string; /** * Currency is the ISO currency code. */ currency?: string; /** * DaysUntilDue sets the due date relative to creation, as an alternative to dueDate. */ daysUntilDue?: number; /** * DueDate is the date the invoice is due. */ dueDate?: string; /** * LineItems are the invoice line items. */ lineItems?: Array; /** * Memo is an optional note shown on the invoice. */ memo?: string; /** * PaymentMethodPreferences restricts which payment methods are offered. */ paymentMethodPreferences?: Array; /** * RecipientID is the recipient (client or company) of the invoice. */ recipientId?: string; /** * SubscriptionID optionally associates the invoice with a subscription. */ subscriptionId?: string; /** * TaxPercentage is an optional tax rate applied to the invoice. */ taxPercentage?: number; /** * TemplateID optionally seeds the invoice from an invoice template. */ templateId?: string; }; export declare namespace invoice_CreateInvoiceRequest { /** * CollectionMethod is how the invoice is collected. */ enum collectionMethod { SEND_INVOICE = "sendInvoice", CHARGE_AUTOMATICALLY = "chargeAutomatically", PAYMENT_LINK = "paymentLink" } }