7 Policies to Set Before Building an AI Settlement System

Settlement is not merely a calculation that subtracts fees from sales. It is a financial operations framework that controls the allocation of sales proceeds, payment conditions, refunds, taxes, and failure handling. Before entrusting implementation to AI, people must first finalize seven policies, from settlement cutoff dates to audit logs.

Settlement is not a simple subtraction function. It is a ledger system that determines the rights and obligations for each order, separates funds that the platform must hold or pay out, and tracks refunds, disputes, taxes, and transfer failures.

Generative AI can help write code and tests, but it cannot be the party responsible for settlement policies. If policies are undefined, AI may create plausible defaults or omit exceptions, potentially resulting in overpayments, duplicate payments, tax errors, or liquidity incidents.

Principles Confirmed by the 2024 TMON and WeMakePrice Crisis

The large-scale non-payment of sales proceeds by TMON and WeMakePrice in 2024 demonstrated how severely delayed settlements can cause cascading harm to sellers and consumers. However, the cause of the crisis should not be attributed solely to long settlement cycles. Multiple factors must be considered together, including fund management, liquidity, governance, and internal controls.

The key lessons for operators are clear.

The legal ownership and protection of sales proceeds may vary depending on the transaction structure. Therefore, while maintaining day-to-day vigilance that these are “other people’s money,” actual accounting and legal treatment must be determined according to contracts and current laws.

7 Settlement Policies to Define Before Implementation

1. Settlement Eligibility Date and Payment Cycle

First, define when an order becomes eligible for settlement. If only the order date or payment date is used, amounts that may be canceled or returned before delivery could be included in payouts.

For typical product transactions, the following flow can be designed.

  1. Payment authorization
  2. Delivery completion
  3. Purchase confirmation or automatic confirmation after the agreed period
  4. Check for returns, disputes, or anomalous transactions
  5. Finalize settlement eligibility
  6. Include in payout batch
  7. Complete transfer and reconciliation

The following items must be determined.

The settlement eligibility date and the actual payment date must be distinguished. For example, eligible_at is the time when the payment conditions are satisfied, scheduled_payout_at is the time when the payment is included in a payout batch, and paid_at is the time when a successful transfer is confirmed.

2. Fee Calculation and Settlement Statements

If sellers are shown only the final payout amount, verification is difficult and inquiries and disputes increase. Both order-level details and period-based totals are required.

Statement Item Description
Gross transaction amount Contractual components of the sales amount, such as product price, option price, and shipping fees
Discount share Discounts borne by the platform, seller, and partner, respectively
Cancellations and refunds Full and partial refunds and shipping fee adjustments
Platform fee Fee rate, fixed fees, and whether they are taxable
Payment-related costs Indicates whether PG costs are deducted separately or included in the fee
Tax adjustments Applicable items such as VAT and withholding tax
Other adjustments Contractually supported adjustments such as compensation, advertising fees, and penalties
Final payout amount Scheduled transfer amount after all additions and deductions

The fee policy must also specify the calculation basis. It must determine whether the basis is the pre-discount sales price or post-discount payment amount, whether shipping fees and VAT are included, and how fees are reversed for partial refunds.

It is safer not to calculate monetary amounts using floating-point data types. For currencies such as the Korean won, whose smallest currency unit is an integer, store amounts as integers. When foreign currencies or decimal calculations are required, use fixed-point data types and currency-specific rounding rules.

3. Refunds and Negative Settlements

An order that has already been paid out to a seller may later be refunded. In that case, the refund amount and refundable fees must be recorded in the adjustment ledger and deducted from the next payout.

For example, if the scheduled settlement amount for the current period is KRW 300,000 and the refund-related deduction for a previous order is KRW 400,000, it can be handled as follows.

The policy must include the following items.

Do not overwrite existing transaction records; link the original transaction to the adjustment transaction. This makes it possible to reconstruct which settlement was changed by each refund.

4. Payout Holds and Releases

Rather than unconditionally suspending payouts for an entire seller account, the system should support holds by order, amount, or reason. Common reasons for holds include the following.

