Get Purchase Return :- LOGIC API PULL - PURCHASE RETURN

This API is used to fetch Purchase Voucher detail from LOGIC

Authorization Detail

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

Request

 
{
  "GlobalModifyCode": 0,
  "Doc_Codes": " 1",
  "DateFrom":  null,
  "DateTo":  null,
  "Branch_Codes_From": 2
}

              

Response


{
  "GetData": [
      {
          "Vouch_Code":1,
          "Vouch_No":"2023-04041",
          "Vouch_Date":"04/04/2023",
          "Account_Code":"1003",
          "Account_Name":"DEMO FOR API TESTING-KOLKATA",
          "Agent_Name":"NIL",
          "Quantity":100.0,
          "Gross_Amount":100000.0,
          "Net_Amount":105000.0,
          "Total_Tax":"5000",
          "Branch_Name":"HOREDTAPE",
          "Branch_Code":2,
          "Currency_Name":"Rupees",
          "Bill_No":"TEST",
          "Bill_Date":"04/04/2023",
          "GRN_Prefix":"GRN",
          "GRN_Number":1,
          "Tax_Region_Name":"CGST-SGST",
          "Action_Code":"MM",
          "Doc_Type_Desc":"Purchase",
          "Doc_Type":"PU",
          "ListItems": [
              {
                  "Pur_Txn_Code":1,
                  "Lot_Code":88201,
                  "Lot_Number":"LOT32",
                  "AddlItemCode":"R1B15",
                  "ItemCode":"1020",
                  "PackName":"36",
                  "CF_1":1.0,
                  "CF_2":1.0,
                  "CF_3":1.0,
                  "Item_Sale_Rate": 0.0,
                  "Item_Sp_Rate_1": 0.0,
                  "Item_Sp_Rate_2": 0.0,
                  "Item_Sp_Rate_3": 0.0,
                  "Item_Sp_Rate_4": 0.0,
                  "Item_Sp_Rate_5": 0.0,
                  "Item_Pur_Rate": 0.0,
                  "Item_MRP":1000.0,
                  "HSN_Code":"6211",
                  "Quantity":50.0,
                  "Lot_MRP":2000.0,
                  "Rate":1000.0,
                  "Tax_Amt_1":1250.0,
                  "Tax_Amt_3":1250.0,
                  "Pur_MRP":2000.0,
                  "Pur_Gross_Amt":50000.0,
                  "Pur_Net_Amt":52500.0,
                  "Pur_Round_Amt": 0.0,
                  "Pur_Net_Rate":1000.0,
                  "Gross_Pur_Amt":50000.0,
                  "CD": 0.0,
                  "TD": 0.0,
                  "SP_CD": 0.0,
                  "Scheme_Unit": 0.0,
                  "Scheme_Rs": 0.0,
                  "CD_Per": 0.0,
                  "TD_Per": 0.0,
                  "SP_CD_Per": 0.0 
              },
              {
                  "Pur_Txn_Code":2,
                  "Lot_Code":88201,
                  "Lot_Number":"LOT32",
                  "AddlItemCode":"R1B15",
                  "ItemCode":"1020",
                  "PackName":"36",
                  "CF_1":1.0,
                  "CF_2":1.0,
                  "CF_3":1.0,
                  "Item_Sale_Rate": 0.0,
                  "Item_Sp_Rate_1": 0.0,
                  "Item_Sp_Rate_2": 0.0,
                  "Item_Sp_Rate_3": 0.0,
                  "Item_Sp_Rate_4": 0.0,
                  "Item_Sp_Rate_5": 0.0,
                  "Item_Pur_Rate": 0.0,
                  "Item_MRP":1000.0,
                  "HSN_Code":"6211",
                  "Quantity":50.0,
                  "Lot_MRP":2000.0,
                  "Rate":1000.0,
                  "Tax_Amt_1":1250.0,
                  "Tax_Amt_3":1250.0,
                  "Pur_MRP":2000.0,
                  "Pur_Gross_Amt":50000.0,
                  "Pur_Net_Amt":52500.0,
                  "Pur_Round_Amt": 0.0,
                  "Pur_Net_Rate":1000.0,
                  "Gross_Pur_Amt":50000.0,
                  "CD": 0.0,
                  "TD": 0.0,
                  "SP_CD": 0.0,
                  "Scheme_Unit": 0.0,
                  "Scheme_Rs": 0.0,
                  "CD_Per": 0.0,
                  "TD_Per": 0.0,
                  "SP_CD_Per": 0.0 
              }
          ]
      }
  ],
  "Status":true,
  "Message": "",
  "LastGlobalModifyCode":0 
}