GET invoice/pdf/{customerNumber}/{invoiceNumber}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerNumber

string

Required

invoiceNumber

string

Required

Body Parameters

None.

Response Information

Resource Description

InvoicePDFResponse
NameDescriptionTypeAdditional information
InvoiceNumber

string

None.

InvoiceData

Collection of byte

None.

Errors

Collection of ERPError

None.

Warnings

Collection of ERPWarning

None.

Response Formats

application/json, text/json

Sample:
{
  "InvoiceNumber": "sample string 1",
  "InvoiceData": "QEA=",
  "Errors": [
    {
      "Code": "sample string 1",
      "Message": "sample string 2"
    },
    {
      "Code": "sample string 1",
      "Message": "sample string 2"
    }
  ],
  "Warnings": [
    {
      "Code": "sample string 1",
      "Message": "sample string 2"
    },
    {
      "Code": "sample string 1",
      "Message": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<InvoicePDFResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <InvoiceNumber>sample string 1</InvoiceNumber>
  <InvoiceData>QEA=</InvoiceData>
  <Errors>
    <ERPError>
      <Code>sample string 1</Code>
      <Message>sample string 2</Message>
    </ERPError>
    <ERPError>
      <Code>sample string 1</Code>
      <Message>sample string 2</Message>
    </ERPError>
  </Errors>
  <Warnings>
    <ERPWarning>
      <Code>sample string 1</Code>
      <Message>sample string 2</Message>
    </ERPWarning>
    <ERPWarning>
      <Code>sample string 1</Code>
      <Message>sample string 2</Message>
    </ERPWarning>
  </Warnings>
</InvoicePDFResponse>