Skip to content

Tobacco & agri supply-chain ERP — procurement through multi-currency export

Tabocoo ERP

Tabocoo ERP at ttb.wilayats.com — Laravel 12 + Inertia + React 19 for farmer procurement, tobacco inventory (grades, lots, processing batches), mazdoor labor, Pakistan payroll, multi-currency export, and double-entry accounting — scoped by financial year with route-based RBAC.

The workflow is the product

Tabocoo ERP at ttb.wilayats.com follows tobacco from the farmer to the export invoice. That path is farmer agreements, purchases, bundle batches, inventory lots with grades, truck and processing batches, lamina, then export orders that can carry more than one grade on the same shipment.

Labor is part of the same day, not a side system. Mazdoor work, Pakistan payroll, expenses, and vendors all land in the same financial year as the leaf. If those records live elsewhere, the cost of a container is a guess.

Money and inventory stay in one ledger

Export orders support USD, EUR, GBP, AED, SAR, and CNY, each with its own PKR rate on the order. Commercial invoice PDFs come off that order, and the posting creates journal entries instead of asking accounts to copy totals into another tool.

The stack is Laravel 12, Inertia, React 19, and PostgreSQL. Access is route-based RBAC scoped by financial year, so last year’s books are not an editable copy of this year’s screens. Reports are the check: profit and loss, balance sheet, trial balance, farmer and buyer ledgers, inventory summary, payroll summary, and an FBR tax-deduction export.

Why the boundaries matter

A grade, a lot, and a processing batch are different objects. Mixing them into one “stock” table makes the commercial invoice lie about what was actually shipped. The module split — farmers, procurement, inventory, labor, payroll, export, tax, accounting — is the map of who is allowed to change which record.

DomPDF and Yajra DataTables cover the paper and the grids. The part that has to stay correct is the journal: a multi-currency export that does not post is just a document, and a document does not close a financial year.

In production

Scoped by financial year with route-based RBAC, the platform connects farmer procurement and tobacco inventory through processing batches, mazdoor labor, Pakistan payroll, and multi-currency export invoicing with automated journal entries.

What shipped

  • End-to-end tobacco flow: farmer agreements → purchases → bundle batches → inventory lots → truck/processing → lamina → export orders with multi-grade line items
  • Multi-currency export (USD/EUR/GBP/AED/SAR/CNY) with per-order PKR rates, commercial invoice PDFs, and automated journal entries
  • Reports hub: P&L, balance sheet, trial balance, farmer/buyer ledgers, inventory summary, payroll summary, and FBR tax deduction export

Building something in the same lane?

ERP, SaaS, healthcare, delivery, and proptech systems are the work. Tell me what the operation actually has to do.