Skip to content

MON · Money

Everything a driver owes is a charges row. A payment is recorded with its proof and spread over charges by payment_allocations; rebates, refunds, waivers and corrections are charge_adjustments. Paid, balance and overdue are always computed. Money is voided, never deleted, and has no pool: it follows the driver. Payouts settle rent with rental companies. Code MON.

D61 names three flows that must not break on the first Monday after cutover: driver onboarding (the queue to an approved driver), vehicle onboarding (a new car to ready) and collection (an overdue driver to a call, a surat hutang and a payment). Their rules get the most tests, refusals included, and the hardest review. On this page:

  • Driver onboarding: R-MON-24 and R-MON-25 (the admin fee).
  • Collection: R-MON-06 to R-MON-08, R-MON-13 to R-MON-16, R-MON-20, R-MON-21, R-MON-29 to R-MON-31, R-MON-41 to R-MON-48, R-MON-50 to R-MON-54, R-MON-56 and R-MON-57.

These questions are open in #86. Each gets a rule with a new ID once it is answered.

  • MON open 1 · Refunded, waived and partial adjustments
  • MON open 3 · Charge types that need a rental
  • MON open 4 · Payout totals
  • Undecided after the review. R-MON-05 (margin) and R-MON-32 (payouts to rental companies, not in use, D38) stay as written. D46 settles R-MON-08 as the days limit, beside the amount limit (R-MON-41).
  • Thresholds the Business Team has not set. D76 gives no starting rows: every combination falls back to the charge type's own (R-MON-68), and other types than rent have none until a row is set.
  • A numbered invoice is out of D76 (R-MON-71); it would be its own decision.
  • Who reconciles payments (R-MON-44): the payment and collection roles proposed on #157 come after cutover (D63); until then finance, admin and admin_fleet do that work.
  • The company of a migrated charge (#544): D90. The company follows the platform, because v1's one contract template says MOP for everyone: R-MON-95 and R-MON-96. R-MON-19 stands for v2's own charges.
  • Which v1 account is which (#306): zuki, 2026-11-04. The account ending 8883 is TOP's BCA and the one ending 7878 is MOP's BCA, and the money step seeds both (R-MON-90).
  • DOC-Q10, MON open 2 (a cash payment, or a charge with no legal entity): never cross-entity. A new rule, R-MON-38.
  • charge.status_locked had no rule of its own: R-MON-37 is added for it.
  • v1's balance of record (OQ19, #43): the instalments inside bills (D34), with v1's confirmed payments rows that no instalment records and the paid bills with no instalment (D74, #293, #294): R-MON-54, R-MON-58 to R-MON-62.
  • v1 payments with no proof, bank account or void reason (CTO-MON-2 on #86): zuki chose payments.migrated_from on #185 (option a, 2026-10-22), and the money study's counts limit it to the proof and the bank account. R-MON-55 to R-MON-57 and R-MON-63; R-MON-21 is unchanged, since all 6 voided instalments have a reason.
  • Migrated money, the three left on #295 (zuki, 2026-10-27): a migrated payment's method (R-MON-72); a rebate or refund with no reason (R-MON-73); a refund whose flag and amount disagree (R-MON-74, R-MON-75).
  • A refund on a paid bill (#306, zuki, 2026-11-04): R-MON-06 stays. The load's order and the balance of record carry it: R-MON-78 to R-MON-80.
  • v1's debts against its Klaim Panel bills (#299, #306): a debt never makes a charge: R-MON-76, R-MON-81 and R-MON-82.
  • Due dates per charge type (OQ11, #37): D57. R-MON-46 to R-MON-48, and R-MD-16 for the default (R-MD-13 until #210).
  • How a bulk payment is split (#148): D72. v2 suggests oldest due first, and finance decides: R-MON-50 to R-MON-54.
  • Empty service type or transmission on a threshold row. Whether a row may leave either empty to stand for all of them (R-MON-67) is not in zuki's answers; the lookup finds the row for the exact combination, else the charge type's own. For zuki.
  • A non-rent charge past its due date. D76 gives no days limit for other types, so R-MON-08 now counts days for rent only; whether v_driver_balance should still show another type as overdue by days is for zuki.

R-MON-01 · A charge, payment, allocation or adjustment amount is greater than zero

Section titled “R-MON-01 · A charge, payment, allocation or adjustment amount is greater than zero”
  • Status: built
  • Example: given a new payment, when its amount is saved as 0, then it is refused; a refund is an adjustment with a positive amount, never a negative charge.
  • Refusal: none: check_violation (23514).
  • Who: every writer.
  • Source: [Ref] Database rules and conventions, Money; [Ref] Data model V13.

R-MON-02 · Charges, payments, allocations and adjustments are never deleted

Section titled “R-MON-02 · Charges, payments, allocations and adjustments are never deleted”
  • Status: built
  • Example: given a payment recorded by mistake, when a super_admin deletes it, then nothing is deleted; it is voided instead.
  • Refusal: none: no effect, as there is no delete policy.
  • Who: every app user.
  • Source: D9 (P13); [Ref] Roles, policy matrix (never: void instead).

R-MON-03 · A rental has at most one rent charge per billing day

Section titled “R-MON-03 · A rental has at most one rent charge per billing day”
  • Status: built
  • Example: given the rent job billed a rental for 2026-10-07, when it runs again for the same day, then the second charge is refused.
  • Refusal: none: unique_violation (23505), from charges_one_rent_per_day.
  • Who: every writer, the rent job included.
  • Source: [Ref] Database rules and conventions, Money (no double billing).

R-MON-04 · A charge with a billing day belongs to a rental

Section titled “R-MON-04 · A charge with a billing day belongs to a rental”
  • Status: built
  • Example: given a charge with billing_day 2026-10-07, when it is saved with no rental, then it is refused.
  • Refusal: none: check_violation (23514).
  • Who: every writer.
  • Source: [Ref] Data model V13: charges.

R-MON-05 · A rent charge's margin is its amount minus its company amount, computed by the database

Section titled “R-MON-05 · A rent charge's margin is its amount minus its company amount, computed by the database”
  • Status: built
  • Example: given a rent charge of Rp 150.000 with company_amount Rp 110.000, when it is read, then margin is 40000; a charge with no company_amount has no margin.
  • Refusal: none: margin is generated and can't be written.
  • Who: every charge.
  • Source: [Ref] Database rules and conventions, Money; [Ref] Data model V13: charges.margin.

R-MON-06 · A charge's balance is its amount, less allocations from payments that aren't voided, less its adjustments

Section titled “R-MON-06 · A charge's balance is its amount, less allocations from payments that aren't voided, less its adjustments”
  • Status: built
  • Example: given a charge of Rp 300.000, Rp 100.000 allocated from a valid payment, Rp 50.000 from a voided one and a Rp 20.000 rebate, when its balance is read, then it is 180000. A refund is a separate event, a refund adjustment, and lowers the balance as any adjustment does; voiding a payment is different: its allocations stop counting.
  • Refusal: none.
  • Who: app.charge_balance and v_charge_balance.
  • Source: [Ref] Database rules and conventions, Money; #144 (mon 06: voided and refunded are both kept, as separate events). Wording only; the behaviour is unchanged.

R-MON-07 · A driver's open balance is the sum of their charges' balances

Section titled “R-MON-07 · A driver's open balance is the sum of their charges' balances”
  • Status: built
  • Example: given a driver with charges whose balances are Rp 150.000, Rp 0 and Rp 75.000, when v_driver_balance is read, then the open balance is 225000. A charge whose balance is below zero, such as a paid fee refunded in full (R-MON-79), counts as nothing, not as credit against the driver's other charges.
  • Refusal: none.
  • Who: v_driver_balance.
  • Source: [Ref] Database rules and conventions, Views; the M0 acceptance checks.

R-MON-08 · A rent charge is overdue when a balance remains after its due date plus the days threshold of rent (overdue_limit_days where no threshold row gives one), in the pool's date

Section titled “R-MON-08 · A rent charge is overdue when a balance remains after its due date plus the days threshold of rent (overdue_limit_days where no threshold row gives one), in the pool's date”
  • Status: planned
  • Example: given overdue_limit_days is 3 and no threshold row for rent, and a rent charge due on 2026-10-01 with Rp 50.000 left, when v_driver_balance is read on 2026-10-04, then it isn't overdue; on 2026-10-05 it is. With rent's default due days at 3 (D57), a rent charge billed on 2026-10-01 is due on 2026-10-04 and overdue from 2026-10-08. Given a row for rent whose days threshold is 5, then that is the limit for the drivers it covers (R-MON-68). A charge of another type has no days limit.
  • Refusal: none.
  • Who: v_driver_balance, the gate and collection.
  • Source: [Ref] Database rules and conventions, Money; D9 (P11); D46; D57; amended by D76 (zuki, 2026-11-02): the days limit is rent's own threshold, the fallback of R-MON-68. It was built for every charge type; BE's test follows the amendment.

R-MON-09 · A charge's status is recomputed after every change to its allocations or adjustments, and after a void of a payment that paid it

Section titled “R-MON-09 · A charge's status is recomputed after every change to its allocations or adjustments, and after a void of a payment that paid it”
  • Status: built
  • Example: given an open charge, when a payment is allocated to it in full, then its status reads paid without anyone setting it.
  • Refusal: none.
  • Who: app.refresh_charge_status, called by the money triggers.
  • Source: [Ref] Database rules and conventions, Money (charge status is computed).

R-MON-10 · A charge with nothing allocated or adjusted is open

Section titled “R-MON-10 · A charge with nothing allocated or adjusted is open”
  • Status: built
  • Example: given a new damage charge of Rp 300.000, when it is read, then its status is open.
  • Refusal: none.
  • Who: every charge.
  • Source: [Ref] Database rules and conventions, Money.

R-MON-11 · A charge partly covered by allocations is partially_paid

Section titled “R-MON-11 · A charge partly covered by allocations is partially_paid”
  • Status: built
  • Example: given a charge of Rp 300.000, when Rp 100.000 is allocated to it, then its status is partially_paid.
  • Refusal: none.
  • Who: every charge.
  • Source: [Ref] Database rules and conventions, Money; the M0 acceptance checks.

R-MON-12 · A charge whose balance reaches zero through allocations is paid

Section titled “R-MON-12 · A charge whose balance reaches zero through allocations is paid”
  • Status: built
  • Example: given a charge of Rp 300.000 with Rp 100.000 allocated, when Rp 200.000 more is allocated, then its status is paid.
  • Refusal: none.
  • Who: every charge.
  • Source: [Ref] Database rules and conventions, Money.

R-MON-13 · An allocation can't use a voided payment

Section titled “R-MON-13 · An allocation can't use a voided payment”
  • Status: built
  • Example: given a voided payment, when it is allocated to an open charge, then it is refused with the detail {"payment_id": "…"}.
  • Refusal: allocation.payment_voided
  • Who: every writer.
  • Source: [Ref] Database rules and conventions, Money (allocation guard).

R-MON-14 · A payment's allocations can't add up to more than the payment

Section titled “R-MON-14 · A payment's allocations can't add up to more than the payment”
  • Status: built
  • Example: given a payment of Rp 200.000 with Rp 150.000 already allocated, when Rp 100.000 more is allocated from it, then it is refused.
  • Refusal: allocation.exceeds_payment
  • Who: every writer.
  • Source: [Ref] Database rules and conventions, Money (allocation guard).

R-MON-15 · An allocation can't exceed the charge's open balance

Section titled “R-MON-15 · An allocation can't exceed the charge's open balance”
  • Status: built
  • Example: given a charge with Rp 150.000 open, when Rp 200.000 is allocated to it, then it is refused with the detail {"charge_id": "…", "balance": 150000, "amount": 200000}.
  • Refusal: allocation.exceeds_balance
  • Who: every writer.
  • Source: [Ref] Database rules and conventions, Money (allocation guard); the M0 acceptance checks.

R-MON-16 · A payment is allocated to the same charge at most once

Section titled “R-MON-16 · A payment is allocated to the same charge at most once”
  • Status: built
  • Example: given a payment allocated to a charge, when a second allocation of that payment to that charge is saved, then it is refused; the first allocation's amount is what changes.
  • Refusal: none: unique_violation (23505).
  • Who: every writer.
  • Source: [Ref] Data model V13: payment_allocations.
Section titled “R-MON-17 · An allocation is flagged cross_entity when the payment's bank account belongs to a different legal entity than the charge”
  • Status: built
  • Example: given a TOP rent charge and a transfer into MOP's account, when the payment is allocated to the charge, then the allocation reads cross_entity true.
  • Refusal: none: the flag is set, not refused.
  • Who: every writer.
  • Source: D9 (Q7); the M0 acceptance checks.

R-MON-18 · When allow_cross_entity_payments is off, a cross-entity allocation is refused

Section titled “R-MON-18 · When allow_cross_entity_payments is off, a cross-entity allocation is refused”
  • Status: built
  • Example: given allow_cross_entity_payments is false, when a MOP payment is allocated to a TOP charge, then it is refused with the detail {"payment_entity_id": "…", "charge_entity_id": "…"}.
  • Refusal: allocation.cross_entity_blocked
  • Who: every writer.
  • Source: D9 (Q7); the M0 acceptance checks.
Section titled “R-MON-19 · A charge on a rental takes the legal entity of the rental's contract”
  • Status: planned
  • Example: given a rental whose contract is signed by MOP, when its rent is billed, then each rent charge's legal entity is MOP. This is the rule for v2's own charges; a charge the money step loads takes its legal entity from R-MON-95 (D90).
  • Refusal: none.
  • Who: every function that raises a charge on a rental.
  • Source: D9 (Q7).

R-MON-20 · Voiding a payment reopens every charge it paid

Section titled “R-MON-20 · Voiding a payment reopens every charge it paid”
  • Status: built
  • Example: given a payment of Rp 300.000 that paid two charges in full, when it is voided, then both charges' balances come back and their status is recomputed to open.
  • Refusal: none.
  • Who: every writer.
  • Source: [Ref] Database rules and conventions, Money (void, never delete); the M0 acceptance checks.

R-MON-21 · A voided payment records who voided it, when, and why

Section titled “R-MON-21 · A voided payment records who voided it, when, and why”
  • Status: built
  • Example: given a payment, when voided_at is set with no void_reason, then it is refused.
  • Refusal: none: check_violation (23514).
  • Who: every writer.
  • Source: [Ref] Data model V13: payments.

R-MON-22 · Every payment has a proof file

Section titled “R-MON-22 · Every payment has a proof file”
  • Status: retired (replaced by R-MON-56: a payment migrated from v1 may have none)
  • Example: given a new cash payment, when it is saved with no proof_path, then it is refused.
  • Refusal: none: not_null_violation (23502).
  • Who: every writer.
  • Source: [Ref] Data model V13: payments (proof is required). Retired in #295: "every payment" no longer holds once migrated payments are exempt (zuki on #185, option a), so it is R-MON-56.

R-MON-23 · A non-cash payment names the company bank account it was paid into

Section titled “R-MON-23 · A non-cash payment names the company bank account it was paid into”
  • Status: retired (replaced by R-MON-57: a payment migrated from v1 may name none)
  • Example: given a QRIS payment, when it is saved with no bank account, then it is refused; a cash payment needs none.
  • Refusal: none: check_violation (23514).
  • Who: every writer.
  • Source: [Ref] Data model V13: payments. Retired in #295, as R-MON-22 was: it is R-MON-57.

R-MON-24 · The admin fee is one charge on the driver, raised at registration, with no rental

Section titled “R-MON-24 · The admin fee is one charge on the driver, raised at registration, with no rental”
  • Status: planned
  • Example: given a walk-in registered as a lead, when registration completes, then they have one admin fee charge and it has no rental.
  • Refusal: none.
  • Who: the registration function (M3).
  • Source: D9 (Q1); D42: the General Flow's registration fee is this charge (DRV-08). The first payment toward it, of any amount, opens both checks (D85, R-BC-14); a balance stays an open charge.

R-MON-25 · The admin fee is priced from the pricing group of the driver's preferred model

Section titled “R-MON-25 · The admin fee is priced from the pricing group of the driver's preferred model”
  • Status: planned
  • Example: given a lead whose preferred model is in a pricing group with an admin fee of Rp 200.000, when they register, then their admin fee charge is Rp 200.000.
  • Refusal: none.
  • Who: the registration function (M3).
  • Source: D9 (Q1).
Section titled “R-MON-26 · The admin fee charge gets its legal entity at booking”
  • Status: planned
  • Example: given a driver's admin fee charge with no legal entity, when the driver is booked on a contract signed by TOP, then the charge's legal entity is TOP.
  • Refusal: none.
  • Who: the booking function (M4).
  • Source: D9 (Q7).

R-MON-27 · A driver's charges and payments are seen at the driver's current pool, so they move with the driver on a transfer

Section titled “R-MON-27 · A driver's charges and payments are seen at the driver's current pool, so they move with the driver on a transfer”
  • Status: built
  • Example: given a driver moved from PML to SBY with Rp 200.000 still owed, when a finance user scoped to SBY reads charges, then the old debt comes back; one scoped to PML no longer sees it.
  • Refusal: none: hidden at other pools.
  • Who: every member.
  • Source: D9 (Q2).

R-MON-28 · An adjustment states its reason

Section titled “R-MON-28 · An adjustment states its reason”
  • Status: built
  • Example: given a waiver, when it is saved with no reason, then it is refused.
  • Refusal: none: not_null_violation (23502).
  • Who: every writer.
  • Source: [Ref] Data model V13: charge_adjustments.

R-MON-29 · Reading charges, payments, allocations and adjustments needs payment:read at the driver's pool

Section titled “R-MON-29 · Reading charges, payments, allocations and adjustments needs payment:read at the driver's pool”
  • Status: built
  • Example: given a checker at PML, when they read payments, then nothing comes back; a finance user at PML sees them.
  • Refusal: none: hidden.
  • Who: super_admin, admin, finance and viewer hold payment:read.
  • Source: [Ref] Roles, policy matrix.

R-MON-30 · Recording a charge, a payment or an allocation needs payment:write at the driver's pool

Section titled “R-MON-30 · Recording a charge, a payment or an allocation needs payment:write at the driver's pool”
  • Status: built
  • Example: given a viewer at PML, when they record a payment, then it is refused; a finance user at PML may.
  • Refusal: none: insufficient_privilege (42501).
  • Who: super_admin, admin and finance hold payment:write.
  • Source: [Ref] Roles, policy matrix.

R-MON-31 · Voiding a payment or adding an adjustment needs payment:approve at the driver's pool

Section titled “R-MON-31 · Voiding a payment or adding an adjustment needs payment:approve at the driver's pool”
  • Status: built
  • Example: given a user with payment:write only, through a grant override, when they void a payment, then nothing changes; a finance user, who holds payment:approve, may.
  • Refusal: none: insufficient_privilege (42501) on insert; no effect on update.
  • Who: super_admin, admin and finance hold payment:approve.
  • Source: [Ref] Roles, policy matrix.

R-MON-32 · A rental company is paid per rented day, through the rent charges linked to its payout

Section titled “R-MON-32 · A rental company is paid per rented day, through the rent charges linked to its payout”
  • Status: planned
  • Example: given a car rented for 20 days of October and in maintenance for 11, when its rental company's October payout is built, then it covers the 20 rent charges and nothing for the other days.
  • Refusal: none.
  • Who: the payout function (M6).
  • Source: D9 (Q4).

R-MON-33 · A paid payout records when it was paid

Section titled “R-MON-33 · A paid payout records when it was paid”
  • Status: built
  • Example: given a payout, when its status is set to paid with no paid_at, then it is refused.
  • Refusal: none: check_violation (23514).
  • Who: every writer.
  • Source: [Ref] Data model V13: payouts.

R-MON-34 · Reading payouts needs payment:read at any pool of the organization

Section titled “R-MON-34 · Reading payouts needs payment:read at any pool of the organization”
  • Status: planned
  • Example: given a finance user scoped to PML only, when they read payouts, then the organization's payouts come back.
  • Refusal: none: hidden without the permission.
  • Who: super_admin, admin, finance and viewer hold payment:read.
  • Source: [Ref] Roles, policy matrix (rental companies, payouts).

R-MON-98 · A payout for the rental company marked as the operator's own is refused

Section titled “R-MON-98 · A payout for the rental company marked as the operator's own is refused”
  • Status: built
  • Example: given TOP, the marked company (R-MD-84), when a finance user creates a payout for it, or changes another company's payout to be TOP's, then it is refused and no payout is saved; a payout for another rental company goes through.
  • Refusal: payout.operator_company (P0001), with {rental_company_id}, raised by a trigger on payouts. Raised after the policy check: a caller without payment:approve still gets R-MON-35's.
  • Who: every writer, the migration included.
  • Source: zuki in the session on #748, 2026-11-25; D108. be in the session on #748 (the detail and its place after the policy check).

R-MON-35 · Creating or changing a payout needs payment:approve

Section titled “R-MON-35 · Creating or changing a payout needs payment:approve”
  • Status: built
  • Example: given a viewer, when they approve a payout, then nothing changes; a finance user may.
  • Refusal: none: insufficient_privilege (42501) on insert; no effect on update.
  • Who: super_admin, admin and finance hold payment:approve.
  • Source: [Ref] Roles, policy matrix.

R-MON-36 · The daily rent job bills every active rental once per billing day

Section titled “R-MON-36 · The daily rent job bills every active rental once per billing day”
  • Status: retired (replaced by R-MON-49 under D67, which bills returning and repossessing rentals too)
  • Example: given 40 active rentals, when the rent job runs for 2026-10-07, then 40 rent charges are raised for that day, and a second run raises none.
  • Refusal: none.
  • Who: the rent job (M6).
  • Source: [Ref] Database rules and conventions, Scheduled jobs. Retired before it was built: D67 widened which rentals are billed (R-MON-49).

R-MON-37 · App users can't set a charge's status directly; only the database computes it

Section titled “R-MON-37 · App users can't set a charge's status directly; only the database computes it”
  • Status: built
  • Example: given an open charge, when a finance user updates its status to paid, then it is refused and the status stays open.
  • Refusal: charge.status_locked
  • Who: every app user (authenticated).
  • Source: [Ref] Database rules and conventions, Money (charge status is computed: nobody types it in). Added because pack B raises charge.status_locked.
Section titled “R-MON-38 · A cash payment, or a charge with no legal entity, is never cross-entity”
  • Status: built
  • Example: given an admin fee charge with no legal entity yet, when a transfer into MOP's account is allocated to it, then cross_entity is false; a cash payment allocated to a TOP charge is false too.
  • Refusal: none.
  • Who: every writer.
  • Source: D9 (Q7: the flag compares the payment's bank account's legal entity with the charge's, so without both there is nothing to compare). Added for DOC-Q10 (MON open 2).

R-MON-41 · The amount limit of rent, where no threshold row gives one, is three times the driver daily rate of their live rental; a driver with no live rental has none

Section titled “R-MON-41 · The amount limit of rent, where no threshold row gives one, is three times the driver daily rate of their live rental; a driver with no live rental has none”
  • Status: planned
  • Example: given a driver whose live rental is at Rp 150.000 a day, when their open balance is Rp 480.000, then they are over the amount limit, even with nothing past its due date; at Rp 450.000 they aren't. A driver with no live rental who owes Rp 2.000.000 is over no amount limit, only the days limit (R-MON-08).
  • Refusal: none.
  • Who: v_driver_balance, the gate and collection.
  • Source: D46; General Flow COL-10, COL-11 (OD_AMOUNT_LIMIT); #144. Now rent's own threshold in R-MON-68 (D76): a row for the driver's service type and transmission replaces it.

R-MON-42 · A driver over either overdue limit is put to Collection's return-or-repo question

Section titled “R-MON-42 · A driver over either overdue limit is put to Collection's return-or-repo question”
  • Status: planned
  • Example: given a listed driver, when their balance goes over the amount limit (R-MON-41) or a charge goes overdue (R-MON-08), then they are on Collection's return-or-repo list (COL-12); once neither applies, they leave it.
  • Refusal: none.
  • Who: v_driver_balance and the collection list (M6).
  • Source: D46; General Flow COL-11 → COL-12.

R-MON-43 · A driver's one transfer is one payment, allocated across the charges it pays

Section titled “R-MON-43 · A driver's one transfer is one payment, allocated across the charges it pays”
  • Status: planned
  • Example: given a driver who transfers Rp 900.000 to pay a week's rent, an ETLE fine and a panel charge, when finance records it, then there is one payment of Rp 900.000 with three allocations.
  • Refusal: none.
  • Who: every writer of payments.
  • Source: D46; General Flow COL-06 → COL-07; #148. How the split is suggested and decided: R-MON-50 to R-MON-54 (D72).

R-MON-44 · A reconciled payment records whether it was reconciled one by one or in bulk, with who reconciled it and when

Section titled “R-MON-44 · A reconciled payment records whether it was reconciled one by one or in bulk, with who reconciled it and when”
  • Status: planned
  • Example: given a payment matched to its driver's charges by hand, when it is reconciled, then it reads manual, with the user and the time; one reconciled with a bank statement batch reads bulk.
  • Refusal: a key named by BE in M6, when the method is missing.
  • Who: the reconciliation function (M6).
  • Source: D46; General Flow COL-07, COL-08, COL-09.

R-MON-45 · A reconciled payment is never edited; a mistake is voided and recorded again

Section titled “R-MON-45 · A reconciled payment is never edited; a mistake is voided and recorded again”
  • Status: planned
  • Example: given a reconciled payment of Rp 300.000 entered with the wrong sender, when finance edits it, then it is refused; voiding it (R-MON-20) and recording it again is the way.
  • Refusal: payment.reconciled_locked
  • Who: every app user (authenticated).
  • Source: D46; General Flow COL-08, COL-09 (reconciled payments are not edited; reverse instead); R-MON-02, R-MON-20.
  • Status: planned
  • Example: given a new charge, when it is saved with no due date and no charge type default to fill it, then it is refused; with one, it is saved.
  • Refusal: none: not_null_violation (23502) on charges.due_date.
  • Who: every writer, the daily rent job and the migration included. It is never before the charge date (R-CONV-04).
  • Source: D57 (OQ11).

R-MON-47 · A charge made without a due date is due its charge date plus its charge type's default due days

Section titled “R-MON-47 · A charge made without a due date is due its charge date plus its charge type's default due days”
  • Status: planned
  • Example: given rent's default due days are 3, when the daily rent job bills a rental on 2026-10-01, then the charge is due on 2026-10-04; a panel charge made on 2026-10-10 with a due date of 2026-10-20 keeps 2026-10-20. A charge the migration loads from a v1 bill with no due date takes this one too (R-MON-65); one v1 gives a due date keeps it (R-MON-64).
  • Refusal: none.
  • Who: every function that makes a charge, the daily rent job included (R-MON-49); the date is the pool's (R-CONV-10).
  • Source: D57.

R-MON-48 · Changing a single charge's due date needs payment:approve at the driver's pool and a reason

Section titled “R-MON-48 · Changing a single charge's due date needs payment:approve at the driver's pool and a reason”
  • Status: planned
  • Example: given a finance user, when they move a charge's due date from 2026-10-04 to 2026-10-11 with the reason "driver sakit, disetujui", then it is saved, the audit log keeps the change and the charge's overdue is recomputed at once (R-MON-08); with no reason, or by a checker, it is refused.
  • Refusal: a key named by BE in M6 for a missing reason; none for a missing permission: insufficient_privilege (42501).
  • Who: super_admin, admin and finance hold payment:approve.
  • Source: D57 (finance can change one charge's due date).

R-MON-49 · The daily rent job bills each active, returning or repossessing rental once per billing day, up to its billing_ends_on, and never a paused or returned one

Section titled “R-MON-49 · The daily rent job bills each active, returning or repossessing rental once per billing day, up to its billing_ends_on, and never a paused or returned one”
  • Status: planned
  • Example: given 38 active rentals, one returning and one repossessing, all without a billing_ends_on, plus one paused and one returned, when the rent job runs for 2026-10-21, then 40 rent charges are raised for that day, a second run raises none, and the returning rental whose billing_ends_on is 2026-10-20 gets no charge for 2026-10-21.
  • Refusal: none.
  • Who: the rent job (M6); the day is the pool's (R-CONV-10).
  • Source: [Ref] Database rules and conventions, Scheduled jobs; D67 (R-MON-36 bills active, returning and repossessing, up to billing_ends_on; a paused rental isn't billed). Replaces R-MON-36.

R-MON-50 · v2 suggests a split of a payment across the driver's open and partially paid charges, oldest due date first, whatever the charge type

Section titled “R-MON-50 · v2 suggests a split of a payment across the driver's open and partially paid charges, oldest due date first, whatever the charge type”
  • Status: planned
  • Example: given driver Budi with an ETLE fine due 2026-10-05, a rent charge due 2026-10-08 and a panel charge due 2026-10-12, when finance records Budi's transfer of Rp 900.000 without saying what it pays, then v2 suggests the ETLE fine first, then the rent, then the panel charge. Rent goes first only when it is the oldest due; charges that are paid, waived, refunded or voided, and other drivers' charges, aren't in the suggestion.
  • Refusal: none.
  • Who: the function that suggests a payment's split (M6), for whoever records the payment (R-MON-30).
  • Source: D72 (option A, oldest due first across all types; zuki and Syamsul Haris on #148); D46 (one transfer, one payment); General Flow COL-06.

R-MON-51 · The suggested split covers each charge's whole balance before the next, until the payment runs out

Section titled “R-MON-51 · The suggested split covers each charge's whole balance before the next, until the payment runs out”
  • Status: planned
  • Example: given a payment of Rp 500.000 and, oldest due first, charges with Rp 150.000, Rp 300.000 and Rp 200.000 open, when the split is suggested, then it reads Rp 150.000, Rp 300.000 and Rp 50.000. It never suggests more than the payment (R-MON-14) or more than a charge's open balance (R-MON-15). A payment larger than every open balance together leaves the rest unallocated on the payment.
  • Refusal: none.
  • Who: the function that suggests a payment's split (M6).
  • Source: D72.

R-MON-52 · In the suggested split, two charges due the same day are ordered by their charge date, then by the order they were recorded

Section titled “R-MON-52 · In the suggested split, two charges due the same day are ordered by their charge date, then by the order they were recorded”
  • Status: planned
  • Example: given a rent charge dated 2026-10-01 and an ETLE fine dated 2026-10-03, both due 2026-10-08, then the rent charge is suggested first; given two charges with the same due date and the same charge date, the one recorded first comes first.
  • Refusal: none.
  • Who: the function that suggests a payment's split (M6).
  • Source: D72 (the same-day order is the Docs Engineer's rule, reviewed by zuki). A proposal: zuki settles it in this rule's pull request.

R-MON-53 · A suggested split allocates nothing; only the split finance confirms is recorded

Section titled “R-MON-53 · A suggested split allocates nothing; only the split finance confirms is recorded”
  • Status: planned
  • Example: given v2's suggested split for Budi's Rp 900.000, when finance hasn't confirmed it, then the payment has no allocations and Budi's balance is unchanged. Finance confirms it as it is, changes it charge by charge, or sets it aside and splits the payment by hand; the allocations recorded are the ones finance confirmed, each still within R-MON-14 and R-MON-15.
  • Refusal: none.
  • Who: whoever records payments and allocations, with payment:write at the driver's pool (R-MON-30).
  • Source: D72 (finance still holds the decision; Syamsul Haris on #148: finance needs to split by hand too); D3 (the order is computed in Postgres).

R-MON-54 · Migrated payments keep the allocations built from v1's bills; the split is suggested only for payments recorded in v2

Section titled “R-MON-54 · Migrated payments keep the allocations built from v1's bills; the split is suggested only for payments recorded in v2”
  • Status: built
  • Example: given a payment the data phase's money step built from an instalment inside a v1 bill, then its allocations are the ones that instalment gives, and asking for its suggested split returns nothing; a payment finance records in v2 gets a suggestion (R-MON-50). The same holds for the two kinds of migrated payment D74 adds: a confirmed v1 payments row is allocated to the bill its bill_id names (R-MON-58), and a paid bill with no instalment to that bill itself (R-MON-60). Neither ever takes the suggested split.
  • Refusal: none.
  • Who: the data phase's money step, and the function that suggests a payment's split (M6).
  • Source: D72; D34 (v1's balance of record is the instalments inside bills); D74 (R-MON-54 gains both kinds; the CTO on #295, 2026-10-23). Its meaning is unchanged: a migrated payment's split comes from v1, never from the suggestion.

R-MON-55 · Only the migration sets a payment's migrated_from

Section titled “R-MON-55 · Only the migration sets a payment's migrated_from”
  • Status: built
  • Example: given the data phase's money step loads a payment from an instalment inside a v1 bill, then its migrated_from names that source, one of bills.data.pembayaran (an instalment), bills.data.dibayar (a paid bill, R-MON-60) and payments (a v1 payments row, R-MON-58); given finance records a payment in v2, when it is saved with migrated_from filled, or a payment's migrated_from is changed later, then it is refused. A payment recorded in v2 always has it empty.
  • Refusal: payment.migrated_locked
  • Who: every app user; the data phase's money step, running as the database owner (D65), is the one writer that sets it.
  • Source: zuki on #185 (option a, 2026-10-22: a migrated_from column only the migration sets, with the key BE proposed there); the CTO on #185 (D32: a fact the system enforces is a column); #295.

R-MON-56 · A payment with no migrated_from has a proof file

Section titled “R-MON-56 · A payment with no migrated_from has a proof file”
  • Status: built
  • Example: given a new cash payment recorded in v2, when it is saved with no proof_path, then it is refused. Given an instalment v1 holds no proof for, when the money step loads it, then its payment has migrated_from and no proof_path, and is saved; one whose proof the photo copy finds gets its proof_path like any other.
  • Refusal: none: check_violation (23514).
  • Who: every writer.
  • Source: [Ref] Data model V13: payments (proof is required); zuki on #185 (option a). The money study: 27,880 of 31,656 instalments not voided have no proof (the report). Replaces R-MON-22.

R-MON-57 · A non-cash payment with no migrated_from names the company bank account it was paid into

Section titled “R-MON-57 · A non-cash payment with no migrated_from names the company bank account it was paid into”
  • Status: built
  • Example: given a QRIS payment recorded in v2, when it is saved with no bank account, then it is refused, and a cash payment needs none. Given an instalment with no rekTujuan, when the money step loads it, then its payment has migrated_from and no bank account, and is saved.
  • Refusal: none: check_violation (23514).
  • Who: every writer.
  • Source: [Ref] Data model V13: payments; zuki on #185 (option a). The money study: 25,953 instalments name no rekTujuan (the report). Replaces R-MON-23.

R-MON-58 · A confirmed v1 payments row that no instalment records loads as one migrated payment on the driver its lead_id names

Section titled “R-MON-58 · A confirmed v1 payments row that no instalment records loads as one migrated payment on the driver its lead_id names”
  • Status: built
  • Example: given a v1 payments row finance has confirmed, that matches no instalment by bill, amount and day, and names an existing bill with Rp 300.000 open, when the money step has run, then Budi has one migrated payment of that amount, allocated to that bill's charge up to Rp 300.000 (R-MON-15) and the rest unallocated, their credit. A row whose bill_id names no bill loads unallocated on the row's driver; a row whose lead_id names no lead is an unmatched row (R-MIG-04), never guessed. A row whose bill belongs to another lead is R-MON-89.
  • Refusal: none.
  • Who: the data phase's money step, and the reconcile's balance per driver and payments per day and bank account (D18).
  • Source: D74 (1; zuki on #294).

R-MON-59 · A v1 payments row finance hasn't confirmed doesn't load, and the reconcile lists it by v1 id with #294 as its reason

Section titled “R-MON-59 · A v1 payments row finance hasn't confirmed doesn't load, and the reconcile lists it by v1 id with #294 as its reason”
  • Status: built
  • Example: given a v1 payments row with verif_status Pending or Ignore that matches no instalment, when the money step runs, then no payment is made from it and the reconcile lists its v1 id, with #294 as the reason, until finance confirms it in v1 (it loads on the next night's run) or zuki signs it. It counts in neither balance check. Given a row with verif_status Ignore, then it's treated exactly as a Pending row is: no payment, and listed for zuki to sign.
  • Refusal: none.
  • Who: the data phase's money step, and its reconcile.
  • Source: D74 (1: v2 has no pending payment; 586 rows on the copy, 2026-10-23). Ignore: zuki, 2026-11-04, on #306 (5 rows on the copy of 2026-11-02).

R-MON-60 · A v1 bill marked Lunas with no instalment, whose dibayar covers its total, loads one migrated payment of dibayar, on the charge's date

Section titled “R-MON-60 · A v1 bill marked Lunas with no instalment, whose dibayar covers its total, loads one migrated payment of dibayar, on the charge's date”
  • Status: built
  • Example: given an admin fee bill of Rp 300.000 with status Lunas, dibayar 300.000 and nothing in pembayaran[], when the money step has run, then its charge has one migrated payment of Rp 300.000 dated the charge's date, with migrated_from naming bills.data.dibayar, and one allocation pays the charge in full. With dibayar 350.000, the payment is Rp 350.000 and Rp 50.000 stays unallocated, the driver's credit. It never takes the suggested split (R-MON-54).
  • Refusal: none.
  • Who: the data phase's money step, and the reconcile's balance per driver; the day check counts these payments apart, since they have no bank account (D74).
  • Source: D74 (2; zuki on #293, option a: 17,129 bills on the copy).

R-MON-61 · A v1 bill marked Lunas with no instalment, whose dibayar doesn't cover its total, loads as owed, and the reconcile lists it by v1 id with #293 as its reason

Section titled “R-MON-61 · A v1 bill marked Lunas with no instalment, whose dibayar doesn't cover its total, loads as owed, and the reconcile lists it by v1 id with #293 as its reason”
  • Status: built
  • Example: given an admin fee bill of Rp 300.000 with status Lunas, dibayar 0 and nothing in pembayaran[], when the money step has run, then its charge is open with Rp 300.000 owed and no payment is made for it, and the reconcile lists its v1 id with #293 until zuki signs it.
  • Refusal: none.
  • Who: the data phase's money step, and its reconcile.
  • Source: D74 (2; D34: 40 bills on the copy).

R-MON-62 · A v1 payments row that matches an instalment by bill, amount and day is the same money, loaded once, from the instalment

Section titled “R-MON-62 · A v1 payments row that matches an instalment by bill, amount and day is the same money, loaded once, from the instalment”
  • Status: built
  • Example: given an instalment of Rp 150.000 on 2026-09-03 inside a bill, and a confirmed payments row for the same bill, amount and day, when the money step has run, then the driver has one payment of Rp 150.000, built from the instalment, not two. A row that matches an instalment by bill and amount on another day isn't merged by the step: it is R-MON-88, and its listing is the review D74 asks for.
  • Refusal: none.
  • Who: the data phase's money step, and the reconcile's balance per driver.
  • Source: D74 (no driver pays twice; 30,913 matching rows on the copy); D34.

R-MON-63 · Migrated payments with no proof file or no bank account are counted as expected through migration.check_money('expected'), never signed one by one

Section titled “R-MON-63 · Migrated payments with no proof file or no bank account are counted as expected through migration.check_money('expected'), never signed one by one”
  • Status: built
  • Example: given the money step loaded 27,880 payments with no proof_path and 25,953 with no bank account, all with migrated_from, when migration.check_money('expected') is read, then it returns both counts as expected by rule (R-MON-56, R-MON-57). Neither is a reconcile line, and none is listed for zuki to sign in migration.accepted_differences. A payment recorded in v2 can't lack either.
  • Refusal: none.
  • Who: the data phase's money step, read through migration.check_money('expected'), not a reconcile check (R-MIG-05).
  • Source: zuki on #185 (option a: the reconcile counts them, accepted by rule rather than signed row by row, as D70 does for files); D18.

R-MON-64 · A charge loaded from a v1 bill keeps the due date v1 gives it

Section titled “R-MON-64 · A charge loaded from a v1 bill keeps the due date v1 gives it”
  • Status: built
  • Example: given a v1 Sanksi bill dated 2026-09-10 with jatuhTempo 2026-09-11, when the money step has run, then its charge is due 2026-09-11, not its charge date plus the default due days (R-MON-47). A bill v1 gives a due date before its charge date is refused by R-CONV-04, so it is an unmatched row (R-MIG-04): neither date is moved to fit.
  • Refusal: none.
  • Who: the data phase's money step. A bill with no due date in v1 takes R-MON-47's.
  • Source: D57 (the column is added so the data phase can store v1's due dates); the money study (v1 sets the due date on the charge date for nearly every kind; one Sanksi bill is due a day before, #295).

R-MON-65 · A charge loaded from a v1 bill with no date is dated the day v1 recorded the bill, in the pool's date

Section titled “R-MON-65 · A charge loaded from a v1 bill with no date is dated the day v1 recorded the bill, in the pool's date”
  • Status: built
  • Example: given a v1 admin fee bill with no tanggal, recorded in v1 at 23:30 WITA on 2026-09-14 for a driver at a pool in Asia/Makassar, when the money step has run, then its charge date is 2026-09-14, and with no due date in v1 it is due 2026-09-17 when the admin fee's default due days are 3 (R-MON-47).
  • Refusal: none.
  • Who: the data phase's money step; the date is the driver's pool's (R-CONV-10).
  • Source: #295 (19,002 bills with no tanggal, all Adm. Pendaftaran; BE's proposal, the bill's created_at); R-MON-24 (the admin fee is raised at registration, so the day v1 recorded it is the day it was raised).

R-MON-66 · A driver's service type for the overdue thresholds is that of their account on their live rental's platform, else the default of their live rental's car's model, else none

Section titled “R-MON-66 · A driver's service type for the overdue thresholds is that of their account on their live rental's platform, else the default of their live rental's car's model, else none”
  • Status: planned
  • Example: given a driver whose live rental is on Grab and whose Grab account says prestige, then their service type is prestige; given an empty account on a car whose model's default is comfort, then it is comfort; given neither, or no live rental, then it is none, and only a threshold row with no service type, or the charge type's own, applies.
  • Refusal: none.
  • Who: the overdue lookup (M6) and everything that reads it: the gate, Collection.
  • Source: D76; D103 (four tiers: regular, comfort, luxe, prestige); R-DRV-56; R-MD-20; zuki on #264 (2026-10-22 and 2026-11-02).

R-MON-67 · An overdue threshold is one row for a charge type, a service type and a transmission, in rupiah, or for rent in days as well; a non-rent threshold in days is refused

Section titled “R-MON-67 · An overdue threshold is one row for a charge type, a service type and a transmission, in rupiah, or for rent in days as well; a non-rent threshold in days is refused”
  • Status: planned
  • Example: given the rent charge type, prestige and automatic, when the Business Team sets a threshold of Rp 500.000 and 2 days, then the row is saved; given the ETLE fine type, when a threshold of 5 days is saved, then it is refused, and Rp 200.000 is accepted. Each combination has at most one row. A threshold with a service type or a transmission left empty covers every one, and the most specific row found wins (R-MON-68).
  • Refusal: none: unique_violation (23505) on a second row for the same combination; check_violation (23514) on days for a type other than rent.
  • Who: the Business Team sets them (R-MON-70).
  • Source: D76 (option a); zuki on #264 (2026-10-22 and 2026-11-02); Syamsul on #158 (2026-10-19). Whether an empty service type or transmission may stand for all is for zuki (Not yet a rule).

R-MON-68 · The threshold of a charge type is the row for the driver's service type and the car's transmission; where there is none, it is the charge type's own: for rent, three days of the daily rate of their live rental and overdue_limit_days; for any other type, none

Section titled “R-MON-68 · The threshold of a charge type is the row for the driver's service type and the car's transmission; where there is none, it is the charge type's own: for rent, three days of the daily rate of their live rental and overdue_limit_days; for any other type, none”
  • Status: planned
  • Example: given a driver at Rp 150.000 a day, prestige and automatic, and no row for rent with those, when their threshold on rent is looked up, then it is Rp 450.000 and overdue_limit_days (3 days); given a row of Rp 600.000 and 5 days for rent, prestige and automatic, then that row's; given an ETLE fine with no row, then it has no threshold and no pile of fines makes them overdue.
  • Refusal: none.
  • Who: the overdue lookup (M6); the gate and Collection read it.
  • Source: D76; D46 (rent's own limit: R-MON-41, R-MON-08); zuki on #264 (2026-10-22 and 2026-11-02).

R-MON-69 · A driver is overdue when any one charge type crosses its threshold; the types are not summed and there is no total cap

Section titled “R-MON-69 · A driver is overdue when any one charge type crosses its threshold; the types are not summed and there is no total cap”
  • Status: planned
  • Example: given a driver with Rp 100.000 over rent's threshold, and a pile of ETLE fines worth Rp 900.000 against an ETLE threshold of Rp 1.000.000, then they are overdue on rent and not on ETLE, and are overdue; given fines of Rp 1.200.000 only, they are overdue on ETLE; given Rp 80.000 under each of two thresholds, they are not overdue, whatever the sum. Either the rupiah or the days threshold crossed counts, on that type. An overdue driver goes to Collection's return-or-repo question (COL-11, COL-12) and fails the gate's debt aspect (R-GATE-06).
  • Refusal: none.
  • Who: v_driver_balance (or the view that replaces it), the gate and Collection.
  • Source: D76; zuki on #264 (2026-11-02: apply per type); D46, whose total-balance limit does not stay.

R-MON-70 · Overdue thresholds are set only through a database function, and the function needs payment:approve

Section titled “R-MON-70 · Overdue thresholds are set only through a database function, and the function needs payment:approve”
  • Status: planned
  • Example: given a finance user, when they set the rent threshold for prestige and automatic cars through the function, then it is saved; a checker's call is refused, and an admin's direct update of the table has no effect. The Business Team is the holders of payment:approve: finance, admin and super_admin.
  • Refusal: a key named by BE in M6, for a caller without payment:approve.
  • Who: super_admin, admin and finance hold payment:approve.
  • Source: D76; zuki on #264 (2026-10-22 and 2026-11-02) (2026-11-02: the Business Team is payment:approve); R-MD-16 works the same way.

R-MON-71 · A driver's open charges for a billing cycle are a view, with no invoice number and no due date of their own

Section titled “R-MON-71 · A driver's open charges for a billing cycle are a view, with no invoice number and no due date of their own”
  • Status: planned
  • Example: given a driver with three open charges in one billing cycle, when the view is read, then it lists the three with their own due dates and a total, and has no invoice number; no table holds an invoice.
  • Refusal: none.
  • Who: the view, readable with payment:read.
  • Source: D76; zuki on #264 (2026-11-02: invoices out, "for now, just a view"). A numbered invoice (D40's format) is its own decision if wanted before cutover.

R-MON-72 · A migrated payment's method is transfer, unless its instalment says cash

Section titled “R-MON-72 · A migrated payment's method is transfer, unless its instalment says cash”
  • Status: built
  • Example: given an instalment that names no method, a confirmed v1 payments row (R-MON-58) and a paid bill with no instalment (R-MON-60), when the money step has run, then each payment's method is transfer. Given the one instalment whose rekTujuan is Kwitansi, which value_map maps to cash (R-MON-90), then its payment's method is cash; free-text notes are not read for it. Neither is ever qris, and R-MON-57 asks no bank account of either.
  • Refusal: none.
  • Who: the data phase's money step.
  • Source: zuki on #295 (2026-10-27, "1. transfer"). Kwitansi is cash: zuki, 2026-11-04, on #306.

R-MON-73 · A v1 rebate or refund with no reason loads with the reason "v1: no reason recorded"

Section titled “R-MON-73 · A v1 rebate or refund with no reason loads with the reason "v1: no reason recorded"”
  • Status: built
  • Example: given a v1 rebate of Rp 50.000 with an empty reason, when the money step has run, then its adjustment has the reason v1: no reason recorded, so R-MON-28 holds for every adjustment. A rebate with a reason keeps v1's text.
  • Refusal: none.
  • Who: the data phase's money step.
  • Source: zuki on #295 (2026-10-27, option a).

R-MON-74 · A v1 refund with an amount loads as a refund adjustment, whether or not v1 flags it

Section titled “R-MON-74 · A v1 refund with an amount loads as a refund adjustment, whether or not v1 flags it”
  • Status: built
  • Example: given a v1 bill with a refund amount of Rp 100.000 and the refunded flag not set, when the money step has run, then its charge has one refund adjustment of Rp 100.000; the same with the flag set.
  • Refusal: none.
  • Who: the data phase's money step.
  • Source: zuki on #295 (2026-10-27, option a: the amount decides).

R-MON-75 · A v1 refund flagged with no amount loads nothing, and the reconcile lists it by v1 id

Section titled “R-MON-75 · A v1 refund flagged with no amount loads nothing, and the reconcile lists it by v1 id”
  • Status: built
  • Example: given a v1 bill flagged refunded with no refund amount, when the money step has run, then its charge has no refund adjustment, since an adjustment's amount is above zero (R-MON-01), and the reconcile lists the bill's v1 id until zuki signs it (R-MIG-05).
  • Refusal: none.
  • Who: the data phase's money step, and its reconcile.
  • Source: zuki on #295 (2026-10-27, option a).

R-MON-76 · A v1 debt with a Klaim Panel bill of the same checkpoint and amount loads no charge: the bill is its charge

Section titled “R-MON-76 · A v1 debt with a Klaim Panel bill of the same checkpoint and amount loads no charge: the bill is its charge”
  • Status: built
  • Example: given a cp-panel debt of Rp 300.000 and a Klaim Panel bill of Rp 300.000 naming the same checkpoint, when the money step has run, then there is one charge, loaded from the bill, never two for one damage, and the debt adds no row to charges. Where several such bills share the checkpoint and amount, each is its own charge, as every bill is (R-MON-84).
  • Refusal: none.
  • Who: the data phase's money step.
  • Source: zuki on #299 ("suffix accepted", 2026-10-27, the CTO's recommendation); D34.

R-MON-77 · A driver's instalments with the same proof file, day and account load as one payment with one allocation per bill

Section titled “R-MON-77 · A driver's instalments with the same proof file, day and account load as one payment with one allocation per bill”
  • Status: built
  • Example: given two instalments of one driver, Rp 100.000 and Rp 200.000 on two bills, with one proof file on one day to one account, when the money step has run, then that driver has one migrated payment of Rp 300.000, allocated Rp 100.000 and Rp 200.000. Two instalments of the group on one bill add up to one allocation (R-MON-16). Each instalment's id_map key (payment_instalment, bill id and index) gives that one payment, so v1's proof attaches once. The payment's paid_at is the group's earliest (R-MON-91) and its sender fields are the first filled. A proof file two drivers share, or instalments that differ on the day or the account, stay one payment per instalment, as does any other instalment.
  • Refusal: none.
  • Who: the data phase's money step.
  • Source: D46 (one transfer, one payment); the money study's plan (the report); the CTO's default on #306, put to zuki on 2026-11-04 with no objection; BE-DP-39.

R-MON-78 · The money step loads a bill's rebates, then its allocations, then its refunds

Section titled “R-MON-78 · The money step loads a bill's rebates, then its allocations, then its refunds”
  • Status: built
  • Example: given a bill of Rp 300.000 with a rebate of Rp 50.000, instalments of Rp 250.000 and a refund of Rp 250.000, when the money step has run, then the rebate leaves Rp 250.000 open, the allocations are accepted against it (R-MON-15), and the refund goes on last, where R-MON-15 can't refuse them. An instalment that fits only in part gets a partial allocation, and what it holds above the balance stays unallocated, the driver's credit (D74); one that finds no open balance still loads its payment, with no allocation. Each adjustment's id_map key is the bill id with :rebate or :refund, so v1's rebate folder attaches (R-MIG-03).
  • Refusal: none.
  • Who: the data phase's money step.
  • Source: zuki on #306 (2026-11-04); R-MON-06, which stays as written.

R-MON-79 · The balance of record takes a bill's refund off that bill's balance, never below zero

Section titled “R-MON-79 · The balance of record takes a bill's refund off that bill's balance, never below zero”
  • Status: built
  • Example: given a fee of Rp 300.000 paid in full and refunded in full, when the reconcile compares the driver's balance, then the bill counts Rp 0 in the balance of record, not Rp -300.000. Its charge's balance is Rp -300.000 (R-MON-06) and v_driver_balance counts it as nothing (R-MON-07), so the two agree. Given Rp 300.000 billed, Rp 100.000 paid and Rp 50.000 refunded, the bill counts Rp 150.000 and is listed (R-MON-80). Per driver, the bills' sum is checked against v_driver_balance's open_balance; the credit side is R-MON-92.
  • Refusal: none.
  • Who: the reconcile's balance per driver (R-MIG-05).
  • Source: zuki on #306 (2026-11-04); D34 and D74, whose balance of record left refunds out.

R-MON-80 · The reconcile lists a refund on a bill not paid in full by v1 id, until zuki signs it

Section titled “R-MON-80 · The reconcile lists a refund on a bill not paid in full by v1 id, until zuki signs it”
  • Status: built
  • Example: given a refund of Rp 50.000 on a bill of Rp 300.000 with Rp 100.000 paid, when the reconcile runs, then it lists the bill's v1 id until zuki signs it (47 refunds on the copy of 2026-11-02). A refund on a bill paid in full isn't listed.
  • Refusal: none.
  • Who: the money step's reconcile checks (R-MIG-05).
  • Source: zuki on #306 (2026-11-04); BE-DP-39; D18.

R-MON-81 · A v1 debt with no bill of the same checkpoint is an unmatched row, and no charge is made for it

Section titled “R-MON-81 · A v1 debt with no bill of the same checkpoint is an unmatched row, and no charge is made for it”
  • Status: built
  • Example: given a debt with no cp-panel ref, or one whose checkpoint no Klaim Panel bill names, when the money step has run, then it is in migration.unmatched with its reason (R-MIG-04), and the driver's charges are the same as without it.
  • Refusal: none.
  • Who: the data phase's money step.
  • Source: zuki on #306 (2026-11-04): narrows #306's "needs its own charge"; D34.
Section titled “R-MON-82 · A v1 debt whose checkpoint has a bill of another amount links to that bill's charge, at the bill's amount, and the reconcile lists it”
  • Status: built
  • Example: given a debt of Rp 300.000 on a checkpoint whose Klaim Panel bill is Rp 250.000, when the money step has run, then the one charge is Rp 250.000, and the reconcile lists the debt's v1 id until zuki signs it.
  • Refusal: none.
  • Who: the data phase's money step, and its reconcile.
  • Source: zuki on #306 (2026-11-04); D34.
Section titled “R-MON-83 · Only the migration sets a charge's inspection_id, which links a Klaim Panel charge to the inspection its checkpoint loaded”
  • Status: built
  • Example: given a Klaim Panel bill whose cp-panel source names a checkpoint the operations step loaded, when the money step has run, then its charge's inspection_id is that inspection, with or without a debt: the link comes from the bill's source. A Klaim Panel bill whose checkpoint didn't load has it empty, and the reconcile counts those. Given a charge recorded in v2, or a bill of another kind, it is empty; when an app user sets or changes it, then it is refused.
  • Refusal: charge.inspection_locked
  • Who: every app user; the data phase's money step, running as the database owner (D65), is the one writer that sets it.
  • Source: the CTO's default on #306, put to zuki on 2026-11-04 with no objection; #299; R-MON-55 works the same way.

R-MON-84 · A v1 bill loads as one charge, as v1 billed it, with its charge type through value_map

Section titled “R-MON-84 · A v1 bill loads as one charge, as v1 billed it, with its charge type through value_map”
  • Status: built
  • Example: given a Rental Harian bill for 12 days at Rp 150.000, when the money step has run, then one rent charge of Rp 1.800.000 stands for it, not twelve daily ones, with deskripsi as its description. A bill whose lead's driver didn't load is an unmatched row (R-MIG-04): its money is listed and stays out of the balance check. Lain-lain maps to other (R-MD-17) and Denda Repo to repo_fine; a kind nobody mapped stops the step (R-MIG-02).
  • Refusal: none.
  • Who: the data phase's money step.
  • Source: D34; D18; #306 (rent as v1 billed it; the plan's rent per billing day is not invented); BE-DP-39.

R-MON-85 · A charge's rental is found as R-INSP-17 finds an inspection's, from the bill's lead and car; a bill on a car not in that lead's chain has none, and the reconcile counts those

Section titled “R-MON-85 · A charge's rental is found as R-INSP-17 finds an inspection's, from the bill's lead and car; a bill on a car not in that lead's chain has none, and the reconcile counts those”
  • Status: built
  • Example: given a bill of lead A on car X dated 2026-09-10, and that lead's chain (R-RNT-41) on X, the car found from the bill's plate (R-VEH-30), when the money step has run, then the charge is on the row of the chain live on the bill's date, the first row for a bill before it and the last for one after it. The charge is on that rental, and its billing_day is the bill's date for a rent bill. Given no row of that lead on X, then the charge has no rental and no billing_day (R-MON-04), and is counted, by kind. company_amount stays empty either way, and its legal entity comes from R-MON-95 either way. No row of another lead or another plate is guessed.
  • Refusal: none.
  • Who: the data phase's money step, and its reconcile.
  • Source: the CTO's default on #306 (2026-11-04); R-INSP-17; BE-DP-39. The legal entity moved to R-MON-95 under D90.

R-MON-86 · Of two rent bills on one rental and day, the later loads with an empty billing_day

Section titled “R-MON-86 · Of two rent bills on one rental and day, the later loads with an empty billing_day”
  • Status: built
  • Example: given two rent bills that find one rental and name one day, when the money step has run, then the first by v1's created_at, then v1 id, has that billing_day, and the second has none, so R-MON-03 holds and both charges load.
  • Refusal: none.
  • Who: the data phase's money step.
  • Source: the CTO's default on #306, put to zuki on 2026-11-04 with no objection; BE-DP-39.

R-MON-87 · A v1 instalment of zero or less loads nothing, and the reconcile lists it

Section titled “R-MON-87 · A v1 instalment of zero or less loads nothing, and the reconcile lists it”
  • Status: built
  • Example: given an instalment of Rp 0, voided or not, when the money step has run, then no payment is made from it (R-MON-01) and the reconcile lists it by bill id and index until zuki signs it.
  • Refusal: none.
  • Who: the data phase's money step, and its reconcile.
  • Source: the CTO's default on #306, put to zuki on 2026-11-04 with no objection; BE-DP-39.

R-MON-88 · A confirmed v1 payments row that shares an instalment's bill and amount, but pairs with none, doesn't load, and the reconcile lists it

Section titled “R-MON-88 · A confirmed v1 payments row that shares an instalment's bill and amount, but pairs with none, doesn't load, and the reconcile lists it”
  • Status: built
  • Example: given an instalment of Rp 150.000 on 2026-09-03, and a confirmed payments row for the same bill and amount on 2026-09-05 that no instalment matches on its own day, when the money step has run, then the driver has the one payment from the instalment, and the reconcile lists the row's v1 id until zuki signs it. Pairing is one to one: a second confirmed row on the same bill, amount and day finds its instalment taken, and is listed the same way. No driver pays twice.
  • Refusal: none.
  • Who: the data phase's money step, and its reconcile.
  • Source: D74 (such a pair is reviewed, not loaded twice); the CTO's default on #306, put to zuki on 2026-11-04 with no objection; BE's review on #306 (2026-11-04).

R-MON-89 · A confirmed v1 payments row on another lead's bill loads on the driver its lead_id names, unallocated, and the reconcile lists it

Section titled “R-MON-89 · A confirmed v1 payments row on another lead's bill loads on the driver its lead_id names, unallocated, and the reconcile lists it”
  • Status: built
  • Example: given a confirmed row with lead_id of lead A and a bill_id on a bill of lead B, when the money step has run, then lead A's driver has a migrated payment with nothing allocated, the driver's credit, and the reconcile lists the row's v1 id until zuki signs it. Lead B's charge is untouched.
  • Refusal: none.
  • Who: the data phase's money step, and its reconcile.
  • Source: D74 (the driver its lead_id names); the CTO's default on #306, put to zuki on 2026-11-04 with no objection.

R-MON-90 · A migrated payment's bank account comes from v1's rekTujuan through value_map, onto two accounts the money step seeds

Section titled “R-MON-90 · A migrated payment's bank account comes from v1's rekTujuan through value_map, onto two accounts the money step seeds”
  • Status: built
  • Example: given an instalment whose rekTujuan value_map gives one of the two accounts, when the money step has run, then its payment names that company bank account. An empty rekTujuan gives none (R-MON-57); the value Kwitansi is cash and gives none (R-MON-72); a value nobody mapped stops the step (R-MIG-02). The step seeds the accounts itself, so no night depends on master data entered by hand. A retired account's value, the account ending 9901, loads with no bank account: its payment still pays its charge, so the balance doesn't change, R-MON-57 exempts it, and it's counted through migration.check_money('expected') (R-MON-63), not listed for signature.
  • Refusal: none.
  • Who: the data phase's money step.
  • Source: the CTO's default on #306, put to zuki on 2026-11-04 with no objection; BE-DP-39. The retired account: zuki, 2026-11-04 ("just remove it. We won't be using it anymore."). Kwitansi is cash: zuki, 2026-11-04. The accounts: the one ending 8883 is TOP's BCA and the one ending 7878 is MOP's BCA, zuki, 2026-11-04.

R-MON-91 · A migrated payment's paid_at is its v1 date, at the start of that day in the pool's zone when v1 gives no time

Section titled “R-MON-91 · A migrated payment's paid_at is its v1 date, at the start of that day in the pool's zone when v1 gives no time”
  • Status: built
  • Example: given an instalment with tgl 2026-09-03 and no time, for a driver at a pool in Asia/Makassar, when the money step has run, then its paid_at is 00:00 WITA that day. pengirim is its sender_name, rekPengirim its sender_account and recordedAt its recorded_at.
  • Refusal: none.
  • Who: the data phase's money step; the day is the pool's (R-CONV-10).
  • Source: the money study's finding 2 (the report); BE's review on #306 (2026-11-04).

R-MON-92 · The balance of record's credit is what a bill was paid above its total, and it is checked against the driver's unallocated payments

Section titled “R-MON-92 · The balance of record's credit is what a bill was paid above its total, and it is checked against the driver's unallocated payments”
  • Status: built
  • Example: given a bill of Rp 300.000 with a rebate of Rp 50.000 and Rp 280.000 paid, when the reconcile compares the driver's credit, then the bill counts Rp 30.000 of credit, taken before any refund, so a refund never reads as credit (R-MON-79). With the rest of D74's two kinds (R-MON-58, R-MON-60), the driver's sum is compared with the unallocated part of their payments.
  • Refusal: none.
  • Who: the reconcile's balance per driver (R-MIG-05).
  • Source: BE's review on #306 (2026-11-04): a floor at zero can't tell a refund from a bill paid above its total; D74.

R-MON-93 · A voided v1 instalment above zero is an unmatched row

Section titled “R-MON-93 · A voided v1 instalment above zero is an unmatched row”
  • Status: built
  • Example: given a voided instalment of Rp 150.000, when the money step runs, then it is in migration.unmatched with its reason (R-MIG-04), since a voided payment names who voided it (R-MON-21) and the step can't name a profile. BE-DP-39 found none.
  • Refusal: none.
  • Who: the data phase's money step.
  • Source: the CTO on #306 (2026-11-04), in BE's review on #306 (2026-11-04).

R-MON-94 · A v1 bill not marked Lunas with no instalment and dibayar above zero loads as owed, and the reconcile lists it by v1 id

Section titled “R-MON-94 · A v1 bill not marked Lunas with no instalment and dibayar above zero loads as owed, and the reconcile lists it by v1 id”
  • Status: built
  • Example: given a Cicil bill of Rp 300.000 with dibayar 100.000 and nothing in pembayaran[], when the money step has run, then its charge is open with Rp 300.000 owed and no payment is made for it, and the reconcile lists its v1 id until zuki signs it.
  • Refusal: none.
  • Who: the data phase's money step, and its reconcile.
  • Source: D34; R-MON-61 does the same for a Lunas bill; BE's review on #306 (2026-11-04).
Section titled “R-MON-95 · A charge the money step loads takes its legal entity from the first that answers of its car's platform, its driver's pref_akun and the accounts of its own payments”
  • Status: built
  • Example: given a bill on a Gojek car, whose driver's pref_akun is Grab and who pays into the account ending 7878, when the money step has run, then the charge's legal entity is TOP: the car comes first, Gojek is TOP and Grab is MOP. Given a bill whose car gives no platform, or gives Keduanya, then pref_akun answers, the same way; Keduanya is no answer, and the order goes on. Given neither, then the charge's own loaded payments answer by their accounts (R-MON-90), the account ending 8883 being TOP and the one ending 7878 MOP. A v1 row that loads no payment doesn't count. Payments into both accounts give no answer, and neither does an account of neither company, such as Kwitansi or the retired account (R-MON-90). The car is the one R-MON-85 finds from the bill's plate. A charge with no rental is answered the same way as one with a rental, and no contract's entity from v1 is read for a charge, so a contract keeps the entity v1 printed. v1 keeps no history of a car's platform, so a car that changed platform gives today's value for all its charges.
  • Refusal: none.
  • Who: the data phase's money step. v2's own charges keep R-MON-19.
  • Source: D90; the business rule on #544 (2026-11-05).
Section titled “R-MON-96 · A charge the money step loads that no source of R-MON-95 answers has no legal entity, and the reconcile lists it by v1 id”
  • Status: built
  • Example: given a bill whose car gives no platform, whose driver's pref_akun is Keduanya and whose charge has no loaded payment, when the money step has run, then the charge loads with no legal entity and the reconcile lists its v1 id for ops to settle in v1. Given the same bill with payments into both accounts, then the same. No company is guessed, and a payment allocated to the charge isn't cross-entity (R-MON-38).
  • Refusal: none.
  • Who: the data phase's money step, and its reconcile.
  • Source: D90.

R-MON-97 · A migrated payment keeps v1's verif_by and verif_at as a note, the record of who confirmed it and when

Section titled “R-MON-97 · A migrated payment keeps v1's verif_by and verif_at as a note, the record of who confirmed it and when”
  • Status: built
  • Example: given a confirmed v1 payments row with verif_by and verif_at, when the money step has run, then the payment that stands for it keeps both as a note, whether the row loaded by itself (R-MON-58) or is the same money as an instalment (R-MON-62). Where several rows stand behind one payment (R-MON-77), it keeps each row's. A note from v1 on the same payment is kept beside them. verif_by stays v1's text and names no profile. A row with no verif_by and no verif_at adds nothing, and a row that loads no payment (R-MON-59, R-MON-88) has nowhere to keep them. The step claims both columns (R-MIG-10).
  • Refusal: none.
  • Who: the data phase's money step.
  • Source: #544, item 3b (2026-11-05): the two columns are finance's confirmation trail, the only payments columns of that review whose loss isn't covered elsewhere; the CTO's brief for #306.