GetInvoice

Description

This method returns the invoice in PDF format.

SOAP API:

Action

http://shoxl.com/ShoxlService/GetInvoice

Please note: this is not a working url, but a combination of namespace and method. Do not expect the url to return a result.

Style

Document

Input (Literal)

The input of this method is the document element tns:GetInvoice having the structure defined by the following table.

Complex Type: tns:GetInvoiceRequest

Description

The GetInvoiceRequest contains all the information needed to get the

order details of a single order.

Output (Literal)

The output of this method is the document element tns:GetInvoiceResponse having the structure defined by the following table.

Complex Type: tns:GetInvoiceResult

Description

The GetInvoiceResult returns the invoice details of the given invoice number, including the invoice itself as an embedded PDF..

REST API:

URL: /Shoxl/v1/GetInvoice Method: POST

Request body:

GetInvoiceRequest{

}

Example:

{
  "invoiceNumber": "string",
  "customerNumber": "string"
}

Response body:

GetInvoiceResult{

}

GetInvoiceRequest{

}

Example:

{
  "errorCode": "string",
  "errorDescription": "string",
  "invoicePDF": "string",
  "request": {
    "invoiceNumber": "string",
    "customerNumber": "string"
  }
}