Mode Gelap
Company Invoices
Tagihan corporate / travel agent yang aggregate semua folio Bill-to-Company per periode billing. Bagian dari workflow Companies.
Path menu: Reservasi → Company Invoices (/master-data/companies/invoices)
Konsep
Reservasi dengan tag company_id saat checkout di-post ke AR (folio status = posted_to_ar). Sistem agregasi folio-folio tersebut menjadi 1 invoice per periode (mingguan/bulanan, sesuai payment terms company).
Reservasi A (Bill PT.X) ┐
Reservasi B (Bill PT.X) ├→ folio posted_to_ar ─→ Company Invoice INV-PT.X-202605
Reservasi C (Bill PT.X) ┘ (total = sum 3 reservasi)Tabel Invoice
Kolom:
- Nomor Invoice —
INV-{COMPANY_CODE}-{PERIODE} - Company — nama
- Periode — range tanggal billing
- Jumlah Folio — count reservasi included
- Subtotal — sum charges
- PPN/Service — pajak & biaya layanan
- Total — final amount
- Paid Amount — sudah dibayar berapa
- Outstanding — sisa
- Status — draft / sent / partial / paid / overdue / cancelled
Filter & Search
- Status — multiple
- Company — pilih dari master
- Periode — date range
- Outstanding — show only yang masih outstanding
Aksi
Generate Invoice
+ Generate Invoice — pilih company + periode → sistem agregasi semua folio posted_to_ar dalam periode → buat draft invoice.
Detail Invoice
Klik nomor → halaman detail menampilkan:
- Header info (company, periode, total)
- Daftar Folio included (per reservasi)
- Daftar Payment yang sudah masuk
- Outstanding terkini
Aksi per Invoice
- Send — kirim ke company (status draft → sent)
- Add Payment — record pembayaran (partial atau full)
- Reverse Payment — kalau salah input
- Cancel Invoice — kalau ada error (perlu approval)
- Print/Export — PDF untuk kirim ke company
Workflow Pembayaran
- Generate invoice dari folio posted_to_ar
- Send invoice ke company (email PIC)
- Receive payment dari company (transfer/giro)
- Add Payment di invoice → status update otomatis (partial / paid)
- Outstanding AR company berkurang
Tips
- Workflow invoice di-link ke field Payment Terms company (NET-30 = invoice harus paid dalam 30 hari)
- Invoice overdue muncul di AR Aging Corporate report
- Untuk multiple payment per invoice (cicilan), bisa add payment beberapa kali sampai saldo 0
- Tax & service charge otomatis dari setting Pengaturan Hotel (Service Charge / PB1 / PPN)