Invoicing API Requests

When creating an invoice, you can choose to create a draft or published invoice. If you create a published invoice, you can specify whether the invoice is immediately emailed to the customer or not. This table describes the different methods for creating an invoice.
Invoice Creation Methods
Invoice Method
Description
Field Values Specific to this Method
Create a Draft Invoice
Create an invoice draft that is only viewable by you. When you are ready to share the invoice with the customer, you must publish it by sending a
send invoice
request.
To create a draft invoice that is
not
sent as an email to the customer when you publish it, see Create a Draft Invoice.
To create a draft invoice that is sent as an email to the customer when you publish it, see Create a Deliverable Draft Invoice.
invoiceInformation.deliveryMode
Possible values:
  • email
  • none
invoiceInformation.sendImmediately
Set to
false
.
Create and Send an Invoice Immediately
Create a published invoice that is immediately emailed to the customer by
Cybersource
. The customer can view and pay the invoice when they receive the invoice email. For more information, see Create and Send an Invoice Immediately.
invoiceInformation.deliveryMode
Set to
email
.
invoiceInformation.sendImmediately
Set to
true
.
Create an Invoice without Sending it
Create a published invoice that you can share with the customer by sending the customer the generated URL. This method gives you control over the distribution of the invoices. For more information, see Create an Invoice without Sending it.
invoiceInformation.deliveryMode
Set to
none
.
invoiceInformation.sendImmediately
Set to
true
.
The invoicing API also enables you to perform these follow-on services after creating an invoice:
You can also customize your invoices to align with your brand. For more information, see Invoice Settings API Requests.