On This Page
Update an Invoice
You can update an invoice if no payment has been made. Include all of the fields that were
contained in the original request message in the update request. If you do not include a field
that was in the original request message, the field information associated with it will be
removed in the updated invoice.
If you update the customer's email in the
customerInformation.email
request field, the generated redirect URL in the
invoiceInformation.paymentLink
response field changes and the previous
URL becomes invalid. You can either share the new redirect URL with the customer, or resend
the updated invoice using the send invoice request. For more information about how to resend
an invoice, see Send an Invoice.- Itemized Invoices
- An invoice can display a single billed amount or list up to 30 billed items. To list the billed items in the invoice, include the items in the request using the line item array fields. An invoice with line items is known as anitemizedinvoice. For more information about how to include line items in your request, see Including Line Items in an Invoice.
- Installment Payments
- Invoices can be paid in installment payments when these fields and values are included in the request. If an invoice is payable in installments, multiple customers can make payments towards the same invoice.
- invoiceInformation.allowPartialPayments
- Set totrue.
- orderInformation.amountDetails.minimumPartialAmount
- Set to the minimum amount allowed for a partial payment.
- Partner Information
- If your merchant account is associated with aCybersourcepartner, you can include your partner solution ID (PSID) in the request message for tracking and reporting purposes. To include your PSID, use theclientReferenceInformation.partner.solutionIdrequest field and set its field value to your PSID.
Endpoints
Send your API request message to one of these endpoints:
Test:
PUT
https://apitest.cybersource.com
/invoicing/v2/invoices/{id}
Production:
PUT
https://api.cybersource.com
/invoicing/v2/invoices/{id}
India Production:
PUT https://api.in.cybersource.com/invoicing/v2/invoices/
{id}
The is the invoice number from the response to the create
invoice request.
{id}