# CLOUDYTE HMS PRO – COMPLETE HOTEL ACCOUNTING & FINANCIAL MANAGEMENT MODULE

## PROJECT REQUIREMENT: ACCOUNTANT / FINANCIAL CONTROLLER MODULE

I want you to thoroughly inspect and upgrade the Accounting and Finance section of my existing **Cloudyte HMS Pro** hotel management system.

The target property is an 80-room, 5-star hotel with multiple revenue-generating departments, including:

- Accommodation / Rooms.
- Front Desk and Reservations.
- Restaurant.
- Bar.
- Kitchen.
- Mini-Mart.
- Laundry.
- Leisure.
- Banquet and Events.
- Other hotel services.

The objective is to make Cloudyte HMS Pro capable of supporting professional hotel accounting, financial management, revenue control, cost control, financial reporting and auditing.

This is not a request to build a generic accounting application. It must be integrated into the existing Cloudyte HMS Pro system.

# PART 1: INSPECT THE EXISTING SYSTEM FIRST

Before making any changes, inspect the entire project, particularly:

- Accounting.
- Reports.
- End of Day.
- Cashier Shifts.
- City Ledger.
- Direct Bill.
- Settlements.
- City Ledger Write-offs.
- Receivables Aging.
- Purchase Orders.
- Purchase Daybook.
- Vendors.
- Supplier Ledger.
- Payables Aging.
- Store Dashboard.
- Stock Items & Stores.
- Products.

Inspect the existing:
- Database structure and relationships.
- Models and controllers.
- Routes and endpoints.
- Views and frontend components.
- Accounting tables.
- Transaction records.
- User roles and permissions.
- Financial posting mechanisms.
- Night Audit integration.
- Existing reports.
- Audit trail functionality.

## IMPORTANT RULES

1. Do not recreate existing functionality.
2. Do not remove existing features.
3. Do not break existing hotel operations.
4. Do not create duplicate accounting records.
5. Do not invent features that already exist.
6. Do not assume that a visible menu means the feature is fully implemented.
7. Reuse existing models, tables, controllers and workflows wherever appropriate.
8. Maintain compatibility with existing hotel transactions.
9. Preserve existing historical financial records.
10. Use database migrations safely and preserve existing data.

First produce an inspection report divided into:

- Fully implemented modules.
- Partially implemented modules.
- Existing modules requiring improvement.
- Missing modules.
- Existing integration gaps.
- Database changes required.
- Recommended development sequence.

Do not start major modifications until the inspection is complete.

# PART 2: COMPLETE ACCOUNTING MODULES REQUIRED

Implement or improve the following modules after comparing them with the existing system.

## A. GENERAL LEDGER (GL)

Create a complete General Ledger.

Required functionality:
- Ledger accounts.
- Account codes.
- Account names.
- Account categories.
- Debit and credit entries.
- Opening balances.
- Journal posting.
- Transaction references.
- Posting dates.
- Accounting periods.
- Ledger balances.
- Account statements.
- General Ledger reports.
- Account activity history.

Every relevant financial transaction from the hotel must flow into the General Ledger through controlled accounting postings.

## B. CHART OF ACCOUNTS (COA)

Create a configurable Chart of Accounts suitable for hotel operations.

Include:

1. Assets.
2. Current Assets.
3. Fixed Assets.
4. Accumulated Depreciation.
5. Liabilities.
6. Current Liabilities.
7. Long-Term Liabilities.
8. Equity.
9. Revenue.
10. Room Revenue.
11. Restaurant Revenue.
12. Bar Revenue.
13. Mini-Mart Revenue.
14. Laundry Revenue.
15. Leisure Revenue.
16. Banquet Revenue.
17. Other Operating Revenue.
18. Cost of Sales.
19. Food Cost.
20. Beverage Cost.
21. Operating Expenses.
22. Payroll Expenses.
23. Utilities.
24. Maintenance Expenses.
25. Administrative Expenses.
26. Marketing Expenses.
27. Depreciation Expenses.
28. Finance Costs.

Allow administrators to create and configure additional accounts.

Support account codes, parent accounts, account types and posting restrictions.

## C. JOURNAL ENTRIES

