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_No | date/time | - | yes |
Bill_Date | date/time | - | - |
GRN_Prefix | nvarchar | 60 | - |
GRN_Number | num | 60 | - |
PU_Remarks_1 | nvarchar | 150 | - |
PU_Remarks_2 | nvarchar | 150 | - |
PU_Remarks_3 | nvarchar | 150 | - |
PartyBillDate | date/time | - | - |
InvoiceDate | date/time | - | - |
Godown_Name | nvarchar | - | - |
BranchShortName | nvarchar | - | - |
Adjustment_Rs | money | - | - |
SpDiscountRs | money | - | - |
AdjustUnit | money | - | - |
SchemeRs | money | - | - |
CreditDays | date/time | - | - |
AgentName | nvarchar | - | - |
OrderNo | nvarchar | - | - |
TransporterName | nvarchar | - | - |
PVTMark | nvarchar | 20 | - |
Insurance_Policy_No | nvarchar | 25 | - |
Declaration_No | nvarchar | 25 | - |
OrderDate | date/time | - | - |
ChallanNo | nvarchar | 25 | - |
ChallanDate | date/time | - | - |
Cases | nvarchar | 80 | - |
GRDate | date/time | - | - |
TransportMode | nvarchar | - | - |
DeliveryAt | nvarchar | 30 | - |
DeliveryAdd1 | nvarchar | 30 | - |
DeliveryAdd2 | nvarchar | 30 | - |
CurrencyName | nvarchar | - | - |
ExchangeRate | money | - | - |
VehicleNo | nvarchar | 25 | - |
LogicUser_Code | AddlItemCode | nvarchar | - | Yes (Any one) |
ScannedQty | num | - | yes |
Response
{
"PrintFile": "",
"Invoice_No": "PR-2.00",
"Order_No": "",
"Status": true,
"Message": "",
"LastSavedCode": 21
}