Advertisement
c45_pb

sales credit memo request

Dec 8th, 2020
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.99 KB | None | 0 0
  1. <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:clo="urn:microsoft-dynamics-schemas/codeunit/CloudES" xmlns:imp="urn:microsoft-dynamics-nav/xmlports/ImportSalesDocument">
  2.    <soapenv:Header/>
  3.    <soapenv:Body>
  4.       <clo:ImportSalesDocument>
  5.          <clo:aPI_ID>1234</clo:aPI_ID>
  6.          <clo:aPI_Key>Q3#Kp1_iT</clo:aPI_Key>
  7.          <clo:xMLSalesDocument>
  8.            
  9.             <imp:API_ID>1234</imp:API_ID>
  10.            
  11.             <imp:API_Key>Q3#Kp1_iT</imp:API_Key>
  12.            
  13.             <imp:SalesDocument DocumentType="CreditMemo">
  14.            
  15.                <imp:Order_ID>6376568</imp:Order_ID>
  16.                
  17.                <imp:Order_CaseID>0006</imp:Order_CaseID>
  18.              
  19.                <imp:Order_Date>2019-12-20</imp:Order_Date>
  20.              
  21.                <imp:Order_PostingDate>2019-12-21</imp:Order_PostingDate>
  22.              
  23.                <imp:Order_DueDate>2019-12-25</imp:Order_DueDate>
  24.              
  25.                <imp:Order_PaymentDueDateFormula>30D</imp:Order_PaymentDueDateFormula>
  26.              
  27.                <imp:Order_RequisitionNo></imp:Order_RequisitionNo>
  28.            
  29.                <imp:Order_InvoiceNo>6376567</imp:Order_InvoiceNo>
  30.              
  31.                <imp:Order_InvoiceStatus></imp:Order_InvoiceStatus>
  32.              
  33.                <imp:Order_CurrencyCode></imp:Order_CurrencyCode>
  34.                
  35.                <imp:Order_TotalAmountExclVAT>100</imp:Order_TotalAmountExclVAT>
  36.            
  37.                <imp:Order_TotalAmountInclVAT>125</imp:Order_TotalAmountInclVAT>
  38.            
  39.                <imp:Order_NoOfLines>1</imp:Order_NoOfLines>
  40.              
  41.                <imp:Order_Comment>testing sales order rand</imp:Order_Comment>
  42.      
  43.                <imp:CustomerInfo>
  44.                
  45.                   <imp:SellTo_CustomerNo>Cust_123</imp:SellTo_CustomerNo>
  46.                
  47.                   <imp:BillTo_CustomerNo>Cust_123</imp:BillTo_CustomerNo>
  48.              
  49.                </imp:CustomerInfo>
  50.                
  51.                <imp:ShipToInfo>
  52.                  
  53.                   <imp:ShipTo_Name>John Wick</imp:ShipTo_Name>
  54.                  
  55.                   <imp:ShipTo_Name2></imp:ShipTo_Name2>
  56.                  
  57.                   <imp:ShipTo_Attention></imp:ShipTo_Attention>
  58.                  
  59.                   <imp:ShipTo_Address>80, Vincent St</imp:ShipTo_Address>
  60.                  
  61.                   <imp:ShipTo_Address2></imp:ShipTo_Address2>
  62.                  
  63.                   <imp:ShipTo_PostCode>21219988</imp:ShipTo_PostCode>
  64.                  
  65.                   <imp:ShipTo_City>Kiev</imp:ShipTo_City>
  66.                  
  67.                   <imp:ShipTo_CountryCode>UKR</imp:ShipTo_CountryCode>
  68.              
  69.                </imp:ShipToInfo>
  70.                
  71.                <imp:SalesLines>
  72.                
  73.                   <!--1 or more repetitions:-->
  74.                   <imp:SalesLine>
  75.                      
  76.                      <imp:Line_Type>GLAccount</imp:Line_Type>
  77.                      
  78.                      <imp:Line_No>1011</imp:Line_No>
  79.                      
  80.                      <imp:Line_Description>Bircks</imp:Line_Description>
  81.                    
  82.                      <imp:Line_Description2></imp:Line_Description2>
  83.                      
  84.                      <imp:Line_Quantity>1</imp:Line_Quantity>
  85.                    
  86.                      <imp:Line_UnitOfMeasureCode>m</imp:Line_UnitOfMeasureCode>
  87.                      
  88.                      <imp:Line_UnitPrice>100</imp:Line_UnitPrice>
  89.                    
  90.                      <imp:Line_LineDiscountPct>0</imp:Line_LineDiscountPct>
  91.                      
  92.                      <imp:Line_LineVATPct>25</imp:Line_LineVATPct>
  93.                    
  94.                   </imp:SalesLine>
  95.                
  96.                </imp:SalesLines>
  97.              
  98.             </imp:SalesDocument>
  99.            
  100.          </clo:xMLSalesDocument>
  101.       </clo:ImportSalesDocument>
  102.    </soapenv:Body>
  103. </soapenv:Envelope>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement