ระบบควบคุมบัญชี Marketplace → Odoo · โหมด Foundation (ข้อมูลจำลอง)

กระทบยอด — คำสั่งซื้อ vs Settlement

ตรวจ 2 สมการต่อ 1 order ก่อนอนุญาตให้ซิงก์เข้า Odoo · mismatch เกิน tolerance → เข้า exception queue

สมการ A: buyer_paid + platform_voucher = seller_revenue
สมการ B: seller_revenue − fee + shipping + adjustment = net_payout
Order No.Buyer Paid+ Subsidy= รายได้A− Fee= เงินเข้าBธนาคารหมายเหตุ
2605018MPCPB8K1,511.00500.002,011.00572.001,439.00จับคู่1,511 + 500 = 2,011 ; 2,011 − 572 = 1,439 ✓
260505KKJR0JPB3,603.001,687.005,290.000.000.00ยังInvoice พร้อมจาก order data — รอ settlement เพื่อทำ vendor bill/payout (ไม่บล็อก invoice)
260507KPFJM8T1988.00473.001,461.00380.001,081.00จับคู่
260508MISMATCHX790.00100.00890.00210.00700.00ยังคำนวณ net payout = 680 แต่ settlement = 695 ต่างเกิน tolerance → mismatch
260509RETURN011,050.00150.001,200.00250.00950.00จับคู่Invoice ถูก post แล้ว แต่ลูกค้าตีกลับ → ต้องออก credit note