Each hold record must store the affected amount, reason code, supporting materials, start time, review deadline, responsible person, and release conditions. Within the scope that may be disclosed, the seller interface should display the held amount, reason, required actions, and inquiry channel.

To prevent operators from repeatedly imposing holds at their discretion, it is advisable to separate the authority to create and release holds and apply dual approval to the release of large holds.

5. Segregation of Sales Proceeds and PG/Escrow Structure

If unpaid sales proceeds and company operating funds are managed as if they were the same available cash, a liquidity shortage can immediately lead to unsettled payments. At a minimum, funds related to sales proceeds and operating funds must be clearly distinguished in internal ledgers and account operations, with balances reconciled daily.

However, simply creating a separate account does not automatically establish legal bankruptcy remoteness or complete protection of funds. The effectiveness and obligations of protection methods such as trusts, deposits, and payment guarantees must be reviewed under the applicable laws and contractual structure.

Depending on the platform’s role in the payment and payout process, registration issues may arise under the Electronic Financial Transactions Act, including registration as an electronic payment gateway business. Not every platform is subject to the same PG registration requirements, nor does merely calculating settlement data always require registration. The determination must be based on how funds are actually received, held, and transferred, as well as the contractual relationships.

An early-stage platform may consider payment, escrow, or seller-specific split-settlement services provided by a registered PG. However, using a PG does not eliminate the following responsibilities.

Escrow obligations and exceptions also vary by transaction type and payment method, so the Electronic Commerce Act and its subordinate regulations must be reviewed.

6. Withholding Tax, VAT, and Supporting Documents

The rule that “individual sellers are always subject to a 3.3% deduction” is inaccurate. The term 3.3% generally refers to the combination of 3% income tax on business income and 0.3% individual local income tax. Whether withholding actually applies depends not only on whether the seller has a business registration, but also on the nature of the income, contractual relationship, payment category, and exception rules.

The following information must be collected during registration and contracting.

It is also incorrect to generalize that business sellers are “always paid 100% without any tax deductions.” If the contract provides for platform fees to be deducted, the gross transaction amount, fees, VAT, and actual transfer amount must be distinguished. The party responsible for issuing a tax invoice for fees on brokerage services provided by the platform, as well as the timing of issuance, must be determined according to the contractual and tax-law supply relationship.

Withholding taxes are generally subject to a structure requiring filing and payment by the 10th day of the month following the month containing the payment date. However, because exceptions or deadline changes may apply, the rules in effect at the time of filing must be checked. Rather than hard-coding tax rules, it is safer to manage them as versioned policies with effective start and end dates.

7. Payout Failures, Settlement Admin, and Audit Logs

Even properly created payouts may fail due to account errors, account holder mismatches, transaction restrictions, bank maintenance, or PG outages. Rather than simply marking a failure as “unpaid,” define detailed statuses and reprocessing rules.

Recommended status examples include the following.

Retries must use an idempotency key that identifies the same payout. Because mistaking a delayed response for a failure and transferring the funds again can result in a duplicate payment, first check the external transaction number to confirm the result of the existing request.

The audit log must record the following.

Audit logs must be protected so that ordinary operators cannot modify or delete them. Policies for data minimization, access control, encryption, and retention periods must be applied to personal and financial information.

Minimum Components of a Settlement Data Model

Rather than having AI build the interface first, it is better to define the following ledgers in advance.

Data Object Role
Order ledger Records order, payment, delivery, and purchase confirmation statuses
Settlement item Records the gross amount, fees, taxes, adjustments, and assigned seller for each order
Adjustment ledger Records refunds, compensation, penalties, and manual adjustments
Hold ledger Records held amounts, reasons, deadlines, and release history
Settlement batch Groups payouts for a specific period and seller
Payout ledger Records transfer requests, successes, failures, and external transaction numbers
Tax ledger Records withholding tax and the issuance and filing status of supporting documents
Audit log Records all significant changes made by operators and the system

Each ledger must include the currency, policy version, creation time, and a linkage key to the original transaction. Changing an order status alone must not silently alter historical settlement amounts.

