Mode Gelap
Accounting Sync
Status sinkronisasi transaksi hotel ke modul Accounting (lbr-accounting-api) untuk auto-posting jurnal.
Path menu: Laporan → Pendapatan & Keuangan → Accounting Sync (/accounting-sync)
Konsep
Setiap transaksi material (folio close, payment received, refund, dll) auto-trigger posting jurnal ke Accounting:
Folio Close (Cash payment)
↓
Auto-create journal entry:
Dr. Cash Rp 1.000.000
Cr. Room Revenue Rp 909.090
Cr. PPN Output Rp 90.910Mapping COA (Chart of Account) per charge_type & payment_method di-config di Accounting setup.
Tabel Sync Status
Per transaksi:
- Reservasi / Folio ID
- Transaction Type — folio_close / payment / refund / company_invoice / etc
- Amount
- Sync Status — pending / synced / failed / retry
- Last Sync At
- Journal ID — di Accounting (kalau success)
- Error Message — kalau failed
Filter
- Status — pending / synced / failed
- Periode — transaction date range
- Type
Aksi
- Retry Sync — re-attempt yang failed
- Force Sync — manual trigger walau sudah synced (untuk re-post)
- View Journal — link ke jurnal di Accounting module
Use Case
- Daily reconciliation — verify semua transaksi hotel sudah ter-post ke Accounting
- Failed sync resolution — biasanya karena COA mapping miss atau period locked
- Audit trail — bukti integration hotel ↔ accounting
Tips
- Auto-retry — sistem retry 3× untuk failed (exponential backoff). Setelah failed permanent, butuh manual intervention
- Check setting Akun Default di Accounting module untuk pastikan COA mapping ada
- Period closed — kalau Accounting period sudah ditutup, sync akan reject. Buka period dulu atau adjust ke period baru