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

Get PDF of invoice

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerNumber

Customer Number

string

Required

invoiceNumber

Invoice Number

string

Required

Body Parameters

None.

Response Information

Resource Description

InvoicePDFResponse
NameDescriptionTypeAdditional information
InvoiceNumber

Invoice Number

string

None.

InvoiceData

PDF data

Collection of byte

None.

Errors

If there were errors processing request, list of errors

Collection of ERPError

None.

Warnings

If there were warnings processing request, list of 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>