FILTER BY TAG

Invoicing API Requests

When creating a new invoice, you can choose to create a
draft
invoice or
published
invoice. If you create a published invoice, you can specify whether the invoice is immediately emailed to the customer or not. This graphic illustrates the different types of invoice creation requests and the follow-on requests that you can send.

Figure:

Overview of Invoicing Requests
invoice creation requests and follow-on requests
This table describes the different invoicing creation requests.
Invoice Creation Requests
Invoice Method
Description
Field Values Specific to this Method
Create a Draft Invoice
Create an invoice draft that is only viewable by you. To share the invoice with the customer, you must first publish it by sending a
send invoice
request. When published, you can send your customer the generated invoice URL. This method gives you control over the distribution of your invoices. For more information, see Create a Draft Invoice.
invoiceInformation.deliveryMode
Set to
none
.
invoiceInformation.sendImmediately
Set to
false
.
Create a Deliverable Draft Invoice
Create a draft invoice that is only viewable by you, and will be emailed to your customer when you publish it. To publish it, you must send a
send invoice
request. For more information, see Create a Deliverable Draft Invoice.
invoiceInformation.deliveryMode
Set to
email
.
invoiceInformation.sendImmediately
Set to
false
.
Create and Send an Invoice Immediately
Create a published invoice that is immediately emailed to the customer by
Cybersource
. Your 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 your 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 send these follow-on requests to manage the invoice:
You can also customize your invoices to align with your brand. For more information about customizing your invoice settings, see Invoicing Settings API Requests.