Implement:
- Manual journal entries.
- Automatic journal entries.
- Recurring journal entries.
- Debit and credit lines.
- Journal descriptions.
- Supporting attachments.
- Draft and submitted statuses.
- Approval workflow.
- Posting and reversal.
- Transaction references.
- Journal audit history.

Enforce double-entry accounting.

Total debits must equal total credits before posting.

Posted journals must not be silently edited or deleted. Corrections must use authorised reversal or adjustment entries.

## D. TRIAL BALANCE

Generate a Trial Balance showing:
- Account code.
- Account name.
- Opening debit.
- Opening credit.
- Period debit.
- Period credit.
- Closing debit.
- Closing credit.

Provide date and accounting-period filters.

The system must identify unbalanced accounting records.

## E. FINANCIAL STATEMENTS

Develop:

### 1. Profit and Loss Statement
Include:
- Room revenue.
- Restaurant revenue.
- Bar revenue.
- Other operating revenue.
- Cost of sales.
- Departmental expenses.
- Undistributed operating expenses.
- Payroll.
- Utilities.
- Maintenance.
- Administrative expenses.
- Depreciation.
- Finance costs.
- Profit before tax.
- Applicable tax expenses.
- Net profit or loss.

### 2. Balance Sheet
Include:
- Current assets.
- Fixed assets.
- Current liabilities.
- Long-term liabilities.
- Equity.
- Retained earnings.

Ensure assets equal liabilities plus equity.

### 3. Cash Flow Statement
Include:
- Operating activities.
- Investing activities.
- Financing activities.
- Opening cash balance.
- Closing cash balance.

Provide monthly, quarterly and annual reporting.

## F. BANK RECONCILIATION

Develop a bank reconciliation module.

Features:
- Multiple bank accounts.
- Bank statement imports where supported.
- Manual bank transaction entries.
- Deposit matching.
- Transfer matching.
- Payment matching.
- Bank charges.
- Unpresented payments.
- Outstanding deposits.
- Unmatched transactions.
- Reconciliation reports.
- Reconciliation approval.

A reconciled period must retain its history.

## G. CASHIER RECONCILIATION

Integrate with the existing Cashier Shifts module.

The Accountant should be able to:
- View all cashier shifts.
- Review opening floats.
- Review cash sales.
- Review card payments.
- Review bank transfers.
- Review refunds.
- Review discounts.
- Review closing balances.
- Review expected cash.
- Review actual cash.
- Identify overages and shortages.
- Record investigation notes.
- Approve reconciliation where authorised.

Cashiers must not approve their own reconciliations.

## H. INCOME AUDIT

Create a comprehensive hotel Income Audit module.

It must verify revenue from:

- Room charges.
- Reservations.
- Guest folios.
- Restaurant.
- Bar.
- Mini-Mart.
- Laundry.
- Leisure.
- Banquets.
- Other revenue centres.

Required functionality:
- Daily revenue verification.
- Room revenue reconciliation.
- Occupancy and room-rate comparison.
- Discounts and complimentary room review.
- Refund review.
- No-show review.
- Revenue adjustment verification.
- Guest folio reconciliation.
- Cashier sales reconciliation.
- Outlet revenue reconciliation.
- Night Audit reconciliation.
- Revenue exception reporting.

The Income Auditor should be able to identify discrepancies without having unrestricted permission to alter the original transactions.

## I. ACCOUNTS RECEIVABLE (AR)

Integrate with the existing City Ledger, Direct Bill and Receivables Aging modules.

Include:
- Customer accounts.
- Corporate accounts.
- Invoice generation.
- Credit limits.
- Payment receipts.
- Outstanding balances.
- Partial payments.
- Payment allocation.
- Customer statements.
- Credit notes.
- Debit notes.
- Overdue account alerts.
- Receivables aging.
- Bad debt provisions.
- Approved write-offs.

## J. ACCOUNTS PAYABLE (AP)

Integrate with:
- Purchase Orders.
- Purchase Daybook.
- Vendors.
- Supplier Ledger.
- Payables Aging.

Include:
- Supplier invoices.
- Invoice verification.
- Purchase order matching.
- Goods Received Note matching.
- Supplier credit notes.
- Payment scheduling.
- Payment vouchers.
- Supplier statements.
- Outstanding balances.
- Payables aging.
- Payment approvals.

