KMCH HIS Wiki
สแกนเพื่อเปิดบนมือถือ

MEDHIS Odoo Revenue Interface Workflow

Workflow Verified Tue Apr 28 2026 00:00:00 GMT+0000 (Coordinated Universal Time) For: FinanceAccountingAdminSystemITSupport Source: phase-4-uat-documents/1. MEDHIS/3. MEDHIS - รายงานผลการทดสอบเชื่อมโยงระบบ MEDHIS กับระบบงาน ODOO ERP.pdf, phase-4-uat-documents/2. Odoo ERP/2. Odoo - รายงานผลการทดสอบเชื่อมต่อ Odoo กับระบบต่างๆ.pdf Updated Tue Apr 28 2026 00:00:00 GMT+0000 (Coordinated Universal Time)

MEDHIS Odoo Revenue Interface Workflow

Overview

ส่งข้อมูลรายได้จาก Billing / MEDHIS ไปยัง Odoo ERP เพื่อบันทึกบัญชี Receipt, Invoice, Deposit, และ Onward revenue.

Revenue Streams

StreamDirectionTimingAccounting Target
HIS ReceiptMEDHIS → OdooDaily 00:01Receipt/payment posting
HIS InvoiceMEDHIS → OdooDaily 00:01Invoice/debtor posting
DepositMEDHIS → OdooDaily interface groupCustomer payment/deposit posting
HIS OnwardMEDHIS → OdooMonthly, first day of next monthIPD accrued revenue journal entry

Steps

  1. Billing generates Receipt, Invoice, Deposit, or unbilled IPD Ward revenue.
  2. Interface job selects eligible records:
    • includes valid records for the period
    • excludes same-day cancelled items
    • includes cross-day cancellation correction where applicable
  3. MEDHIS creates interface payload or log file using the source-defined naming/running sequence.
  4. MEDHIS sends one transaction or visit-level payload to Odoo ERP API.
  5. Odoo records request and validates required fields.
  6. Odoo creates invoice/payment/journal entry and maps account, cost center, profit center, customer/payor, patient, VN/AN, and doctor fields.
  7. Odoo returns success or failure response.
  8. Interface result is logged for audit and rerun.

Key Fields

See HIS ERP Interface Data Dictionary for full payload-level field mapping.

Field GroupExamples
Patient and encounterHN, patient_name, episode_type, VN/AN
Billing documentreceipt/invoice number, invoice_date, journal_code, move_type
Accountingaccount_code, cost_code, profit_code, price_unit, balance
Paymentpayment method, bank, reference, amount
Payorcustomer / TPA code, insurance_code

Controls

Modules Involved

เนื้อหาที่เกี่ยวข้อง / Related

ภาพประกอบจาก Phase 4 / Phase 4 Screenshots