In Gofrugal RetailEasy (RPOS7), the Purchase Formula is one of the most important configurations, as it controls how your item’s purchase rate is calculated inside the software.
This directly affects:
Here’s a clear explanation of the purpose and benefits:
✅ Purpose of RetailEasy Purchase Formula:
To calculate the real cost of an item accurately. A purchase invoice often includes:
Discounts
Scheme offers
Additional charges
Freight, loading, packing
Tax (inclusive/exclusive)
The formula ensures these are all mathematically applied to calculate the true purchase rate.
To distribute additional charges properly
Invoices may have lump-sum charges like:
Transport → ₹1000
Loading → ₹300
Packing → ₹200
Purchase Formula distributes these charges to each item fairly, using methods like:
Quantity-based
Value-based
This gives each item its correct landed cost.
To standardize purchase costs across branches
For multi-store customers, the purchase formula keeps cost uniform by following the same rules in all outlets.
To avoid manual mistakes
Without a purchase formula, users must manually calculate:
Per-item loading charges
Discounts
Tax adjustments
This leads to mistakes.
The purchase formula automates the process.
🎯 Key Benefits:
Accurate Profit Calculation
Since cost is correct, the following reports become accurate:
Gross Profit
Cost of Goods Sold (COGS)
Item-wise Margin
Category-wise Margin
Incorrect purchase rate = wrong profit.
Better Selling Price Decisions
If the formula adds all extra costs, you know the true cost. This ensures the selling price is set with correct margin.
Help during Supplier Negotiation
When purchase rate includes all costs, you see the actual cost difference between suppliers, not just invoice price.
Better Stock Valuation
Stock valuation in:
Inventory report
Balance sheet
Stock audit
Becomes exact when landed cost is accurate.
GST Accuracy
RetailEasy purchase formula clarifies:
Whether tax was already included
How to back-calculate purchase rate
How tax affects total cost
This prevents GST mismatch during filing.
Open RetailEasy and navigate to Purchase > Purchase Formula.
Add the Formula Name.
Select the Distributor Type = Local / Interstate / Import.
If you want to assign the purchase formula only for a specific distributor, click the radio button beside Specific Distributors.
Click on the distributor name field and press enter.
Choose the desired distributor. Remember, you can select only one distributor at a time; multi-select is not available.
If you want to assign the purchase formula for all the distributors, click the radio button beside All Distributors.
Select the caption field and press enter.
Select the caption details from the list.
Note: If you follow the No column on the caption details, you will have idea, in which order the formula should be created.
Select the Rate Deduction from the list and press enter button. It will be added in the list.
Similarly select the Scheme Discount from the list.
After selecting the Scheme Discount from the list, the cursor will move to the formula field.
Select Basic Amount, then press enter.
Then again select Rate Deduction, then press enter.
Check the Formula Text field, you will see that the formula was created as Basic Amt + Deductions.
Click Update Formula.
Add the complete formula using the above steps.
Note: The below formula is a complete formula where any kind of general situation can be handled.
Caption used in the formula:
Rate Deduction = If there are any rate deductions.
Scheme Discount = If there are any scheme discounts. [Basic Amount + Rate Deduction]
Cash Discount = If there are any cash discounts. [Basic Amount + Rate Deduction + Scheme Discount]
Freight Payable = If there are any freight payable. [Basic Amount + Rate Deduction + Scheme Discount + Cash Discount]. Note: freight payable amount will not get added in the bill but will be added with the item's landing cost.
GST = This is to add GST. [Basic Amount + Rate Deduction + Scheme Discount + Cash Discount]
Packing Charges = If there are any packing charges. [Basic Amount + Rate Deduction + Scheme Discount + Cash Discount] Note: Packing charges amount will be added in the bill & with the item's landing cost.
Freight Charges = If there are any freight charges. [Basic Amount + Rate Deduction + Scheme Discount + Cash Discount] Note: Freight charges amount will be added in the bill & with the item's landing cost.
Other Charges = If there are any other charges. [Basic Amount + Rate Deduction + Scheme Discount + Cash Discount] Note: Freight charges amount will be added in the bill & with the item's landing cost.
Offer Discount = If there are any offer discounts. [Basic Amount + Rate Deduction + Scheme Discount + Cash Discount] Note: Offer discount amount will be subtracted from the bill & from the item's over all landing cost.
Extra Cess = If there are any Extra Cess. [Basic Amount] Note: Extra cess amount will be added in the bill & with the item's landing cost.
Note: If you put captions above the GST field, GST will not be calculated. If you put captions below GST field, GST will be calculated.
Click the F6 Save button.
Click the OK button.
Please refer to the screenshot below for your reference.
Click the F4 Change button, then select the desired formula from the list.
Click the F9 Set Default button, then click the Yes button.
Click the F6 Save button.
Click the Yes button.
Click the OK button.
Click the OK button.
Take the distributor.
Click the More Options button.
Take the Trans Name [Transporter Name] by pressing enter.
The New purchase formula will appear. Check that the landing cost is showing [118].
Press the F2 Show HDR button and type the desired amount in the Freight Payable.
Press the F2 Show HDR button and type the desired amount in the Freight Charges.
Note: In the AccountsEasy profit and loss report, it will appear similarly to the below screenshot.
Let’s consider a scenario where a customer wants to apply three item discounts before the addition of GST [Item Discount 1, Item Discount 2, Item Discount 3], and display discount after the GST is applied [Display Discount], using the same formula we developed earlier.
To create calculation masters and the purchase formula.
Navigate to Purchase > Masters > Calculation Master.
Type the name as 'Display Discount'.
Select the Add/Sub as Sub as its a discount.
Select the Landing Cost formula from the dropdown.
Consider in Landingcost and Purchase Value: The entered value will be added or subtracted in Landingcost and Purchase Value.
Consider only Landingcost: The entered value will be added or subtracted only in the Landingcost.
Donot consider only Landingcost: The entered value will not be added or subtracted only in the Landingcost. It means that the entered value will be added or subtracted only in the Purchase Value.
Donot consider in Landingcost and Purchase Value: The entered value will not be added or subtracted in Landingcost and Purchase Value.
Based on our needs, we chose Donot consider only Landingcost.
Select the desired ledger where you want to post the values.
Note: We have considered the Discount Received for all the discount-related ledgers.
Click the F6 Save button.
Create Item Discount 1. Here, the formula will be Consider in Landingcost and Purchase Value.
Create the Item Discount 2. Here the formula will be Consider in Landingcost and Purchase Value.
Create Item Discount 3. Here the formula will be Consider in Landingcost and Purchase Value.
Create the formula by following the previous steps. The formula will look like the below screenshot.