Implement three-way matching between:
1. Approved Purchase Order.
2. Goods Received Note.
3. Supplier Invoice.

Do not allow an invoice to be paid automatically simply because it was entered.

## K. EXPENSE MANAGEMENT

Create an expense management module.

Features:
- Expense categories.
- Departments.
- Expense descriptions.
- Amounts.
- Payment methods.
- Supporting documents.
- Requesting employee.
- Approval workflow.
- Expense dates.
- Accounting periods.
- Expense reports.
- Recurring expenses.
- Expense budgets.

Expenses must be posted to the appropriate General Ledger accounts.

## L. TAX MANAGEMENT

Develop tax management suitable for a Nigerian hotel.

Support configurable:
- VAT.
- Withholding Tax.
- Company Income Tax provisions.
- PAYE records.
- Other applicable statutory obligations.

Include:
- Tax categories.
- Tax rates.
- Tax calculations.
- Tax-inclusive and tax-exclusive pricing where appropriate.
- Tax reports.
- Tax liability accounts.
- Tax adjustments.
- Filing-period summaries.

Do not hard-code tax rates. Allow authorised administrators to configure applicable rates and effective dates.

Tax treatments must be configurable according to applicable Nigerian legislation.

## M. PAYROLL ACCOUNTING

Develop or integrate payroll accounting.

Include:
- Employee salary records.
- Basic salary.
- Allowances.
- Overtime.
- Bonuses.
- Deductions.
- PAYE.
- Pension contributions.
- Net salary.
- Payroll approval.
- Payroll payment records.
- Payroll journal posting.
- Payroll reports.

Integrate with HR if the HR module exists.

## N. FIXED ASSET REGISTER

Create a fixed asset management module.

Include:
- Asset registration.
- Asset category.
- Asset code.
- Purchase date.
- Purchase cost.
- Supplier.
- Department.
- Location.
- Responsible custodian.
- Useful life.
- Depreciation method.
- Accumulated depreciation.
- Net book value.
- Asset transfer.
- Asset disposal.
- Asset verification.

Support configurable depreciation policies.

## O. BUDGET MANAGEMENT

Create annual and departmental budgets.

Include:
- Room revenue budget.
- Restaurant revenue budget.
- Bar revenue budget.
- Other outlet revenue budgets.
- Payroll budgets.
- Utility budgets.
- Maintenance budgets.
- Marketing budgets.
- Administrative budgets.
- Procurement budgets.

Allow:
- Monthly budgets.
- Quarterly budgets.
- Annual budgets.
- Budget approval.
- Actual versus budget comparisons.
- Variance reports.
- Forecasting.

## P. COST CONTROL

Develop a hotel Cost Control module.

Include:

### Food Cost Control
- Food purchases.
- Food stock consumption.
- Recipe costing.
- Portion costing.
- Food wastage.
- Food stock variance.
- Food cost percentage.

### Beverage Cost Control
- Beverage purchases.
- Beverage stock consumption.
- Bottle and crate tracking where relevant.
- Complimentary drinks.
- Beverage wastage.
- Beverage stock variance.
- Beverage cost percentage.

### Departmental Cost Control
- Housekeeping supplies.
- Laundry supplies.
- Maintenance materials.
- Mini-Mart stock.
- Leisure supplies.
- General operating supplies.

## Q. PURCHASE AND INVENTORY ACCOUNTING

Integrate with the existing Stores and Procurement modules.

Include:
- Purchase requisitions.
- Supplier quotations.
- Purchase approvals.
- Purchase orders.
- Goods Received Notes.
- Stock issuance.
- Stock transfers.
- Stock returns.
- Stock adjustments.
- Stock counts.
- Inventory valuation.
- Stock variance.
- Supplier invoices.
- Cost of goods sold.

Avoid duplicate stock deductions and duplicate accounting postings.

## R. FINANCIAL PERIOD MANAGEMENT

Implement:
- Daily financial processing.
- Monthly closing.
- Quarterly closing.
- Annual closing.
- Period locking.
- Opening balances.
- Closing balances.
- Period-end adjustments.
- Retained earnings transfer.
- Financial year configuration.

