API/Services/getInvoiceDetail
From Emersion
Purpose
Get the content from an individual invoice.
Inputs <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:emersion:api">
<soapenv:Header/> <soapenv:Body> <urn:getInvoiceDetail> <urn:invoice_id>2720016</urn:invoice_id> </urn:getInvoiceDetail> </soapenv:Body>
</soapenv:Envelope>ceDetail>
</soapenv:Body>
Output
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:emersion:types" xmlns:ns2="urn:emersion:api"> <SOAP-ENV:Body> <ns2:getInvoiceDetailResponse> <ns2:getInvoiceDetailItem> <ns1:ledger_code_name>GENERAL_DISPUTE_RESOLVE</ns1:ledger_code_name> <ns1:cardline_id>46429992</ns1:cardline_id> <ns1:covers_from>2018-04-09 13:21:00</ns1:covers_from> <ns1:covers_to>2018-04-09 13:21:00</ns1:covers_to> <ns1:vanity_covers_from>2018-04-09 13:21:00</ns1:vanity_covers_from> <ns1:vanity_covers_to>2018-04-09 13:21:00</ns1:vanity_covers_to> <ns1:actual_amount_ex>-454.55</ns1:actual_amount_ex> <ns1:actual_amount_tax>-45.45</ns1:actual_amount_tax> <ns1:transaction_date>2018-04-09T13:21:00+10:00</ns1:transaction_date> </ns2:getInvoiceDetailItem> </ns2:getInvoiceDetailResponse> </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Error String
144. Missing invoice_id