Fleet Management System
This is a Frappe application that provides APIs for transport company onboarding, wallet management, fleet card creation, and PIN updates. It integrates with ERPNext for customer, wallet, and vehicle management.
- Author: nareshkannasln
- Repository: https://github.com/nareshkannasln/Fleet-Management-System
- GitHub stars: 1
- Forks: 0
- License: MIT
- Category: Other
- Maintenance: Minimally Maintained
Install Fleet Management System
bench get-app https://github.com/nareshkannasln/Fleet-Management-System
Add the Frappe Gems badge to your README
Maintain Fleet Management System? Paste this into your README:
[](https://frappegems.com/gems/apps/nareshkannasln/Fleet-Management-System)
About Fleet Management System
Fuel Management App
This is a Frappe application that provides APIs for transport company onboarding, wallet management, fleet card creation, and PIN updates. It integrates with ERPNext for customer, wallet, and vehicle management.
Installation
Navigate to your frappe-bench directory.
Get the app:
bench get-app fuel_management
Install the app on your site:
bench --site install-app fuel_management
Restart the server:
bench start
API Endpoints 1. Onboard Transport Company
URL
POST /api/method/fuelmanagement.api.onboardtransport_company
Request Body
{ "company_name": "ABC Logistics", "email": "abc@example.com", "phone": "9876543210" }
Response
{ "status": "success", "message": "Transport Company and User created", "companyid": "COMP-0001", "walletid": "FLID0001", "customerid": "CUST-0001", "email": "abc@example.com", "password": "autogenerated_password" }
- Create Fleet Card
URL
POST /api/method/fuelmanagement.api.createfleet_card
Request Body
{ "walletid": "FLID0001", "vehiclenumber": "TN01AB1234" }
Response
{ "status": "success", "card_no": "CARD123456", "pin": "1234", "message": "Fleet card created successfully" }
- Change Fleet Card PIN
URL
POST /api/method/fuelmanagement.api.changepin
Request Body
{ "cardno": "CARD123456", "oldpin": "1234", "new_pin": "5678" }
Response
{ "status": "success", "message": "PIN changed successfully" }
Notes
Onboarding a transport company automatically creates:
User account with default role
Transport Company doctype entry
Linked ERPNext Customer
Wallet ID (FLIDxxxx)
Fleet cards are tied to vehicles and wallets.
PIN updates are validated against the existing PIN before changing.
Related Other apps for Frappe & ERPNext
- Erpnext — Free and Open Source Enterprise Resource Planning (ERP)
- Helpdesk — Modern, Streamlined, Free and Open Source Customer Service Software
- Print Designer — Visual print designer for Frappe / ERPNext
- Ctr — CTR模型代码和学习笔记总结
- Whitelabel — Whitelabel ERPNext
- Fossunited — fossunited.org
- Helm — Helm Chart Repository for Frappe/ERPNext
- Frappe Attachments S3 — A frappe app to upload file attachments in doctypes to s3.