Restrict changes to closed periods.

Reopening a closed period must require authorised approval and leave an audit trail.

## S. FINANCIAL AUDIT TRAIL

Record:
- User who created a transaction.
- User who edited it.
- User who approved it.
- User who posted it.
- Transaction date.
- Modification date.
- Previous value.
- New value.
- Transaction reference.
- Approval history.
- Reversal history.

The audit trail must not be editable by ordinary users.

# PART 3: ACCOUNTANT DASHBOARD

Create a dedicated Finance & Accounting Dashboard.

Display:

### Financial Overview
- Total daily revenue.
- Monthly revenue.
- Daily expenses.
- Monthly expenses.
- Cash and bank balances.
- Accounts receivable.
- Accounts payable.
- Gross profit.
- Net operating result.
- Budget versus actual.

### Revenue Overview
- Room revenue.
- Restaurant revenue.
- Bar revenue.
- Mini-Mart revenue.
- Laundry revenue.
- Leisure revenue.
- Banquet revenue.
- Other revenue.

### Financial Alerts
- Unreconciled cashier shifts.
- Unposted revenue.
- Outstanding guest balances.
- Overdue corporate invoices.
- Overdue supplier payments.
- Unapproved expenses.
- Unbalanced journals.
- Stock discrepancies.
- Pending approvals.
- Unreconciled bank transactions.

All dashboard figures must come from actual database records. Do not use hard-coded demonstration figures in production.

# PART 4: ACCOUNTANT USER ROLES AND PERMISSIONS

Create role-based permissions for:

1. Financial Controller / Chief Accountant.
2. General Accountant.
3. Income Auditor.
4. Cost Controller.
5. Accounts Payable Officer.
6. Accounts Receivable Officer.
7. Payroll Accountant.
8. Cashier.
9. Internal Auditor.
10. General Manager.

For each role, define:
- View.
- Create.
- Edit.
- Submit.
- Approve.
- Post.
- Reverse.
- Export.
- Restricted.

Implement segregation of duties.

Important restrictions:
- Cashiers cannot approve their own reconciliations.
- Employees cannot approve their own expenses.
- The person entering supplier invoices should not independently approve payment.
- The person creating a journal should not automatically approve and post it.
- The Internal Auditor must have independent read-only access to relevant records and audit trails.
- Closed accounting periods cannot be modified without authorised reopening.

# PART 5: ACCOUNTING INTEGRATION WITH OTHER HOTEL DEPARTMENTS

This is extremely important.

Connect accounting properly with all relevant Cloudyte HMS Pro modules.

### Front Desk
Room charges, guest folios, deposits, refunds, discounts and check-outs.

### Reservations
Advance deposits, cancellation charges, no-shows and reservation payments.

### Restaurant
Food sales, payments, guest room posting, discounts and revenue.

### Bar
Beverage sales, payments, stock consumption and revenue.

### Kitchen
Food consumption, recipe costs and wastage.

### Mini-Mart
Product sales, inventory deduction and revenue.

### Laundry
Guest laundry billing, internal laundry costs and revenue.

### Leisure
Facility charges, payments and revenue.

### Banquets
Event deposits, hall charges, catering charges and outstanding event balances.

### Housekeeping
Operating supplies, linen and departmental expenses.

### Maintenance
Repair expenses, equipment purchases and fixed assets.

### Stores
Stock valuation, goods received, stock issuance, stock transfers and stock adjustments.

### Night Audit
Room revenue, tax postings, cashier reconciliation, outlet charges and business date closing.

Every integration must be based on the actual existing workflows and database structure.

# PART 6: FINANCIAL REPORTS

Provide a comprehensive reporting centre with:

1. Daily Revenue Report.
2. Daily Income Audit Report.
3. Room Revenue Report.
4. Outlet Revenue Report.
5. Cashier Shift Report.
6. Cashier Variance Report.
7. Bank Reconciliation Report.
8. General Ledger Report.
9. Trial Balance.
10. Profit & Loss Statement.
11. Balance Sheet.
12. Cash Flow Statement.
13. Accounts Receivable Report.
14. Receivables Aging.
15. Accounts Payable Report.
16. Payables Aging.
17. Supplier Ledger Report.
18. Customer Statement.
19. Expense Report.
20. Departmental Expense Report.
21. Food Cost Report.
22. Beverage Cost Report.
23. Stock Valuation Report.
24. Stock Variance Report.
25. Purchase Report.
26. Payroll Report.
27. Fixed Asset Report.
28. Depreciation Report.
29. Tax Report.
30. Budget versus Actual Report.
31. Monthly Financial Performance Report.
32. Annual Financial Performance Report.
33. Journal Register.
34. Audit Trail Report.

