Save Purchase Voucher :- LOGIC API PUSH - PURCHASE VOUCHER
This API is used to create Purchase Voucher in LOGIC
Authorization Detail
Name | Detail | |
---|---|---|
End Point | http://demo.logicerp.com/api/SavePurchaseVoucher | |
Request Type | POST | |
Authorization | Basic Auth | |
Username | Demo | |
Password | 1 |
Request
{
"AccountCode": 99004488,
"SupplierCode": null,
"Bill_No": "121",
"Bill_Date": "21/06/2023",
"GRN_Prefix": "",
"GRN_Number": 0,
"PU_Remarks_1": "",
"PU_Remarks_2": "",
"PU_Remarks_3": "",
"PartyBillDate": "",
"BranchCode": 2,
"InvoiceDate": "",
"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": "TESTITEM101",
"ScannedQty": 10.0,
"Lot_Mrp": 0.0,
"BasicRate": 1000.0,
"PurRate": 1000.0,
"SaleRate": 1200.0,
"Expiry_Date": null,
"MFG_Date": null,
"LotNo": "LOT-TEST",
"Lot_Bill_No": "",
"ItemDescription": "" ,
"Production_Unit": "",
"Org_Production_Unit": ""
},
{
"AddlItemCode": "",
"LogicUser_Code": "TESTITEM102",
"ScannedQty": 10.0,
"Lot_Mrp": 0.0,
"BasicRate": 1200.0,
"PurRate": 1200.0,
"SaleRate": 1500.0,
"Expiry_Date": null,
"MFG_Date": null,
"LotNo": "LOT-TEST",
"Lot_Bill_No": "",
"ItemDescription": "" ,
"Production_Unit": "",
"Org_Production_Unit": ""
}
],
"Sup_Code": 0
}
Name | Type | Length | Mandatory |
---|---|---|---|
AccountCode | nvarchar | - | yes |
SupplierCode | num | - | - |
Bill_No | date/time | - | - |
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 | 3 | - |
DeliveryAdd1 | nvarchar | 3 | - |
DeliveryAdd2 | nvarchar | 3 | - |
CurrencyName | nvarchar | - | - |
ExchangeRate | money | - | - |
VehicleNo | nvarchar | 25 | - |
LogicUser_Code | AddlItemCode | nvarchar | - | Yes (Any one) |
ScannedQty | num | - | yes |
Response
{
"PrintFile": " ",
"Invoice_No": "GRN-2.00",
"Order_No": "",
"Status": true,
"Message": "",
"LastSavedCode": 17
}