/** * Invoice Ninja Node - Version 2 * Discriminator: resource=quote, operation=create */ interface Credentials { invoiceNinjaApi: CredentialReference; } /** Create a new client */ export type InvoiceNinjaV2QuoteCreateParams = { resource: 'quote'; operation: 'create'; /** * API Version * @default v5 */ apiVersion?: 'v4' | 'v5' | Expression; /** * Additional Fields * @default {} */ additionalFields?: { /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ client?: string | Expression; /** Auto Bill * @default false */ autoBill?: boolean | Expression; /** Custom Value 1 * @default 0 */ customValue1?: number | Expression; /** Custom Value 2 * @default 0 */ customValue2?: number | Expression; /** Discount */ discount?: string | Expression | PlaceholderValue; /** Due Date */ dueDate?: string | Expression; /** Email */ email?: string | Expression | PlaceholderValue; /** Email Quote * @default false */ emailQuote?: boolean | Expression; /** Quote Date */ quoteDate?: string | Expression; /** Quote Number */ quoteNumber?: string | Expression | PlaceholderValue; /** Quote Status * @default 1 */ quoteStatus?: 1 | 2 | Expression; /** Is Amount Discount * @default false */ isAmountDiscount?: boolean | Expression; /** Paid * @default 0 */ paid?: number | Expression; /** Partial * @default 0 */ partial?: number | Expression; /** Partial Due Date */ partialDueDate?: string | Expression; /** Po Number */ poNumber?: string | Expression | PlaceholderValue; /** Private Notes */ privateNotes?: string | Expression | PlaceholderValue; /** Public Notes */ publicNotes?: string | Expression | PlaceholderValue; /** Tax Name 1 */ taxName1?: string | Expression | PlaceholderValue; /** Tax Name 2 */ taxName2?: string | Expression | PlaceholderValue; /** Tax Rate 1 * @default 0 */ taxRate1?: number | Expression; /** Tax Rate 2 * @default 0 */ taxRate2?: number | Expression; }; /** * Invoice Items * @default {} */ invoiceItemsUi?: { /** Invoice Item */ invoiceItemsValues?: Array<{ /** Cost * @default 0 */ cost?: number | Expression; /** Description */ description?: string | Expression | PlaceholderValue; /** Service */ service?: string | Expression | PlaceholderValue; /** Hours * @default 0 */ hours?: number | Expression; /** Tax Name 1 */ taxName1?: string | Expression | PlaceholderValue; /** Tax Name 2 */ taxName2?: string | Expression | PlaceholderValue; /** Tax Rate 1 * @default 0 */ taxRate1?: number | Expression; /** Tax Rate 2 * @default 0 */ taxRate2?: number | Expression; }>; }; }; export type InvoiceNinjaV2QuoteCreateNode = { type: 'n8n-nodes-base.invoiceNinja'; version: 2; credentials?: Credentials; config: NodeConfig; };