Reports should support:
- Date filtering.
- Department filtering.
- Revenue centre filtering.
- Accounting period filtering.
- Export to PDF.
- Export to Excel.
- Printing.

# PART 7: HOTEL ACCOUNTING STANDARDS AND CONTROLS

Design the accounting system using:

- Double-entry bookkeeping.
- Accrual accounting.
- Appropriate IFRS-based reporting principles.
- Applicable Nigerian tax and regulatory requirements.
- Appropriate hotel departmental reporting practices, including USALI concepts where suitable.
- Proper segregation of duties.
- Approval workflows.
- Complete audit trails.
- Financial period controls.

The accounting system should support Nigerian Naira (NGN), kobo precision, configurable tax rates and other currencies where the hotel requires them.

Do not assume all accounting treatments are identical for every transaction. Make accounting mappings configurable and subject to professional review.

# PART 8: DEVELOPMENT AND TESTING REQUIREMENTS

Develop the modules in a controlled sequence.

For each module:

1. Inspect existing implementation.
2. Identify what is missing.
3. Design the database changes.
4. Implement backend functionality.
5. Implement frontend interfaces.
6. Add permissions.
7. Add validation.
8. Add audit trails.
9. Connect existing modules.
10. Test with sample hotel transactions.
11. Verify accounting postings.
12. Test reports.
13. Check for duplicate postings.
14. Verify that existing hotel operations still work.

Use realistic hotel accounting scenarios.

Example:

A guest stays in Room 205 for three nights at ₦100,000 per night.

The system should correctly record:
- Room revenue.
- Applicable tax.
- Guest folio charges.
- Guest payment.
- Cash or bank receipt.
- General Ledger posting.
- Revenue report.

Another example:

The hotel purchases food supplies worth ₦500,000.

The system should correctly record:
- Purchase order.
- Goods Received Note.
- Supplier invoice.
- Inventory increase.
- Applicable input tax treatment, where eligible.
- Supplier liability.
- Payment.
- General Ledger posting.

Ensure every accounting transaction balances.

# PART 9: FINAL EXPECTED DELIVERABLES

I expect the following:

1. Existing Accounting Module Inspection Report.
2. Existing-versus-Missing Feature Matrix.
3. Complete Accounting Department Menu Structure.
4. Database Design and Migration Plan.
5. General Ledger and Chart of Accounts.
6. Complete Finance & Accounting Dashboard.
7. Functional Accounting Modules.
8. Role-Based Permissions.
9. Hotel Financial Reports.
10. Integration with all hotel departments.
11. Accounting Approval Workflows.
12. Financial Audit Trail.
13. Automated Accounting Posting.
14. Testing and Verification Report.
15. Accountant Operational Training Manual.

# PART 10: IMPORTANT IMPLEMENTATION INSTRUCTIONS

Do not attempt to build everything in one unverified operation.

Work module by module.

Start by inspecting the existing Accounting menu and all its submenus.

Then give me an accurate report showing:

- What is already implemented.
- What is partially implemented.
- What is missing.
- What needs improvement.
- What should be integrated.
- What should be developed first.

After that, implement the missing functionality in phases.

Preserve the existing Cloudyte HMS Pro design, navigation, coding conventions and architecture.

Do not replace the entire application.

Do not create duplicate menus or duplicate database tables when existing ones can be extended.

Do not claim a module is completed until the actual functionality has been implemented and tested.

**FINAL OBJECTIVE:**

Transform Cloudyte HMS Pro into a professional hotel financial management and accounting system capable of supporting an 80-room, 5-star hotel, with reliable revenue tracking, double-entry accounting, financial reporting, cost control, inventory accounting, supplier management, cashier reconciliation, internal controls and management oversight.