InvoiceService
Click here for a complete list of operations.
Put_Invoice
This service is used by OrderDog suppliers to upload their invoices to the network.
Please email support@orderdog.com, or call 1-866-ORDERDOG with questions.
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /invoiceservice.asmx HTTP/1.1 Host: services.orderdog.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "https://secure.orderdog.com/_dev/commerce_center/soap/Put_Invoice" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <Put_Invoice xmlns="https://secure.orderdog.com/_dev/commerce_center/soap/"> <UserName>string</UserName> <Password>string</Password> <Version>string</Version> <JoinBy>string</JoinBy> <Invoices> <Invoice> <OrderID>int</OrderID> <InvNum>string</InvNum> <InvDt>string</InvDt> <CustID>string</CustID> <CustName>string</CustName> <CustAddr1>string</CustAddr1> <CustAddr2>string</CustAddr2> <CustCity>string</CustCity> <CustState>string</CustState> <CustZip>string</CustZip> <InvSubtotal>double</InvSubtotal> <InvTax>double</InvTax> <InvShipping>double</InvShipping> <InvAdj>double</InvAdj> <InvTotal>double</InvTotal> <SupOrderID>string</SupOrderID> <SupDelivID>string</SupDelivID> <SupCarrier>string</SupCarrier> <SupShipTerms>string</SupShipTerms> <SupWaybill>string</SupWaybill> <SupTerms>string</SupTerms> <SupNotes>string</SupNotes> <LineItems> <LineItem xsi:nil="true" /> <LineItem xsi:nil="true" /> </LineItems> </Invoice> <Invoice> <OrderID>int</OrderID> <InvNum>string</InvNum> <InvDt>string</InvDt> <CustID>string</CustID> <CustName>string</CustName> <CustAddr1>string</CustAddr1> <CustAddr2>string</CustAddr2> <CustCity>string</CustCity> <CustState>string</CustState> <CustZip>string</CustZip> <InvSubtotal>double</InvSubtotal> <InvTax>double</InvTax> <InvShipping>double</InvShipping> <InvAdj>double</InvAdj> <InvTotal>double</InvTotal> <SupOrderID>string</SupOrderID> <SupDelivID>string</SupDelivID> <SupCarrier>string</SupCarrier> <SupShipTerms>string</SupShipTerms> <SupWaybill>string</SupWaybill> <SupTerms>string</SupTerms> <SupNotes>string</SupNotes> <LineItems> <LineItem xsi:nil="true" /> <LineItem xsi:nil="true" /> </LineItems> </Invoice> </Invoices> </Put_Invoice> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <Put_InvoiceResponse xmlns="https://secure.orderdog.com/_dev/commerce_center/soap/"> <Put_InvoiceResult> <Updates>int</Updates> <Errors>int</Errors> <Warnings>int</Warnings> <InvErrors> <InvError> <InvNum>string</InvNum> <OrderID>int</OrderID> <Upc>string</Upc> <Id>string</Id> <Msg>string</Msg> </InvError> <InvError> <InvNum>string</InvNum> <OrderID>int</OrderID> <Upc>string</Upc> <Id>string</Id> <Msg>string</Msg> </InvError> </InvErrors> <InvWarnings> <InvError> <InvNum>string</InvNum> <OrderID>int</OrderID> <Upc>string</Upc> <Id>string</Id> <Msg>string</Msg> </InvError> <InvError> <InvNum>string</InvNum> <OrderID>int</OrderID> <Upc>string</Upc> <Id>string</Id> <Msg>string</Msg> </InvError> </InvWarnings> </Put_InvoiceResult> </Put_InvoiceResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /invoiceservice.asmx HTTP/1.1 Host: services.orderdog.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <Put_Invoice xmlns="https://secure.orderdog.com/_dev/commerce_center/soap/"> <UserName>string</UserName> <Password>string</Password> <Version>string</Version> <JoinBy>string</JoinBy> <Invoices> <Invoice> <OrderID>int</OrderID> <InvNum>string</InvNum> <InvDt>string</InvDt> <CustID>string</CustID> <CustName>string</CustName> <CustAddr1>string</CustAddr1> <CustAddr2>string</CustAddr2> <CustCity>string</CustCity> <CustState>string</CustState> <CustZip>string</CustZip> <InvSubtotal>double</InvSubtotal> <InvTax>double</InvTax> <InvShipping>double</InvShipping> <InvAdj>double</InvAdj> <InvTotal>double</InvTotal> <SupOrderID>string</SupOrderID> <SupDelivID>string</SupDelivID> <SupCarrier>string</SupCarrier> <SupShipTerms>string</SupShipTerms> <SupWaybill>string</SupWaybill> <SupTerms>string</SupTerms> <SupNotes>string</SupNotes> <LineItems> <LineItem xsi:nil="true" /> <LineItem xsi:nil="true" /> </LineItems> </Invoice> <Invoice> <OrderID>int</OrderID> <InvNum>string</InvNum> <InvDt>string</InvDt> <CustID>string</CustID> <CustName>string</CustName> <CustAddr1>string</CustAddr1> <CustAddr2>string</CustAddr2> <CustCity>string</CustCity> <CustState>string</CustState> <CustZip>string</CustZip> <InvSubtotal>double</InvSubtotal> <InvTax>double</InvTax> <InvShipping>double</InvShipping> <InvAdj>double</InvAdj> <InvTotal>double</InvTotal> <SupOrderID>string</SupOrderID> <SupDelivID>string</SupDelivID> <SupCarrier>string</SupCarrier> <SupShipTerms>string</SupShipTerms> <SupWaybill>string</SupWaybill> <SupTerms>string</SupTerms> <SupNotes>string</SupNotes> <LineItems> <LineItem xsi:nil="true" /> <LineItem xsi:nil="true" /> </LineItems> </Invoice> </Invoices> </Put_Invoice> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <Put_InvoiceResponse xmlns="https://secure.orderdog.com/_dev/commerce_center/soap/"> <Put_InvoiceResult> <Updates>int</Updates> <Errors>int</Errors> <Warnings>int</Warnings> <InvErrors> <InvError> <InvNum>string</InvNum> <OrderID>int</OrderID> <Upc>string</Upc> <Id>string</Id> <Msg>string</Msg> </InvError> <InvError> <InvNum>string</InvNum> <OrderID>int</OrderID> <Upc>string</Upc> <Id>string</Id> <Msg>string</Msg> </InvError> </InvErrors> <InvWarnings> <InvError> <InvNum>string</InvNum> <OrderID>int</OrderID> <Upc>string</Upc> <Id>string</Id> <Msg>string</Msg> </InvError> <InvError> <InvNum>string</InvNum> <OrderID>int</OrderID> <Upc>string</Upc> <Id>string</Id> <Msg>string</Msg> </InvError> </InvWarnings> </Put_InvoiceResult> </Put_InvoiceResponse> </soap12:Body> </soap12:Envelope>