Save Purchase Return :- LOGIC API PUSH - PURCHASE RETURN

This API is used to create Purchase Return in LOGIC

Authorization Detail

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

Request


{
    "AccountCode": 99004488,
    "SupplierCode": null,
    "Bill_No": "131",
    "Bill_Date": "21/06/23",
    "GRN_Prefix": "PR",
    "GRN_Number": 3,
    "PU_Remarks_1": "",
    "PU_Remarks_2": "",
    "PU_Remarks_3": "",
    "PartyBillDate": "",
    "BranchCode": 2,
    "InvoiceDate": "21/06/23",
    "Godown_Name": "MAIN",
    "BranchShortName": "",
    "Freight": 0.0,
    "Adjustment_Rs": 0.0,
    "CD_P": 0.0,
    "TD_P": 0.0,
    "SP_CD": 0.0,
    "SpDiscountRs": 0.0,
    "AdjustUnit": 0.0,
    "SchemeRs": 0.0,
    "CreditDays": 0,
    "AgentName": null,
    "CostCenter": "",
    "OrderNo": "",
    "TransporterName": "",
    "PVTMark": null,
    "Insurance_Policy_No": "",
    "Declaration_No": null,
    "OrderDate": null,
    "ChallanNo": null,
    "ChallanDate": null,
    "Cases": null,
    "GRDate": null,
    "TransportMode": "",
    "DeliveryAt": "",
    "DeliveryAdd1": "",
    "DeliveryAdd2": "",
    "CurrencyName": "",
    "ExchangeRate": 0.0,
    "VehicleNo": "",
    "LstItems": [
        {
            "AddlItemCode": "",
            "LogicUser_Code": "TESTITEM102",
            "ScannedQty": 3,
            "Lot_Mrp": 0.0,
            "BasicRate": 0.0,
            "PurRate": 0.0,
            "SaleRate": 0.0,
            "Expiry_Date": null,
            "MFG_Date": null,
            "LotNo": "LOT-TEST",
            "Lot_Bill_No": "",
            "ItemDescription": "" ,
            "Production_Unit": "",
            "Org_Production_Unit": ""
        }
    ],
    "Sup_Code": 0
}
                     
                 

Request Detail

Name Type Length Mandatory
AccountCode nvarchar-yes
SupplierCode num--
Bill_Nodate/time-yes
Bill_Datedate/time--
GRN_Prefixnvarchar60-
GRN_Number num60-
PU_Remarks_1nvarchar150-
PU_Remarks_2nvarchar150-
PU_Remarks_3nvarchar150-
PartyBillDatedate/time--
InvoiceDatedate/time--
Godown_Namenvarchar--
BranchShortNamenvarchar--
Adjustment_Rsmoney--
SpDiscountRsmoney--
AdjustUnitmoney--
SchemeRsmoney--
CreditDays date/time--
AgentName nvarchar--
OrderNonvarchar--
TransporterNamenvarchar--
PVTMark nvarchar20-
Insurance_Policy_Nonvarchar25-
Declaration_No nvarchar25-
OrderDate date/time--
ChallanNo nvarchar25-
ChallanDate date/time--
Cases nvarchar80-
GRDate date/time--
TransportModenvarchar--
DeliveryAtnvarchar30-
DeliveryAdd1nvarchar30-
DeliveryAdd2nvarchar30-
CurrencyNamenvarchar--
ExchangeRatemoney--
VehicleNonvarchar25-
LogicUser_Code | AddlItemCodenvarchar-Yes (Any one)
ScannedQtynum-yes

Response

 
{
 "PrintFile": "",
 "Invoice_No": "PR-2.00",
 "Order_No": "",
 "Status": true,
 "Message": "",
 "LastSavedCode": 21
}