Skip to content

Type

Invoice

Back to Index

Definition

let Invoice: {
createdAt: instant
invoiceAddress: {
addressLine1: text
addressLine2: text
attention: text
careOf: text
city: text
countryCode: text
email: text
name: text
phone: text
postalCode: text
state: text
}
invoiceId: uuid
invoiceLines: [{
amount: number
description: nothing|text
discounts: [{
amount: number
discountId: uuid
invoiceLineDiscountId: uuid
invoiceLineNumber: number
taxFactor: number
}]
invoiceLineId: uuid
invoiceLineNumber: number
invoiceLineTotal: number
productNumber: nothing|text
referenceId: uuid
referenceType: 'orderLine'|'return'|'shipping'
taxFactor: number
unit: {
label: text
quantity: number
value: number
}
}]
invoiceNetTotal: number
invoiceNumber: text
invoiceTotal: number
isCancelled: boolean
}

Availability

Discount Rule Reactor
Back to Index