API/Services/getInvoiceById

From Emersion
Revision as of 17:31, 10 September 2014 by Anonymous (talk) (Created page with "'''Purpose ''' Return the actual invoice (PDF) for a given invoice. '''Inputs''' <soapenv:Header/> <soapenv:Body> <ser:getInvoiceById> <ser:invoice_id>1<...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

Return the actual invoice (PDF) for a given invoice.

Inputs

 <soapenv:Header/>
  <soapenv:Body>
     <ser:getInvoiceById>
        <ser:invoice_id>1</ser:invoice_id>
     </ser:getInvoiceById>
  </soapenv:Body>


Output

<SOAP-ENV:Body>
     <ns1:getInvoiceByIdResponse>
        <ns1:getInvoiceByIdItem>
           <ns1:filename></ns1:filename>
           <ns1:account_id></ns1:account_id>
           <ns1:file></ns1:file>
        </ns1:getInvoiceByIdItem>
     </ns1:getInvoiceByIdResponse>
  </SOAP-ENV:Body>

Error String

145. Missing invoice_id