Required Fields for Creating an Invoice

This section lists the required fields necessary to create these types of invoices:
  • In-person invoice
  • Email invoice
  • Itemized email invoice
The invoice created using these fields and specified values is not immediately sent to the customer.

Required Fields for Creating an In-Person Invoice

invoiceInformation.deliveryMode
Set to
none
.
invoiceInformation.description
invoiceInformation.dueDate
invoiceInformation.sendImmediately
Set to
true
.
orderInformation.amountDetails.currency
orderInformation.amountDetails.totalAmount

Required Fields for Creating an Email Invoice

customerInformation.email
customerInformation.name
invoiceInformation.deliveryMode
Set to
none
.
invoiceInformation.dueDate
invoiceInformation.sendImmediately
Set to
true
.
orderInformation.amountDetails.currency
orderInformation.amountDetails.totalAmount

Required Fields for Creating an Itemized Email Invoice

customerInformation.email
customerInformation.name
invoiceInformation.deliveryMode
Set to
none
.
invoiceInformation.dueDate
invoiceInformation.sendImmediately
Set to
true
.
orderInformation.amountDetails.currency
orderInformation.amountDetails.totalAmount
orderInformation.lineItems[].productName
Include for each item listed in the invoice.
orderInformation.lineItems[].productSku
Include for each item listed in the invoice.
orderInformation.lineItems[].quantity
Include for each item listed in the invoice.
orderInformation.lineItems[].totalAmount
Include for each item listed in the invoice.
orderInformation.lineItems[].unitPrice
Include for each item listed in the invoice.