Skip to content

Accountant Guide ​

This quick reference covers the accounting workflows in CBS — verifying bookings, reviewing transactions, managing the chart of accounts, and running bulk expense operations.


Your role in CBS ​

As an Accountant you can see QuickBooks verification, Booking Logs, and Log Reports — but you cannot manage cars, switch vehicles, change customers, or trigger Booking Actions (email sending). Your focus is financial accuracy.


Daily workflows ​

Verifying a booking (AI-assisted) ​

CBS uses AI to verify booking financials end-to-end. There are three ways to trigger it:

From the dashboard (most common):

  1. Log into the system and load the Accountant Mode dashboard. Accountant Mode Loaded
  2. Open a booking and click Administration & Tools → QuickBooks from the action menu. Open QuickBooks Dialog
  3. The dialog shows the QuickBooks tab containing the financial checks and itemized list of verified items. Dialog Structure
  4. Toggling the QB Verified status will mark the items verified. QB Verified Toggled
  5. A confirmation dialog will prompt to confirm changes. QuickBooks Confirm Dialog
  6. Once saved, the QuickBooks AI verification status is written back to the booking. After QuickBooks Save
  7. You can also view the Commissions tab in the same dialog to verify commission structures. Commissions Tab

On demand via API:

http
POST /api/post-booking-verify-quickbooks
{ "BOOKING_ID": "..." }

Scheduled: The system can run automatic checks on active/completed bookings.

What the AI verifies (step by step) ​

  1. Booking is in a valid state (active, completed, etc.)
  2. All debits (charges, fees) and credits (payments, discounts, refunds) balance
  3. Booking total matches sum of all payments/receipts
  4. Security/rental deposit was captured — if no explicit deposit on the invoice, confirms at least one deposit payment was recorded
  5. Every uploaded payment receipt is OCR-read and matched to the correct invoice (booking type → booking invoice, extension type → extensions invoice)
  6. Transactions map to the correct QuickBooks accounts (credit/debit accounts, deposit liabilities, accounts receivable)
  7. Bank processing fee (bank_processing_fee, default 5% on card payments or manual toggle) is mapped as a company expense under expenses.booking.company.bank_processing_fee
  8. Royalties are calculated strictly on the backend as a company expense (expenses.booking.company.royalties) and are never added as line items to customer invoices
  9. Attached invoice/receipt/contract images are OCR-checked — amounts, dates, and signee names verified against DB records
  10. All contracts are signed — booking, payment, extension, and addendum contracts (a signature.url present confirms signing)
  11. Any discrepancies are collected and reported
  12. Results are written back onto the booking: quickbooks_ai_verification_status, quickbooks_verified_items, quickbooks_ai_feedback, quickbooks_last_ai_verification_run

AI response examples:

  • Clean: "All payments ($500) match the booking total ($500), security deposits are fully authorized, and all contracts are fully signed."
  • Discrepancy: "Booking total is $500, but total payments reconciled sum to $450. Contract is fully signed."

Full reference: Accountant verification (AI-assisted)

Querying bookings, claims, and transactions ​

All use the same GET query shape (search, filters, order_by, pagination):

RouteReturns
GET /api/get-bookingsBookings
GET /api/get-claimsClaims
GET /api/get-expensesExpenses
GET /api/get-transactionsLedger transactions
GET /api/get-settingsSettings + chart of accounts

Reviewing the chart of accounts ​

Settings holds the chart of accounts — per-office accounts with id, category, current balance, and enabled/disabled status.

  • View: GET /api/get-settings
  • Update an account: PATCH /api/patch-setting

Transactions use the chart of accounts for both debit and credit entries. If a specific account isn't found, the system falls back to the default operating/petty-cash account.

Recording a transaction manually ​

http
POST /api/post-transaction
{
  "type": "transfer",
  "category": "cash_float_disbursement",
  "status": "pending_acceptance",
  "credit_account": { "id": "petty_cash_minkgn", "office": { "id": "1" } },
  "debit_account": { "id": "petty_cash_staff_kgn", "office": { "id": "1" } },
  "amount": 100,
  "currency_code": "JMD",
  "description": "Daily cash float assigned to CSR for morning shift",
  "date_disbursed": "2026-10-09T08:00:00Z"
}

Transactions are double-entry ledger records — every post updates both accounts atomically.

Daily cash float lifecycle & staff float management ​

To ensure tight cash control across offices:

  1. Morning Float Disbursement: Admins or managers disburse cash float from the main Office Petty Cash account to a staff member's petty cash account (with status pending_acceptance).
  2. Staff Acceptance Gate: The assigned team member views their pending float in the Transactions view and clicks Accept Cash Float. This confirms receipt, timestamps date_accepted, transitions status to completed, and unlocks the float for shift expenditures.
  3. Expense Receipt Upload & Auto-Deductions: When staff upload receipts via the expense flow, the backend automatically prioritizes the uploader's active petty cash account as the credit source, deducting funds in real-time.
  4. End-of-Day Return & Reconciliation: Remaining unused funds are returned back to the main office petty cash account (cash_float_return), zeroing out the staff member's active shift float.
  5. Real-Time WebSocket Sync: All transaction status changes, cash disbursements, and acceptances trigger WebSocket broadcasts on the transactions channel, instantly synchronizing KPI cards, account balance chips, and table rows across all open dashboard tabs.

Bulk car insurance expenses ​

Run monthly to record insurance costs per vehicle automatically:

http
POST /api/post-automate-car-insurance-expenses
{
  "car_ids": ["uuid-1", "uuid-2"],
  "date": "2025-06-01",
  "credit_account_id": "business_operating_kingston"
}

One expense is created per car. If a run needs to be reversed, use task__delete-current-month-insurance.js.

This is fleet maintenance, not a billing workflow — full reference: Bulk car insurance expenses

Viewing booking logs ​

On a booking edit page: Administration & Tools → Booking Logs — full change history. Log Report downloads the log events as a file.


What you can and cannot do ​

Can doCannot do
Run and review QuickBooks AI verificationManage/attach cars
View Booking Logs and Log ReportsSwitch cars
Review and query bookings, claims, expensesManage customer profiles
View and update chart of accountsSend emails via Booking Actions
Record transactionsChange rental class
Trigger bulk insurance expense automation—
Manage invoice payments and rates—
Manage booking documents and contracts—