Administrator Manual

Administrative & Governance Manual

Platform Administrator & Governance Manual

Operational oversight, carrier accreditation, tariff approvals, delivery-verified settlement batch execution, zero-drift general ledger accounting, and consequential action runbooks.

1. Carrier Governance & Tariff Approval

Every carrier provider must undergo statutory KYC verification prior to receiving booking dispatches or financial settlements. Administrators verify Commercial Registration (CR), Tax Identification (TIN), and Arab Transit Agreement transport permits.

Commercial Registration:

Verified against national registry databases for active corporate freight licensing.

Tax Registration (TIN):

Validated for automated e-invoicing Phase 2 clearance and VAT reporting.

Rate Card Tariff Approval:

Checking 1:5000 volumetric divisor, port fees, and fuel surcharges before live publication.

2. Delivery-Verified Settlement Batch Engine

Cardinal Financial Guardrail:

Carrier freight payouts can ONLY be generated for consignments with confirmed 'delivered' shipmentStatus and 'eligible_for_settlement' status, verified via biometric glass signature.

Weekly Batch Disbursement Runbook:

  1. Scan Eligible Consignments: Navigate to /admin/finance and click 'Scan Eligible Consignments'. System filters for delivered bookings awaiting payout.
  2. Aggregate Batches: The engine groups eligible consignments by carrier organization, calculates minor unit totals using Decimal.js, and issues a formal batch ID.
  3. Authorize & Post Journal Entry: Click 'Authorize Payout'. NestJS wraps execution in a database transaction, posts balanced journal lines, and shifts booking settlement status to settled.

3. Chart of Accounts & Zero-Drift Trial Balance

Authoritative Database Trial BalanceTotal Debits ($31,345.40) === Total Credits ($31,345.40) across 228 Journal Lines
Discrepancy: $0.0000
Account CodeNormal BalanceClassificationDescription
CUSTOMER_RECEIVABLEDebitAsset (1000s)Amounts invoiced to enterprise shippers prior to gateway capture or during net-30 terms.
CASH_GATEWAY_CLEARINGDebitAsset (1000s)Customer funds captured through payment gateway and held in ring-fenced escrow accounts.
PROVIDER_PAYABLECreditLiability (2000s)Net freight earned by accredited carriers for completed, delivery-verified consignments.
PLATFORM_REVENUECreditRevenue (4000s)Platform freight brokerage commissions (typically 10-15%) and managed customs clearance fees.
GATEWAY_FEE_EXPENSEDebitExpense (5000s)Interchange fees and merchant transaction charges deducted by payment processors.
COD_MERCHANDISE_LIABILITYCreditLiability (2000s)Cash-on-Delivery funds collected from consignees by drivers, payable back to shippers.
Audit General Ledger Balance:
node scripts/reconcile-database.js

4. Consequential Actions & Emergency Runbooks

Cancelling a Paid Booking

!
Operational & Financial Impact:

Escrow funds must be refunded to customer; carrier fleet reservation is released back to capacity pool.

Procedure & Reversal Steps:

Open /admin/operations, select booking, and click Cancel & Refund. The system generates an adjusting REFUND journal entry, debiting PROVIDER_PAYABLE and crediting CASH_GATEWAY_CLEARING.

Emergency Account Lockout

!
Operational & Financial Impact:

User session is instantly terminated; all API requests with existing JWTs are rejected with 401 Unauthorized.

Procedure & Reversal Steps:

Navigate to /admin/settings -> Users. Toggle isActive = false. The NestJS JwtAuthGuard immediately blocks subsequent requests.

Carrier Suspension on Regulatory Breach

!
Operational & Financial Impact:

Carrier cannot bid on spot auctions or accept new bookings; active shipments are reassigned to backup fleets.

Procedure & Reversal Steps:

In /admin/providers, set organization status to SUSPENDED. Review active manifests under /admin/operations for emergency reassignment.

Double-Entry Ledger Discrepancy

!
Operational & Financial Impact:

Batch settlement payouts are locked automatically to prevent over-disbursement or fiscal drift.

Procedure & Reversal Steps:

Execute `node scripts/reconcile-database.js` to locate the unbalanced journal line. Post an offsetting adjusting journal entry via /admin/finance.

Simulated Demo Mode