Get a customer invoice

Learn how to use the Vendor Direct Fulfillment Shipping API to get a customer invoice (India only).

Learn how to use the Vendor Direct Fulfillment Shipping API to get a customer invoice (India only). The getCustomerInvoice operation returns information about the customer invoice that you specify using the purchase order number. The response includes complete customer invoice information for that purchase order.

📘

Note

This is a restricted operation and requires a Restricted Data Token (RDT) for authorization. For more information, refer to the Tokens API Use Case Guide.

You can also use this API to get details for any customer invoice (in the time range of seven days from a rolling window of the last six months, after the vendor went live on the API).

The following diagram shows the integration workflow for returning a customer invoice:

The Direct Fulfillment integration workflow for retrieving a customer invoice.

Business requirements

What kind of customer invoices are available to download?

The customer invoice is a PDF file which is encoded in binary64 string format. All purchase orders for the India region should have a customer invoice created which should be sent with the shipment.

Prerequisites

To complete this tutorial, you need:

Get a customer invoice

To return a customer invoice, call the getCustomerInvoice operation.