Control Rules That Must Be Maintained

The settlement system must automatically verify the following invariants.

Example Policy Specification to Provide to AI

Structuring requirements as follows can reduce omissions.

Design the order status and settlement status separately. Implement purchase confirmation conditions by transaction type, a payout batch every Wednesday, holiday handling, the fee basis, partial refund allocation, negative balance carry-forwards, per-transaction payout holds, withholding tax policy versions, payout idempotency keys, and immutable audit logs. Process amounts as integers or fixed-point values. Every manual adjustment requires dual approval and a reason. Before implementation, present a list of questions regarding undefined policies such as the minimum payout amount, automatic purchase confirmation period, long-term negative balance recovery, hold deadlines, and number of retries.

Do not ask AI only for code; also request the following deliverables.

Pre-Launch Checklist

Conclusion

The foundation of a safe settlement system is not an AI prompt, but explicit policies and segregated ledgers. AI should be used as a tool to translate finalized rules into code, tests, and documentation, while fund custody structures and electronic finance and tax determinations must be validated with PG providers, accounting and tax professionals, and legal experts.

FAQ

Is settlement simply a feature that deducts fees from the sales amount?

No. Settlement includes purchase confirmation, partial refunds, payment holds, negative balance carryforwards, taxes, failed transfers, duplicate payment prevention, and ledger reconciliation. It requires not only formulas but also state transitions and fund controls.

Must the settlement reference date always be the purchase confirmation date?

A single standard cannot be applied uniformly to all transactions. Purchase confirmation or automatic confirmation may be used for physical products, but services, digital content, and reservation-based products have different fulfillment completion conditions. The reference event for each transaction type must be determined together with the statutory and contractual payment deadlines.

Is a shorter settlement cycle always better?

A shorter cycle reduces unpaid balances and sellers' cash flow burden, but returns, suspicious transactions, and operating costs must also be considered. Rather than unnecessarily extending the cycle due to risk, it is important to establish the minimum verification period appropriate to the transaction's characteristics and a predictable payment date.

If a platform uses a PG, does it not need to create a settlement policy?

No. A PG may provide payment processing, fund transfers, escrow, or split payment features, but the platform's policy determines which orders are paid and when, how fees and refund amounts are calculated, and whose payments are held.

Must 3.3% be withheld from all individual sellers?

No. 3.3% commonly refers to the combined withholding of business income tax and local income tax for individuals. Whether withholding applies and the applicable rate must be determined based not only on the seller's registration status but also on the nature of the income, the contractual relationship, residency status, and exceptions.

Is it completely safe to hold sales proceeds in a separate account?

A separate account is a basic control for segregating operating funds from sales proceeds, but it does not by itself guarantee bankruptcy remoteness or legal protection. The necessary protection method, such as a trust, deposit, or payment guarantee, and the legal nature of the account must be verified in accordance with the contract and current laws and regulations.

How should a negative settlement be recorded?

Record the refund amount for an order that has already been paid out as a separate adjustment transaction and deduct it from the next payment. If the deduction exceeds the amount scheduled for payment, set the payment amount to KRW 0 and carry the remaining balance forward to the next settlement. Do not delete the original transaction or overwrite a previous settlement statement.

If there is no response to a transfer request, can it be retried immediately?

No. The first request may have actually succeeded even if only the response was lost. To prevent duplicate payments, use an idempotency key and an external transaction number for the same payment, check the existing processing result with the PG or bank, and then retry.

Can AI-generated settlement code be deployed to production immediately?

It is not recommended. State transitions, ledger consistency, concurrency, duplicate requests, partial refunds, failure recovery, and access controls must be tested. Electronic financial transactions and tax matters should also be reviewed by experts based on the actual business structure.

Sources

Images

AI automation workflow linking online stores with settlement, security, and verification
AI automation workflow linking online stores with settlement, security, and verification
AI settlement system linking security shields, policy steps, money vaults, a bank, and servers
AI settlement system linking security shields, policy steps, money vaults, a bank, and servers