Running a commercial trucking fleet on a cash-advance system without strict digital accounting is how logistics companies go bankrupt. When a driver leaves the yard with a cash advance to cover a multi-stop route, reconciling the toll receipts, fuel stops, and unexpected hauling fees upon their return is a massive administrative headache. If a dispatcher cannot instantly subtract a driver's exact road expenses against their initial advance, cash starts bleeding out of the margins. This Memento database functions as an unyielding ledger, forcing every single kilometer and rupee into a structured mathematical audit.

The Advance Reconciliation Cycle

The core of fleet financial management is tracking what was given versus what was spent. This template automates that cycle entirely.

It starts by locking down the "Vehicle No", the specific "LR No", and any carried-over debt via the "Last Trip Balance". When a dispatcher inputs the new "Advance Amount", the system takes over. The background scripts continuously aggregate data from the expense fields to calculate the exact "Balance Payable". By the time the driver returns to the yard and hands over the final "Paid Amount", the system instantly outputs the "Closing Balance This Trip". It completely eliminates the manual calculator math that causes disputes between drivers and dispatchers.

The Granular Expense Matrix

You cannot manage freight margins if you lump all road costs into a single 'expenses' column. This database forces operators to dissect the cost of a trip into a rigid taxonomy.

The system requires explicit, segregated inputs for "Toll Expenses", "Rto Expenses" (regional transport office fees), and operational costs like "Unloading Expenses", "Loading Expenses", and "Haulting Expenses". It even tracks driver incidentals like "Tea Expenses" and "Beta" (daily allowances). By breaking the total cost down into these specific categories, fleet managers can run analytics later to see if a particular route is bleeding money on tolls, or if a specific driver is consistently overspending on unverified repairs.

The Fuel and Profit Logic

Fuel is the highest variable cost in logistics, and this template treats it with mathematical severity. The fuel module tracks consumption across two different suppliers ("Bunk Name-1" and "Bunk Name-2"), logging both the "Quantity" and "Amount" in credit, alongside a separate "Cash Fuel Quantity".

This feeds directly into the performance telemetry. The system captures the "Opening Meter Reading" and "Closing Meter Reading" to output the "Total KM". It then divides the distance by the total fuel consumed to generate an exact "Mileage" metric. When this efficiency data is measured against the combined revenue of up to six separate delivery legs ("Freight-1" through "Freight-6"), the database delivers the ultimate bottom-line number: a hard, calculated "Profit/Loss" for the entire journey.