Save Invoice Against Sale Challan Return :- LOGIC API PUSH - SALE RETURN AGAINST SALE CHALLAN RETURN

This API is used to create Sale Return Against Sale Challan Return

Authorization Detail

Name Detail
End Point http://demo.logicerp.com/api/SaveInvoiceAgainstSaleChallanReturn
Request Type POST
Authorization Basic Auth
Username Demo
Password 1

Request

                 
  {
      "Doc_Code": 0,
      "DeliveryAt": "",
      "Remarks1": "",
      "Remarks2": "",
      "Remarks3": "",
      "Insurance_Policy_No": "",
      "Sale_BillNo": "",
      "CreditDays": 0.0,
      "Sale_Bill_Date": "",
      "Declaration_No": "",
      "DeliveryAdd1": "",
      "DeliveryAdd2": "",
      "Cases": null,
      "OrderNo": "1011",
      "OrderDate": "22/06/23",
      "AgentName": "",
      "CostCenter": "",
      "PVTMark": "",
      "Order_Id": "",
      "Tax_Form_Name": "",
      "Gst_State_Code": "",
      "GRNo": "",
      "GRDate": "",
      "BillSeries": "WSL",
      "Bill_Number": 0,
      "Bill_Date": "22/06/2023",
      "WayBillNo": "",
      "CurrencyName": null,
      "ExchangeRate": 0.0,
      "PartyUserCode": "99004477",
      "ActEntryPartyUserCode": "",
      "BranchCode": 2,
      "BranchShortName": "",
      "Godown_Name": "",
      "TransporterName": "",
      "TransportMode": "",
      "RCU_Mem_Prefix": "",
      "RCU_Mem_Number": 0,
      "RCU_Mobile_No": "",
      "RCU_Email": "",
      "RCU_First_Name": "",
      "RCU_Last_Name": "",
      "RCU_State": "",
      "RCU_PinCode": "",
      "RCU_Country": "",
      "RCU_City": "",
      "Billing_Address1": "",
      "Billing_Address2": "",
      "Challan_No": "",
      "Challan_Date": "",
      "CD_P": 0.0,
      "SpCD_P": 0.0,
      "TD_P": 0.0,
      "Freight": 0.0,
      "SpDiscountRs": 0.0,
      "Adjustment_Rs": 0.0,
      "Handling": 0.0,
      "Token_No": "",
      "PaymentMode": "",
      "Tax_Region": "",
      "BillingAddress":{
          "Mobile_No": "9898989898",
          "Contact_Person_Name": "",
          "Company_Name": "",
          "Country_Name": "",
          "City_Name": "",
          "Pin_Code": "",
          "Address_1": "",
          "Address_2": "",
          "State_Name": "",
          "Location_Name": "",
          "Email_Id": "",
          "Phone_Number": ""
      },
      "ShippingAddress":{
          "Mobile_No": "9898989898",
          "Contact_Person_Name": "",
          "Company_Name":"",
          "Country_Name": "",
          "City_Name": "",
          "Pin_Code": "",
          "Address_1": "",
          "Address_2": "",
          "State_Name": "",
          "Location_Name": "",
          "Email_Id": "",
          "Phone_Number": ""
      },
      "LstItems": [
          {
              "LogicUserCode": "TESTITEM101",
              "AddlItemCode": "",
              "Quantity": 5.0,
              "Lot_No": "",
              "Production_Unit": "",
              "Rate": 1200.0,
              "Mrp": 0.0,
              "CD_P": 0.0,
              "TD_P": 0.0,
              "Scheme_Rs": 0.0,
              "AdjustItem_Rs": 0.0,
              "ItemDescription": "",
              "SchemePerUnit": "",
              "LabourPerUnit": "",
              "AdjustmentPerUnit": "",
              "AdjustmentRs": ""
          },
          {
              "LogicUserCode": "TESTITEM102",
              "AddlItemCode": "",
              "Quantity": 5.0,
              "Lot_No": "",
              "Production_Unit": "",
              "Rate": 1500.0,
              "Mrp": 0.0,
              "CD_P": 0.0,
              "TD_P": 0.0,
              "Scheme_Rs": 0.0,
              "AdjustItem_Rs": 0.0,
              "ItemDescription": "",
              "SchemePerUnit": "",
              "LabourPerUnit": "",
              "AdjustmentPerUnit": "",
              "AdjustmentRs": ""
          }  
      ],
      "TenderDetails": [
          {
              "TenderType": "CREDIT",
              "CardName": "",
              "CardNo": "",
              "GiftVoucherNo": "",
              "Amount": 0.0
          }  
      ]    
  }
  
          

Name Type Length Mandatory
Doc_Code num--
DeliveryAt nvarchar30-
Remarks1 nvarchar150-
Remarks2 nvarchar150-
Remarks3 nvarchar150-
Insurance_Policy_No nvarchar25-
Sale_BillNo nvarchar25-
CreditDays num25-
Sale_Bill_Date nvarchar25-
Declaration_No nvarchar25-
DeliveryAdd1 nvarchar30
DeliveryAdd2 nvarchar30-
Casesnvarchar6-
OrderNo num50yes
OrderDate date/time50-
AgentName nvarchar50-
CostCenter nvarchar50-
PVTMark nvarchar20-
Order_Id nvarchar50-
Gst_State_Code nvarchar50-
GRNo nvarchar50-
GRDate date/time50-
BillSeries nvarchar50yes
Bill_Number nvarchar50-
Bill_Date nvarchar50-
WayBillNo nvarchar50-
CurrencyName nvarchar50-
ExchangeRate nvarchar50-
PartyUserCode nvarchar50yes
BranchCode num50yes
BranchShortName nvarchar50-
TransporterName nvarchar50-
TransportMode nvarchar50-
RCU_Mem_Prefix nvarchar80-
RCU_Mem_Number nvarchar--
RCU_Mobile_No num10-
RCU_Email nvarchar50-
RCU_First_Name nvarchar50-
RCU_Last_Name nvarchar50-
RCU_State nvarchar50-
RCU_PinCode num10-
RCU_Country nvarchar50-
RCU_City nvarchar50-
Billing_Address1 nvarchar200-
Billing_Address2 nvarchar200-
Challan_No num8-
Challan_Date date/time--
CD_P date/time--
SpCD_P date/time--
TD_P date/time--
Freight date/time--
SpDiscountRsmoney--
Adjustment_Rsmoney--
LogicUserCode | AddlItemCodenvarchar-Yes (Any one)
Quantitynum-yes

Response

   
  {
      "PrintFile": "",
      "Invoice_No": "WSL-58",
      "Order_No": "",
      "Status": true,
      "Message":"Saved Doc No.-WSL-58\r\n Doc Date-22/06/2023",
      "LastSavedCode": 177
  }