Service1


Click here for a complete list of operations.

SubmitCreditNote

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 /service1.asmx HTTP/1.1
Host: www.uedis3.co.za
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/SubmitCreditNote"

<?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>
    <SubmitCreditNote xmlns="http://tempuri.org/">
      <creditnote>
        <MessageEnvelope>
          <fileDate>string</fileDate>
          <FileTrackingNumber>string</FileTrackingNumber>
          <buyerEdiCode>string</buyerEdiCode>
          <supplierEdiCode>string</supplierEdiCode>
        </MessageEnvelope>
        <CreditHeader>
          <InvoiceNumber>string</InvoiceNumber>
          <CreditNumber>string</CreditNumber>
          <CreditDate>string</CreditDate>
          <PurchaseOrderNumber>string</PurchaseOrderNumber>
          <BuyerBranchID>string</BuyerBranchID>
          <BuyerName>string</BuyerName>
          <CreditToAddress>string</CreditToAddress>
          <CreditToCity>string</CreditToCity>
          <CreditToCountyState>string</CreditToCountyState>
          <CreditToPostal>string</CreditToPostal>
          <CreditToCountry>string</CreditToCountry>
          <ShipToAddress>string</ShipToAddress>
          <ShipToCity>string</ShipToCity>
          <ShipToCountyState>string</ShipToCountyState>
          <ShipToPostal>string</ShipToPostal>
          <ShipToCountry>string</ShipToCountry>
          <SupplierName>string</SupplierName>
          <SupplierCode>string</SupplierCode>
          <SupplierVATNumber>string</SupplierVATNumber>
          <SupplierAddress>string</SupplierAddress>
          <SupplierCity>string</SupplierCity>
          <SupplierPostal>string</SupplierPostal>
          <SupplierCountry>string</SupplierCountry>
          <ClaimNumber>string</ClaimNumber>
        </CreditHeader>
        <CreditDetails>
          <creditLine>
            <LineNumber>int</LineNumber>
            <BuyerItemCode>string</BuyerItemCode>
            <SupplierItemCode>string</SupplierItemCode>
            <ItemDescription>string</ItemDescription>
            <CreditQuantity>int</CreditQuantity>
            <UnitPrice>decimal</UnitPrice>
            <CreditlineTotalExcl>decimal</CreditlineTotalExcl>
            <VATperc>decimal</VATperc>
            <CreditlineTaxTotal>decimal</CreditlineTaxTotal>
            <CreditlineTotalIncl>decimal</CreditlineTotalIncl>
          </creditLine>
          <creditLine>
            <LineNumber>int</LineNumber>
            <BuyerItemCode>string</BuyerItemCode>
            <SupplierItemCode>string</SupplierItemCode>
            <ItemDescription>string</ItemDescription>
            <CreditQuantity>int</CreditQuantity>
            <UnitPrice>decimal</UnitPrice>
            <CreditlineTotalExcl>decimal</CreditlineTotalExcl>
            <VATperc>decimal</VATperc>
            <CreditlineTaxTotal>decimal</CreditlineTaxTotal>
            <CreditlineTotalIncl>decimal</CreditlineTotalIncl>
          </creditLine>
        </CreditDetails>
        <CreditTrailer>
          <linecount>int</linecount>
          <TotalExcl>decimal</TotalExcl>
          <TaxTotal>decimal</TaxTotal>
          <TotalIncl>decimal</TotalIncl>
        </CreditTrailer>
      </creditnote>
      <UserName>string</UserName>
      <Password>string</Password>
      <CompanyId>string</CompanyId>
      <CompanyName>string</CompanyName>
    </SubmitCreditNote>
  </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>
    <SubmitCreditNoteResponse xmlns="http://tempuri.org/">
      <SubmitCreditNoteResult>
        <Succeed>boolean</Succeed>
        <Message>string</Message>
        <SuccessReferenceNumber>string</SuccessReferenceNumber>
        <Error>string</Error>
        <OrderList>
          <string>string</string>
          <string>string</string>
        </OrderList>
        <Payload>string</Payload>
        <sAccNum>string</sAccNum>
        <imageData>base64Binary</imageData>
        <imageFiles>
          <string>string</string>
          <string>string</string>
        </imageFiles>
        <imageAndProductDetails>
          <string>string</string>
          <string>string</string>
        </imageAndProductDetails>
        <productDetailsCsv>
          <string>string</string>
          <string>string</string>
        </productDetailsCsv>
        <productGroupsCsv>
          <string>string</string>
          <string>string</string>
        </productGroupsCsv>
        <productForGridCsv>
          <string>string</string>
          <string>string</string>
        </productForGridCsv>
        <settingsCsv>
          <string>string</string>
          <string>string</string>
        </settingsCsv>
        <ReturnType />
        <Version>int</Version>
        <AuthenticateResultData UserName="string" Password="string" CompanyId="string" CompanyName="string" Database="string" sSOURCE="string" TransFormerPath="string" />
        <PriceCatelogueResultData>
          <MessageEnvelope>
            <fileDate>string</fileDate>
            <FileTrackingNumber>string</FileTrackingNumber>
            <buyerEdiCode>string</buyerEdiCode>
            <supplierEdiCode>string</supplierEdiCode>
          </MessageEnvelope>
          <Catelogue>
            <fileValidFromDate>string</fileValidFromDate>
            <fileValidToDate>string</fileValidToDate>
            <supplierName>string</supplierName>
            <supplierCompanyCode>string</supplierCompanyCode>
            <PriceFileType>string</PriceFileType>
            <Notes>string</Notes>
            <regionCode>string</regionCode>
            <branchCode>string</branchCode>
            <Items xsi:nil="true" />
          </Catelogue>
        </PriceCatelogueResultData>
        <InvoiceResultData>
          <MessageEnvelope>
            <fileDate>string</fileDate>
            <FileTrackingNumber>string</FileTrackingNumber>
            <buyerEdiCode>string</buyerEdiCode>
            <supplierEdiCode>string</supplierEdiCode>
          </MessageEnvelope>
          <InvoiceHeader>
            <InvoiceNumber>string</InvoiceNumber>
            <InvoiceDate>string</InvoiceDate>
            <PurchaseOrderNumber>string</PurchaseOrderNumber>
            <BuyerBranchID>string</BuyerBranchID>
            <BuyerName>string</BuyerName>
            <InvoiceToAddress>string</InvoiceToAddress>
            <InvoiceToCity>string</InvoiceToCity>
            <InvoiceToCountyState>string</InvoiceToCountyState>
            <InvoiceToPostal>string</InvoiceToPostal>
            <InvoiceToCountry>string</InvoiceToCountry>
            <ShipToAddress>string</ShipToAddress>
            <ShipToCity>string</ShipToCity>
            <ShipToCountyState>string</ShipToCountyState>
            <ShipToPostal>string</ShipToPostal>
            <ShipToCountry>string</ShipToCountry>
            <SupplierName>string</SupplierName>
            <SupplierCode>string</SupplierCode>
            <SupplierVATNumber>string</SupplierVATNumber>
            <SupplierAddress>string</SupplierAddress>
            <SupplierCity>string</SupplierCity>
            <SupplierPostal>string</SupplierPostal>
            <SupplierCountry>string</SupplierCountry>
            <PaymentTerms>string</PaymentTerms>
          </InvoiceHeader>
          <InvoiceDetails>
            <InvoiceLine xsi:nil="true" />
            <InvoiceLine xsi:nil="true" />
          </InvoiceDetails>
          <InvoiceTrailer>
            <linecount>int</linecount>
            <TotalExcl>decimal</TotalExcl>
            <TaxTotal>decimal</TaxTotal>
            <TotalIncl>decimal</TotalIncl>
          </InvoiceTrailer>
        </InvoiceResultData>
        <PurchaseOrderResponseResultData>
          <MessageEnvelope>
            <fileDate>string</fileDate>
            <FileTrackingNumber>string</FileTrackingNumber>
            <buyerEdiCode>string</buyerEdiCode>
            <supplierEdiCode>string</supplierEdiCode>
          </MessageEnvelope>
          <PurchaseOrderResponseHeader>
            <PurchaseOrderNumber>string</PurchaseOrderNumber>
            <ResponseNumber>string</ResponseNumber>
            <SalesOrderNumber>string</SalesOrderNumber>
            <ResponseDate>string</ResponseDate>
            <ResponseTime>string</ResponseTime>
            <EstimatedDeliveryDate>string</EstimatedDeliveryDate>
            <SupplierCode>string</SupplierCode>
            <OrderStatus>string</OrderStatus>
            <PurchaseOrderDocType>string</PurchaseOrderDocType>
            <BranchID>string</BranchID>
            <ResponseCurrency>string</ResponseCurrency>
          </PurchaseOrderResponseHeader>
          <PurchaseOrderResponseDetails>
            <PurchaseOrderResponseLine xsi:nil="true" />
            <PurchaseOrderResponseLine xsi:nil="true" />
          </PurchaseOrderResponseDetails>
          <PurchaseOrderResponceTrailer>
            <LineCount>int</LineCount>
          </PurchaseOrderResponceTrailer>
        </PurchaseOrderResponseResultData>
        <CreditNoteResultData>
          <MessageEnvelope>
            <fileDate>string</fileDate>
            <FileTrackingNumber>string</FileTrackingNumber>
            <buyerEdiCode>string</buyerEdiCode>
            <supplierEdiCode>string</supplierEdiCode>
          </MessageEnvelope>
          <CreditHeader>
            <InvoiceNumber>string</InvoiceNumber>
            <CreditNumber>string</CreditNumber>
            <CreditDate>string</CreditDate>
            <PurchaseOrderNumber>string</PurchaseOrderNumber>
            <BuyerBranchID>string</BuyerBranchID>
            <BuyerName>string</BuyerName>
            <CreditToAddress>string</CreditToAddress>
            <CreditToCity>string</CreditToCity>
            <CreditToCountyState>string</CreditToCountyState>
            <CreditToPostal>string</CreditToPostal>
            <CreditToCountry>string</CreditToCountry>
            <ShipToAddress>string</ShipToAddress>
            <ShipToCity>string</ShipToCity>
            <ShipToCountyState>string</ShipToCountyState>
            <ShipToPostal>string</ShipToPostal>
            <ShipToCountry>string</ShipToCountry>
            <SupplierName>string</SupplierName>
            <SupplierCode>string</SupplierCode>
            <SupplierVATNumber>string</SupplierVATNumber>
            <SupplierAddress>string</SupplierAddress>
            <SupplierCity>string</SupplierCity>
            <SupplierPostal>string</SupplierPostal>
            <SupplierCountry>string</SupplierCountry>
            <ClaimNumber>string</ClaimNumber>
          </CreditHeader>
          <CreditDetails>
            <creditLine xsi:nil="true" />
            <creditLine xsi:nil="true" />
          </CreditDetails>
          <CreditTrailer>
            <linecount>int</linecount>
            <TotalExcl>decimal</TotalExcl>
            <TaxTotal>decimal</TaxTotal>
            <TotalIncl>decimal</TotalIncl>
          </CreditTrailer>
        </CreditNoteResultData>
      </SubmitCreditNoteResult>
    </SubmitCreditNoteResponse>
  </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 /service1.asmx HTTP/1.1
Host: www.uedis3.co.za
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>
    <SubmitCreditNote xmlns="http://tempuri.org/">
      <creditnote>
        <MessageEnvelope>
          <fileDate>string</fileDate>
          <FileTrackingNumber>string</FileTrackingNumber>
          <buyerEdiCode>string</buyerEdiCode>
          <supplierEdiCode>string</supplierEdiCode>
        </MessageEnvelope>
        <CreditHeader>
          <InvoiceNumber>string</InvoiceNumber>
          <CreditNumber>string</CreditNumber>
          <CreditDate>string</CreditDate>
          <PurchaseOrderNumber>string</PurchaseOrderNumber>
          <BuyerBranchID>string</BuyerBranchID>
          <BuyerName>string</BuyerName>
          <CreditToAddress>string</CreditToAddress>
          <CreditToCity>string</CreditToCity>
          <CreditToCountyState>string</CreditToCountyState>
          <CreditToPostal>string</CreditToPostal>
          <CreditToCountry>string</CreditToCountry>
          <ShipToAddress>string</ShipToAddress>
          <ShipToCity>string</ShipToCity>
          <ShipToCountyState>string</ShipToCountyState>
          <ShipToPostal>string</ShipToPostal>
          <ShipToCountry>string</ShipToCountry>
          <SupplierName>string</SupplierName>
          <SupplierCode>string</SupplierCode>
          <SupplierVATNumber>string</SupplierVATNumber>
          <SupplierAddress>string</SupplierAddress>
          <SupplierCity>string</SupplierCity>
          <SupplierPostal>string</SupplierPostal>
          <SupplierCountry>string</SupplierCountry>
          <ClaimNumber>string</ClaimNumber>
        </CreditHeader>
        <CreditDetails>
          <creditLine>
            <LineNumber>int</LineNumber>
            <BuyerItemCode>string</BuyerItemCode>
            <SupplierItemCode>string</SupplierItemCode>
            <ItemDescription>string</ItemDescription>
            <CreditQuantity>int</CreditQuantity>
            <UnitPrice>decimal</UnitPrice>
            <CreditlineTotalExcl>decimal</CreditlineTotalExcl>
            <VATperc>decimal</VATperc>
            <CreditlineTaxTotal>decimal</CreditlineTaxTotal>
            <CreditlineTotalIncl>decimal</CreditlineTotalIncl>
          </creditLine>
          <creditLine>
            <LineNumber>int</LineNumber>
            <BuyerItemCode>string</BuyerItemCode>
            <SupplierItemCode>string</SupplierItemCode>
            <ItemDescription>string</ItemDescription>
            <CreditQuantity>int</CreditQuantity>
            <UnitPrice>decimal</UnitPrice>
            <CreditlineTotalExcl>decimal</CreditlineTotalExcl>
            <VATperc>decimal</VATperc>
            <CreditlineTaxTotal>decimal</CreditlineTaxTotal>
            <CreditlineTotalIncl>decimal</CreditlineTotalIncl>
          </creditLine>
        </CreditDetails>
        <CreditTrailer>
          <linecount>int</linecount>
          <TotalExcl>decimal</TotalExcl>
          <TaxTotal>decimal</TaxTotal>
          <TotalIncl>decimal</TotalIncl>
        </CreditTrailer>
      </creditnote>
      <UserName>string</UserName>
      <Password>string</Password>
      <CompanyId>string</CompanyId>
      <CompanyName>string</CompanyName>
    </SubmitCreditNote>
  </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>
    <SubmitCreditNoteResponse xmlns="http://tempuri.org/">
      <SubmitCreditNoteResult>
        <Succeed>boolean</Succeed>
        <Message>string</Message>
        <SuccessReferenceNumber>string</SuccessReferenceNumber>
        <Error>string</Error>
        <OrderList>
          <string>string</string>
          <string>string</string>
        </OrderList>
        <Payload>string</Payload>
        <sAccNum>string</sAccNum>
        <imageData>base64Binary</imageData>
        <imageFiles>
          <string>string</string>
          <string>string</string>
        </imageFiles>
        <imageAndProductDetails>
          <string>string</string>
          <string>string</string>
        </imageAndProductDetails>
        <productDetailsCsv>
          <string>string</string>
          <string>string</string>
        </productDetailsCsv>
        <productGroupsCsv>
          <string>string</string>
          <string>string</string>
        </productGroupsCsv>
        <productForGridCsv>
          <string>string</string>
          <string>string</string>
        </productForGridCsv>
        <settingsCsv>
          <string>string</string>
          <string>string</string>
        </settingsCsv>
        <ReturnType />
        <Version>int</Version>
        <AuthenticateResultData UserName="string" Password="string" CompanyId="string" CompanyName="string" Database="string" sSOURCE="string" TransFormerPath="string" />
        <PriceCatelogueResultData>
          <MessageEnvelope>
            <fileDate>string</fileDate>
            <FileTrackingNumber>string</FileTrackingNumber>
            <buyerEdiCode>string</buyerEdiCode>
            <supplierEdiCode>string</supplierEdiCode>
          </MessageEnvelope>
          <Catelogue>
            <fileValidFromDate>string</fileValidFromDate>
            <fileValidToDate>string</fileValidToDate>
            <supplierName>string</supplierName>
            <supplierCompanyCode>string</supplierCompanyCode>
            <PriceFileType>string</PriceFileType>
            <Notes>string</Notes>
            <regionCode>string</regionCode>
            <branchCode>string</branchCode>
            <Items xsi:nil="true" />
          </Catelogue>
        </PriceCatelogueResultData>
        <InvoiceResultData>
          <MessageEnvelope>
            <fileDate>string</fileDate>
            <FileTrackingNumber>string</FileTrackingNumber>
            <buyerEdiCode>string</buyerEdiCode>
            <supplierEdiCode>string</supplierEdiCode>
          </MessageEnvelope>
          <InvoiceHeader>
            <InvoiceNumber>string</InvoiceNumber>
            <InvoiceDate>string</InvoiceDate>
            <PurchaseOrderNumber>string</PurchaseOrderNumber>
            <BuyerBranchID>string</BuyerBranchID>
            <BuyerName>string</BuyerName>
            <InvoiceToAddress>string</InvoiceToAddress>
            <InvoiceToCity>string</InvoiceToCity>
            <InvoiceToCountyState>string</InvoiceToCountyState>
            <InvoiceToPostal>string</InvoiceToPostal>
            <InvoiceToCountry>string</InvoiceToCountry>
            <ShipToAddress>string</ShipToAddress>
            <ShipToCity>string</ShipToCity>
            <ShipToCountyState>string</ShipToCountyState>
            <ShipToPostal>string</ShipToPostal>
            <ShipToCountry>string</ShipToCountry>
            <SupplierName>string</SupplierName>
            <SupplierCode>string</SupplierCode>
            <SupplierVATNumber>string</SupplierVATNumber>
            <SupplierAddress>string</SupplierAddress>
            <SupplierCity>string</SupplierCity>
            <SupplierPostal>string</SupplierPostal>
            <SupplierCountry>string</SupplierCountry>
            <PaymentTerms>string</PaymentTerms>
          </InvoiceHeader>
          <InvoiceDetails>
            <InvoiceLine xsi:nil="true" />
            <InvoiceLine xsi:nil="true" />
          </InvoiceDetails>
          <InvoiceTrailer>
            <linecount>int</linecount>
            <TotalExcl>decimal</TotalExcl>
            <TaxTotal>decimal</TaxTotal>
            <TotalIncl>decimal</TotalIncl>
          </InvoiceTrailer>
        </InvoiceResultData>
        <PurchaseOrderResponseResultData>
          <MessageEnvelope>
            <fileDate>string</fileDate>
            <FileTrackingNumber>string</FileTrackingNumber>
            <buyerEdiCode>string</buyerEdiCode>
            <supplierEdiCode>string</supplierEdiCode>
          </MessageEnvelope>
          <PurchaseOrderResponseHeader>
            <PurchaseOrderNumber>string</PurchaseOrderNumber>
            <ResponseNumber>string</ResponseNumber>
            <SalesOrderNumber>string</SalesOrderNumber>
            <ResponseDate>string</ResponseDate>
            <ResponseTime>string</ResponseTime>
            <EstimatedDeliveryDate>string</EstimatedDeliveryDate>
            <SupplierCode>string</SupplierCode>
            <OrderStatus>string</OrderStatus>
            <PurchaseOrderDocType>string</PurchaseOrderDocType>
            <BranchID>string</BranchID>
            <ResponseCurrency>string</ResponseCurrency>
          </PurchaseOrderResponseHeader>
          <PurchaseOrderResponseDetails>
            <PurchaseOrderResponseLine xsi:nil="true" />
            <PurchaseOrderResponseLine xsi:nil="true" />
          </PurchaseOrderResponseDetails>
          <PurchaseOrderResponceTrailer>
            <LineCount>int</LineCount>
          </PurchaseOrderResponceTrailer>
        </PurchaseOrderResponseResultData>
        <CreditNoteResultData>
          <MessageEnvelope>
            <fileDate>string</fileDate>
            <FileTrackingNumber>string</FileTrackingNumber>
            <buyerEdiCode>string</buyerEdiCode>
            <supplierEdiCode>string</supplierEdiCode>
          </MessageEnvelope>
          <CreditHeader>
            <InvoiceNumber>string</InvoiceNumber>
            <CreditNumber>string</CreditNumber>
            <CreditDate>string</CreditDate>
            <PurchaseOrderNumber>string</PurchaseOrderNumber>
            <BuyerBranchID>string</BuyerBranchID>
            <BuyerName>string</BuyerName>
            <CreditToAddress>string</CreditToAddress>
            <CreditToCity>string</CreditToCity>
            <CreditToCountyState>string</CreditToCountyState>
            <CreditToPostal>string</CreditToPostal>
            <CreditToCountry>string</CreditToCountry>
            <ShipToAddress>string</ShipToAddress>
            <ShipToCity>string</ShipToCity>
            <ShipToCountyState>string</ShipToCountyState>
            <ShipToPostal>string</ShipToPostal>
            <ShipToCountry>string</ShipToCountry>
            <SupplierName>string</SupplierName>
            <SupplierCode>string</SupplierCode>
            <SupplierVATNumber>string</SupplierVATNumber>
            <SupplierAddress>string</SupplierAddress>
            <SupplierCity>string</SupplierCity>
            <SupplierPostal>string</SupplierPostal>
            <SupplierCountry>string</SupplierCountry>
            <ClaimNumber>string</ClaimNumber>
          </CreditHeader>
          <CreditDetails>
            <creditLine xsi:nil="true" />
            <creditLine xsi:nil="true" />
          </CreditDetails>
          <CreditTrailer>
            <linecount>int</linecount>
            <TotalExcl>decimal</TotalExcl>
            <TaxTotal>decimal</TaxTotal>
            <TotalIncl>decimal</TotalIncl>
          </CreditTrailer>
        </CreditNoteResultData>
      </SubmitCreditNoteResult>
    </SubmitCreditNoteResponse>
  </soap12:Body>
</soap12:Envelope>