Get Invoice Image

 

This method returns the actual image for an invoice for a specified invoice ID.

 

HTTP Verb/Method:

GET 

URL Format:

http://server/api/invoices/{OrderID}/{InvNum}?download=true

Returns:

An image of the invoice returns upon a successful request.

An error is returned if the invoice metadata cannot be found.

 

The following table lists the parameter available for this method request.

 

Parameter

Description

OrderID

Provide the primary key (Orders.PriKey) of the requested MoversSuite order. 

InvNum

Provide the invoice number for the requested document on the order. This is the specific identifier for the invoice document. It is in the format of a single number, e.g. 23902, or in the format of the Order Number followed by “/”, and then invoice sequence, e.g. “U1900-12789-6/1.”

You can identify the value for the InvNum parameter by referencing the value returned for the ContentUrl property through a Get All Metadata by Order method request (when the Source is “Invoices”).