|
@@ -0,0 +1,36 @@
|
|
|
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
|
|
|
+ <SOAP-ENV:Body>
|
|
|
+ <ns1160:createInvoice xmlns:ns1160="http://www.Dolibarr.org/ns/">
|
|
|
+ <authentication>
|
|
|
+ <dolibarrkey xsi:type="xsd:string">dolibarrkey</dolibarrkey>
|
|
|
+ <sourceapplication xsi:type="xsd:string">PRESTASHOP</sourceapplication>
|
|
|
+ <login xsi:type="xsd:string">admin</login>
|
|
|
+ <password xsi:type="xsd:string">admin</password>
|
|
|
+ <entity xsi:type="xsd:string"/>
|
|
|
+ </authentication>
|
|
|
+ <invoice>
|
|
|
+ <ref_ext xsi:type="xsd:string">WSTESTCREATEINVOICE1</ref_ext>
|
|
|
+ <thirdparty_id xsi:type="xsd:string">1</thirdparty_id>
|
|
|
+ <date xsi:type="xsd:string">2014-04-23 15:59:24</date>
|
|
|
+ <type xsi:type="xsd:string">0</type>
|
|
|
+ <note_private xsi:type="xsd:string">Created from WS</note_private>
|
|
|
+ <note_public xsi:nil="true"/>
|
|
|
+ <status xsi:type="xsd:string">1</status>
|
|
|
+ <project_id xsi:nil="true"/>
|
|
|
+ <lines xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="unnamed_struct_use_soapval[6]">
|
|
|
+ <item>
|
|
|
+ <type xsi:type="xsd:string">0</type>
|
|
|
+ <desc xsi:type="xsd:string">Product</desc>
|
|
|
+ <unitprice xsi:type="xsd:float">66.05</unitprice>
|
|
|
+ <total_net xsi:type="xsd:string">198.150000</total_net>
|
|
|
+ <total_vat xsi:type="xsd:float">38.85</total_vat>
|
|
|
+ <total xsi:type="xsd:string">237.000000</total>
|
|
|
+ <vat_rate xsi:type="xsd:string">19.600</vat_rate>
|
|
|
+ <qty xsi:type="xsd:string">3</qty>
|
|
|
+ <product_id xsi:type="xsd:string">1</product_id>
|
|
|
+ </item>
|
|
|
+ </lines>
|
|
|
+ </invoice>
|
|
|
+ </ns1160:createInvoice>
|
|
|
+ </SOAP-ENV:Body>
|
|
|
+</SOAP-ENV:Envelope>
|