interface InvoiceNinjaNodeParameters {
additionalFields?:
| {
clientName?: string;
idNumber?: string;
privateNotes?: string;
vatNumber?: string;
website?: string;
workPhone?: string;
}
| {
autoBill?: boolean;
client?: string;
customValue1?: number;
customValue2?: number;
discount?: string;
dueDate?: string;
email?: string;
emailInvoice?: boolean;
invoiceDate?: string;
invoiceNumber?: string;
invoiceStatus?: 1
| 2;
isAmountDiscount?: boolean;
markSent?: boolean;
paid?: number;
partial?: number;
partialDueDate?: string;
poNumber?: string;
privateNotes?: string;
publicNotes?: string;
taxName1?: string;
taxName2?: string;
taxRate1?: number;
taxRate2?: number;
}
| {
client?: string;
customValue1?: string;
customValue2?: string;
description?: string;
project?: string;
}
| {
paymentType?: | 1
| 3
| 2
| 4
| 5
| 10
| 15
| 6
| 7
| 28
| 8
| 32
| 17
| 16
| 13
| 9
| 11
| 31
| 24
| 19
| 20
| 21
| 27
| 12
| 14
| 30
| 29
| 22
| 23
| 25
| 18
| 26;
privateNotes?: string;
transferReference?: string;
}
| {
paymentType?: | 1
| 2
| 4
| 5
| 10
| 15
| 6
| 7
| 28
| 8
| 32
| 17
| 16
| 13
| 9
| 11
| 31
| 24
| 19
| 20
| 21
| 27
| 12
| 30
| 29
| 22
| 18
| 33
| 34
| 35
| 36
| 37
| 38
| 39
| 40
| 41
| 42
| 43
| 44
| 45
| 46
| 47
| 48
| 49
| 50
| 51
| 52;
privateNotes?: string;
transferReference?: string;
}
| {
amount?: number;
billable?: boolean;
category?: string;
client?: string;
customValue1?: string;
customValue2?: string;
expenseDate?: string;
paymentDate?: string;
paymentType?: | 1
| 3
| 2
| 4
| 5
| 10
| 15
| 6
| 7
| 28
| 8
| 32
| 17
| 16
| 13
| 9
| 11
| 31
| 24
| 19
| 20
| 21
| 27
| 12
| 14
| 30
| 29
| 22
| 23
| 25
| 18
| 26;
privateNotes?: string;
publicNotes?: string;
taxName1?: string;
taxName2?: string;
taxRate1?: number;
taxRate2?: number;
transactionReference?: string;
vendor?: string;
}
| {
amount?: number;
billable?: boolean;
category?: string;
client?: string;
customValue1?: string;
customValue2?: string;
expenseDate?: string;
paymentDate?: string;
paymentType?: | 1
| 2
| 4
| 5
| 10
| 15
| 6
| 7
| 28
| 8
| 32
| 17
| 16
| 13
| 9
| 11
| 31
| 24
| 19
| 20
| 21
| 27
| 12
| 30
| 29
| 22
| 18
| 33
| 34
| 35
| 36
| 37
| 38
| 39
| 40
| 41
| 42
| 43
| 44
| 45
| 46
| 47
| 48
| 49
| 50
| 51
| 52;
privateNotes?: string;
publicNotes?: string;
taxName1?: string;
taxName2?: string;
taxRate1?: number;
taxRate2?: number;
transactionReference?: string;
vendor?: string;
}
| {
autoBill?: boolean;
client?: string;
customValue1?: number;
customValue2?: number;
discount?: string;
dueDate?: string;
email?: string;
emailQuote?: boolean;
isAmountDiscount?: boolean;
paid?: number;
partial?: number;
partialDueDate?: string;
poNumber?: string;
privateNotes?: string;
publicNotes?: string;
quoteDate?: string;
quoteNumber?: string;
quoteStatus?: 1
| 2;
taxName1?: string;
taxName2?: string;
taxRate1?: number;
taxRate2?: number;
}
| {
amount?: number;
bankIntegrationId?: string;
baseType?: "CREDIT"
| "DEBIT";
currencyId?: string;
date?: string;
description?: string;
};
amount?: number;
apiVersion?: "v4"
| "v5";
bankTransactionId?: string;
billingAddressUi?: {
billingAddressValue: {
aptSuite?: string;
city?: string;
countryCode?: string;
postalCode?: string;
state?: string;
streetAddress?: string;
};
};
clientId?: string;
contactsUi?: {
contacstValues: {
email?: string;
firstName?: string;
lastName?: string;
phone?: string;
}[];
};
expenseId?: string;
invoice?: string;
invoiceId?: string;
invoiceItemsUi?: {
invoiceItemsValues: {
cost?: number;
description?: string;
hours?: number;
service?: string;
taxName1?: string;
taxName2?: string;
taxRate1?: number;
taxRate2?: number;
}[];
};
limit?: number;
operation?: | "create"
| "get"
| "getAll"
| "delete"
| "email"
| "matchPayment";
options?: | { include?: "invoices" }
| {
createdAt?: string;
include?: "invoices";
isDeleted?: boolean;
status?: "deleted" | "active" | "archived";
updatedAt?: string;
}
| { include?: "client" }
| {
clientStatus?:
| "all"
| "overdue"
| "paid"
| "unpaid";
createdAt?: string;
include?: "client";
invoiceNumber?: string;
isDeleted?: boolean;
status?: "deleted"
| "active"
| "archived";
updatedAt?: string;
}
| {
createdAt?: string;
include?: "client";
isDeleted?: boolean;
status?: "deleted"
| "active"
| "archived";
updatedAt?: string;
}
| {
createdAt?: string;
include?: "client";
isDeleted?: boolean;
quoteNumber?: string;
status?: "deleted"
| "active"
| "archived";
updatedAt?: string;
};
paymentId?: string;
quoteId?: string;
resource?: | "task"
| "invoice"
| "client"
| "expense"
| "bank_transaction"
| "payment"
| "quote";
returnAll?: boolean;
shippingAddressUi?: {
shippingAddressValue: {
aptSuite?: string;
city?: string;
countryCode?: string;
postalCode?: string;
state?: string;
streetAddress?: string;
};
};
taskId?: string;
timeLogsUi?: {
timeLogsValues: {
duration?: number;
endDate?: string;
startDate?: string;
}[];
};
}
Properties§
Source§readonly additional Fields?:
| {
clientName?: string;
idNumber?: string;
privateNotes?: string;
vatNumber?: string;
website?: string;
workPhone?: string;
}
| {
autoBill?: boolean;
client?: string;
customValue1?: number;
customValue2?: number;
discount?: string;
dueDate?: string;
email?: string;
emailInvoice?: boolean;
invoiceDate?: string;
invoiceNumber?: string;
invoiceStatus?: 1
| 2;
isAmountDiscount?: boolean;
markSent?: boolean;
paid?: number;
partial?: number;
partialDueDate?: string;
poNumber?: string;
privateNotes?: string;
publicNotes?: string;
taxName1?: string;
taxName2?: string;
taxRate1?: number;
taxRate2?: number;
}
| {
client?: string;
customValue1?: string;
customValue2?: string;
description?: string;
project?: string;
}
| {
paymentType?: | 1
| 3
| 2
| 4
| 5
| 10
| 15
| 6
| 7
| 28
| 8
| 32
| 17
| 16
| 13
| 9
| 11
| 31
| 24
| 19
| 20
| 21
| 27
| 12
| 14
| 30
| 29
| 22
| 23
| 25
| 18
| 26;
privateNotes?: string;
transferReference?: string;
}
| {
paymentType?: | 1
| 2
| 4
| 5
| 10
| 15
| 6
| 7
| 28
| 8
| 32
| 17
| 16
| 13
| 9
| 11
| 31
| 24
| 19
| 20
| 21
| 27
| 12
| 30
| 29
| 22
| 18
| 33
| 34
| 35
| 36
| 37
| 38
| 39
| 40
| 41
| 42
| 43
| 44
| 45
| 46
| 47
| 48
| 49
| 50
| 51
| 52;
privateNotes?: string;
transferReference?: string;
}
| {
amount?: number;
billable?: boolean;
category?: string;
client?: string;
customValue1?: string;
customValue2?: string;
expenseDate?: string;
paymentDate?: string;
paymentType?: | 1
| 3
| 2
| 4
| 5
| 10
| 15
| 6
| 7
| 28
| 8
| 32
| 17
| 16
| 13
| 9
| 11
| 31
| 24
| 19
| 20
| 21
| 27
| 12
| 14
| 30
| 29
| 22
| 23
| 25
| 18
| 26;
privateNotes?: string;
publicNotes?: string;
taxName1?: string;
taxName2?: string;
taxRate1?: number;
taxRate2?: number;
transactionReference?: string;
vendor?: string;
}
| {
amount?: number;
billable?: boolean;
category?: string;
client?: string;
customValue1?: string;
customValue2?: string;
expenseDate?: string;
paymentDate?: string;
paymentType?: | 1
| 2
| 4
| 5
| 10
| 15
| 6
| 7
| 28
| 8
| 32
| 17
| 16
| 13
| 9
| 11
| 31
| 24
| 19
| 20
| 21
| 27
| 12
| 30
| 29
| 22
| 18
| 33
| 34
| 35
| 36
| 37
| 38
| 39
| 40
| 41
| 42
| 43
| 44
| 45
| 46
| 47
| 48
| 49
| 50
| 51
| 52;
privateNotes?: string;
publicNotes?: string;
taxName1?: string;
taxName2?: string;
taxRate1?: number;
taxRate2?: number;
transactionReference?: string;
vendor?: string;
}
| {
autoBill?: boolean;
client?: string;
customValue1?: number;
customValue2?: number;
discount?: string;
dueDate?: string;
email?: string;
emailQuote?: boolean;
isAmountDiscount?: boolean;
paid?: number;
partial?: number;
partialDueDate?: string;
poNumber?: string;
privateNotes?: string;
publicNotes?: string;
quoteDate?: string;
quoteNumber?: string;
quoteStatus?: 1
| 2;
taxName1?: string;
taxName2?: string;
taxRate1?: number;
taxRate2?: number;
}
| {
amount?: number;
bankIntegrationId?: string;
baseType?: "CREDIT"
| "DEBIT";
currencyId?: string;
date?: string;
description?: string;
}
readonly additional Fields?:
| {
clientName?: string;
idNumber?: string;
privateNotes?: string;
vatNumber?: string;
website?: string;
workPhone?: string;
}
| {
autoBill?: boolean;
client?: string;
customValue1?: number;
customValue2?: number;
discount?: string;
dueDate?: string;
email?: string;
emailInvoice?: boolean;
invoiceDate?: string;
invoiceNumber?: string;
invoiceStatus?: 1
| 2;
isAmountDiscount?: boolean;
markSent?: boolean;
paid?: number;
partial?: number;
partialDueDate?: string;
poNumber?: string;
privateNotes?: string;
publicNotes?: string;
taxName1?: string;
taxName2?: string;
taxRate1?: number;
taxRate2?: number;
}
| {
client?: string;
customValue1?: string;
customValue2?: string;
description?: string;
project?: string;
}
| {
paymentType?: | 1
| 3
| 2
| 4
| 5
| 10
| 15
| 6
| 7
| 28
| 8
| 32
| 17
| 16
| 13
| 9
| 11
| 31
| 24
| 19
| 20
| 21
| 27
| 12
| 14
| 30
| 29
| 22
| 23
| 25
| 18
| 26;
privateNotes?: string;
transferReference?: string;
}
| {
paymentType?: | 1
| 2
| 4
| 5
| 10
| 15
| 6
| 7
| 28
| 8
| 32
| 17
| 16
| 13
| 9
| 11
| 31
| 24
| 19
| 20
| 21
| 27
| 12
| 30
| 29
| 22
| 18
| 33
| 34
| 35
| 36
| 37
| 38
| 39
| 40
| 41
| 42
| 43
| 44
| 45
| 46
| 47
| 48
| 49
| 50
| 51
| 52;
privateNotes?: string;
transferReference?: string;
}
| {
amount?: number;
billable?: boolean;
category?: string;
client?: string;
customValue1?: string;
customValue2?: string;
expenseDate?: string;
paymentDate?: string;
paymentType?: | 1
| 3
| 2
| 4
| 5
| 10
| 15
| 6
| 7
| 28
| 8
| 32
| 17
| 16
| 13
| 9
| 11
| 31
| 24
| 19
| 20
| 21
| 27
| 12
| 14
| 30
| 29
| 22
| 23
| 25
| 18
| 26;
privateNotes?: string;
publicNotes?: string;
taxName1?: string;
taxName2?: string;
taxRate1?: number;
taxRate2?: number;
transactionReference?: string;
vendor?: string;
}
| {
amount?: number;
billable?: boolean;
category?: string;
client?: string;
customValue1?: string;
customValue2?: string;
expenseDate?: string;
paymentDate?: string;
paymentType?: | 1
| 2
| 4
| 5
| 10
| 15
| 6
| 7
| 28
| 8
| 32
| 17
| 16
| 13
| 9
| 11
| 31
| 24
| 19
| 20
| 21
| 27
| 12
| 30
| 29
| 22
| 18
| 33
| 34
| 35
| 36
| 37
| 38
| 39
| 40
| 41
| 42
| 43
| 44
| 45
| 46
| 47
| 48
| 49
| 50
| 51
| 52;
privateNotes?: string;
publicNotes?: string;
taxName1?: string;
taxName2?: string;
taxRate1?: number;
taxRate2?: number;
transactionReference?: string;
vendor?: string;
}
| {
autoBill?: boolean;
client?: string;
customValue1?: number;
customValue2?: number;
discount?: string;
dueDate?: string;
email?: string;
emailQuote?: boolean;
isAmountDiscount?: boolean;
paid?: number;
partial?: number;
partialDueDate?: string;
poNumber?: string;
privateNotes?: string;
publicNotes?: string;
quoteDate?: string;
quoteNumber?: string;
quoteStatus?: 1
| 2;
taxName1?: string;
taxName2?: string;
taxRate1?: number;
taxRate2?: number;
}
| {
amount?: number;
bankIntegrationId?: string;
baseType?: "CREDIT"
| "DEBIT";
currencyId?: string;
date?: string;
description?: string;
}
Source§readonly billing Address Ui?: {
billingAddressValue: {
aptSuite?: string;
city?: string;
countryCode?: string;
postalCode?: string;
state?: string;
streetAddress?: string;
};
}
readonly billing Address Ui?: {
billingAddressValue: {
aptSuite?: string;
city?: string;
countryCode?: string;
postalCode?: string;
state?: string;
streetAddress?: string;
};
}
Default: {} Type options: {"multipleValues":false}
Source§readonly contacts Ui?: {
contacstValues: {
email?: string;
firstName?: string;
lastName?: string;
phone?: string;
}[];
}
readonly contacts Ui?: {
contacstValues: {
email?: string;
firstName?: string;
lastName?: string;
phone?: string;
}[];
}
Default: {} Type options: {"multipleValues":true}
Source§readonly invoice?: string
readonly invoice?: string
Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getInvoices"}
Source§readonly invoice Items Ui?: {
invoiceItemsValues: {
cost?: number;
description?: string;
hours?: number;
service?: string;
taxName1?: string;
taxName2?: string;
taxRate1?: number;
taxRate2?: number;
}[];
}
readonly invoice Items Ui?: {
invoiceItemsValues: {
cost?: number;
description?: string;
hours?: number;
service?: string;
taxName1?: string;
taxName2?: string;
taxRate1?: number;
taxRate2?: number;
}[];
}
Default: {} Type options: {"multipleValues":true}
Source§readonly limit?: number
readonly limit?: number
Max number of results to return Default: 50 Type options: {"minValue":1,"maxValue":60}
Source§readonly operation?:
| "create"
| "get"
| "getAll"
| "delete"
| "email"
| "matchPayment"
readonly operation?:
| "create"
| "get"
| "getAll"
| "delete"
| "email"
| "matchPayment"
Default: "create"
Source§readonly options?:
| { include?: "invoices" }
| {
createdAt?: string;
include?: "invoices";
isDeleted?: boolean;
status?: "deleted" | "active" | "archived";
updatedAt?: string;
}
| { include?: "client" }
| {
clientStatus?:
| "all"
| "overdue"
| "paid"
| "unpaid";
createdAt?: string;
include?: "client";
invoiceNumber?: string;
isDeleted?: boolean;
status?: "deleted"
| "active"
| "archived";
updatedAt?: string;
}
| {
createdAt?: string;
include?: "client";
isDeleted?: boolean;
status?: "deleted"
| "active"
| "archived";
updatedAt?: string;
}
| {
createdAt?: string;
include?: "client";
isDeleted?: boolean;
quoteNumber?: string;
status?: "deleted"
| "active"
| "archived";
updatedAt?: string;
}
readonly options?:
| { include?: "invoices" }
| {
createdAt?: string;
include?: "invoices";
isDeleted?: boolean;
status?: "deleted" | "active" | "archived";
updatedAt?: string;
}
| { include?: "client" }
| {
clientStatus?:
| "all"
| "overdue"
| "paid"
| "unpaid";
createdAt?: string;
include?: "client";
invoiceNumber?: string;
isDeleted?: boolean;
status?: "deleted"
| "active"
| "archived";
updatedAt?: string;
}
| {
createdAt?: string;
include?: "client";
isDeleted?: boolean;
status?: "deleted"
| "active"
| "archived";
updatedAt?: string;
}
| {
createdAt?: string;
include?: "client";
isDeleted?: boolean;
quoteNumber?: string;
status?: "deleted"
| "active"
| "archived";
updatedAt?: string;
}
Default: {}
Source§readonly resource?:
| "task"
| "invoice"
| "client"
| "expense"
| "bank_transaction"
| "payment"
| "quote"
readonly resource?:
| "task"
| "invoice"
| "client"
| "expense"
| "bank_transaction"
| "payment"
| "quote"
Default: "client"
Default: {}