Get Invoice Details
Retrieve an invoice's details to check its current status and payment history. Retrieving an
invoice's details requires the unique invoice number assigned when the invoice was
created.
If you need more information about the payment history, you can also use
the transaction details API. For more information, see the Transaction Details API section in the
Transaction Search and Details API Developer Guide
.Endpoints
Send your API request to one of these endpoints:
Test:
GET https://
https://apitest.cybersource.com
/invoicing/v2/invoices/{id}
Production:
GET https://
https://api.cybersource.com
/invoicing/v2/invoices/{id}
India Production:
GET https://api.in.cybersource.com/invoicing/v2/invoices/
{id}
The is the invoice number from the invoice creation response
message.
{id}
Successful Response
A response contains this invoice information:
Response Field | Description |
---|---|
submitTimeUtc | The date and time that the invoice was sent, in UTC format. |
status | The invoice status. Possible values:
|
customerInformation (field object) | The customer's information, such as name and email. |
invoiceInformation (field object) | The paymentLink field contains the direct URL to the
invoice. |
orderInformation (field object) | The itemized amount charged for the billed goods and services. |
invoiceHistory (field object) | An array of invoice status changes and the date and time stamp of each
invoice status changed. |