Skip to content

MD · Master data

"Master data" here means what the policy matrix lists under it: vehicle models, pricing groups, charge types, lead sources, checklist items (inspection_item_types), body panels, garages and insurers. Contract templates, company bank accounts and rental companies have rules of their own below. Maintaining garages, insurers, partner garages, rental companies, checklist items and body panels is R-MD-52 to R-MD-82. Lookup tables with no organization hold system rows that every tenant shares (R-TEN-03). Code MD.

  • MD open 1, brands and partner garages (#76, zuki, 2026-10-20): they are master data. Every member reads them: brands already by R-MD-01, partner garages by R-MD-14. Adding, changing or deleting either needs master_data:write (R-MD-15, since retired: brands are R-MD-24 and R-MD-22, partner garages R-MD-25).
  • Retire, not delete (#458, the lead from D65 and zuki, 2026-11-17): no app user deletes a vehicle brand, model, pricing group, charge type or lead source (R-MD-22); a master_data:write holder retires it and may restore it (R-MD-26, R-MD-27). Retiring always goes through, nothing cascades and existing links stay (R-MD-28); pickers hide retired rows (R-MD-30), and only a model's brand and pricing group are checked in Postgres (R-MD-29). These five tables are written only through database functions that raise D10 keys (R-MD-23). The other master tables followed under D65 in #460: garages, insurers, partner garages, rental companies, checklist items and body panels are retired too, never deleted (R-MD-53, R-MD-57, R-MD-58), and #657 closed the carry-over with no rule change.
  • Garages, insurers, partner garages, rental companies, checklist items and body panels (#460, zuki and the lead, 2026-11-18): they follow the same pattern: written only through database functions (R-MD-52), never deleted (R-MD-53), retired and restored (R-MD-57, R-MD-58) with nothing cascading (R-MD-59). Garages and partner garages are written with garage:write, the other three with master_data:write (R-MD-80, R-MD-54). Rental companies keep payment:approve, and only a holder with the all-companies flag writes them (R-MD-55, R-MD-56); a member without the flag reads only their own (R-MD-75). Partner garages live in the Asuransi tab (R-MD-77), and for a garage:write holder without master_data:read in the Bengkel tab (R-MD-82). No system checklist items or body panels are seeded yet (carried over).
  • Company bank accounts and contract templates (#459, zuki and the lead, 2026-11-17): adding and changing them keeps master_data:write (R-MD-02, R-MD-41); finance and viewer read bank accounts with payment:read (R-MD-12) on a read-only Rekening bank tab (R-MD-51). They are written only through database functions (R-MD-40), retired and restored, never deleted (R-MD-04, R-MD-43, R-MD-44), and not added under a retired legal entity (R-MD-45). A template change adds a new version and retires the one before it, so one template is active for each legal entity and platform (R-MD-46, R-MD-47). The check of a template's {{fields}} (D9 P15) is carried over to M4.

R-MD-01 · Vehicle brands, models, charge types, lead sources, checklist items, body panels, garages and insurers are readable by every member of the organization

Section titled “R-MD-01 · Vehicle brands, models, charge types, lead sources, checklist items, body panels, garages and insurers are readable by every member of the organization”
  • Status: built
  • Example: given a satpam, when they read vehicle_models or garages, then their organization's rows come back; company bank accounts don't (R-MD-12).
  • Refusal: none.
  • Who: every member, whatever their roles.
  • Source: [Ref] Roles, policy matrix; #144 (md 01; zuki's answer 3: some master data is for everyone, some isn't).

R-MD-02 · Adding or changing master data, a contract template or a company bank account needs master_data:write

Section titled “R-MD-02 · Adding or changing master data, a contract template or a company bank account needs master_data:write”
  • Status: built
  • Example: given a finance user, when they add a charge type, then it is refused; an admin's goes through.
  • Refusal: master_data.not_allowed for vehicle brands, vehicle models, pricing groups, charge types and lead sources (R-MD-23, R-MD-24), for contract templates and company bank accounts (R-MD-40, R-MD-41), and for insurers, checklist items and body panels (R-MD-52, R-MD-54), which are written through database functions; for the other tables, none: insufficient_privilege (42501) on insert; no effect on update.
  • Who: super_admin, admin, maintenance and asuransi hold master_data:write. Garages and partner garages need garage:write instead (R-MD-80, #460).
  • Source: [Ref] Roles, policy matrix; the keys: zuki on #458 (2026-11-17); templates and bank accounts keep master_data:write: zuki on #459 (2026-11-17).

R-MD-03 · Deleting master data needs master_data:write

Section titled “R-MD-03 · Deleting master data needs master_data:write”
  • Status: retired (replaced by R-MD-22: no app user deletes these rows, D65)
  • Example: given an admin, when they delete a lead source added by mistake and never used, then it is deleted; a used one is refused by R-CONV-11.
  • Refusal: none: no effect without the permission.
  • Who: super_admin, admin, maintenance and asuransi hold master_data:write. Retired on #458: under D65 erasing is never an app action. Checklist items, body panels, garages and insurers kept their delete policy until #460 ended it (R-MD-53).
  • Source: [Ref] Roles, policy matrix.

R-MD-04 · App users can't delete a contract template or a company bank account

Section titled “R-MD-04 · App users can't delete a contract template or a company bank account”
  • Status: built
  • Example: given a super_admin, when they delete a bank account straight through PostgREST, then nothing is deleted; it is retired instead (R-MD-43). No function deletes either.
  • Refusal: none: insufficient_privilege (42501), as authenticated holds only select on these tables (R-MD-40).
  • Who: every app user.
  • Source: [Ref] Roles, policy matrix; D9 (P13); zuki on #459 (2026-11-17).

R-MD-05 · An organization's copies of the system rows can't be changed or deleted from the app

Section titled “R-MD-05 · An organization's copies of the system rows can't be changed or deleted from the app”
  • Status: built
  • Example: given organization A's copy of the system charge type rent, when A's super_admin renames it through the function, then it is refused, and so for A's system lead sources; and so for A's system inspection item types and body panels. A row A adds itself can be changed. Retiring a copy is a change too, and is refused (R-MD-26).
  • Refusal: master_data.system_row_locked, from the functions of R-MD-23 for charge types and lead sources and of R-MD-52 for inspection item types and body panels (#460); a direct write is refused by those rules.
  • Who: every app user, in every organization. One exception: default_due_days on the copies of the system charge types, which a holder of payment:approve changes through a database function (R-MD-16); a direct update of that column is refused (R-MD-23). The copies are the rows marked is_system on charge_types, lead_sources, inspection_item_types and body_panels, one set per organization (R-TEN-03); system roles are R-ACC-21. Only a migration changes them. An organization that needs something different adds a row of its own.
  • Source: [Ref] Data model V13, lookup tables seeded as system rows (system rows locked); #149 (the CTO's answer 1: each organization's copies stay locked); #164; the default_due_days exception: zuki on #180 (2026-10-20), #210.

R-MD-06 · No master data list holds the same name or code twice within an organization

Section titled “R-MD-06 · No master data list holds the same name or code twice within an organization”
  • Status: built
  • Example: given garage code BK-001, when a second BK-001 is saved in the same organization, then it is refused.
  • Refusal: master_data.name_taken (R-MD-31) or master_data.code_taken (R-MD-37) through the functions of R-MD-23; elsewhere none: unique_violation (23505).
  • Who: every writer.
  • Source: [Ref] Data model V13, each table's unique key.

R-MD-07 · A lookup code (charge type, lead source, checklist item, body panel) is lower-case snake case

Section titled “R-MD-07 · A lookup code (charge type, lead source, checklist item, body panel) is lower-case snake case”
  • Status: built
  • Example: given a new charge type, when its code is saved as Late Fee, then it is refused; late_fee is accepted. Checklist items and body panels may also use digits.
  • Refusal: master_data.code_invalid through the functions of R-MD-23 (R-MD-38); elsewhere none: check_violation (23514).
  • Who: every writer.
  • Source: [Ref] Data model V13, the code checks.

R-MD-08 · Rental companies are readable with payment:read

Section titled “R-MD-08 · Rental companies are readable with payment:read”
  • Status: built
  • Example: given a finance user, when they read rental_companies, then the rows come back; a checker sees none.
  • Refusal: none: hidden.
  • Who: super_admin, admin, finance and viewer hold payment:read. The name alone also shows to vehicle:write holders, through a separate read (R-VEH-74).
  • Source: [Ref] Roles, policy matrix (rental companies, payouts). The name: zuki in the session on #748, 2026-11-25; D108.

R-MD-09 · Adding or changing a rental company needs payment:approve

Section titled “R-MD-09 · Adding or changing a rental company needs payment:approve”
  • Status: retired (replaced by R-MD-55, with a key, and R-MD-56; #460)
  • Example: given a viewer, when they edit a rental company's phone, then nothing changes; a finance user's edit goes through.
  • 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 (rental companies, payouts).

R-MD-10 · Charge types, lead sources, checklist items and body panels have a required Indonesian name and an optional English name

Section titled “R-MD-10 · Charge types, lead sources, checklist items and body panels have a required Indonesian name and an optional English name”
  • Status: built
  • Example: given a new body panel, when it is saved with name "Bumper depan" and no name_en, then it is accepted; one saved with only name_en is refused.
  • Refusal: master_data.name_required through the functions of R-MD-23 (R-MD-36); elsewhere none: not_null_violation (23502).
  • Who: every writer.
  • Source: D29 (master data with two names: name, Indonesian and required; name_en, optional).

R-MD-11 · Where a master data row has no English name, its Indonesian name is shown in English too

Section titled “R-MD-11 · Where a master data row has no English name, its Indonesian name is shown in English too”
  • Status: built
  • Example: given a lead source with name "Datang langsung" and no name_en, when a user with locale en opens the lead form, then the option reads "Datang langsung".
  • Refusal: none.
  • Who: apps/web, for every user with locale en.
  • Source: D29 (name_en falls back to name).

R-MD-12 · Contract templates and pricing groups are readable only with master_data:read; company bank accounts and rental companies with master_data:read or payment:read

Section titled “R-MD-12 · Contract templates and pricing groups are readable only with master_data:read; company bank accounts and rental companies with master_data:read or payment:read”
  • Status: built
  • Example: given a checker, when they read company_bank_accounts or pricing_groups, then nothing comes back; an admin sees both. A finance user sees the company bank accounts, so they can pick the account a payment came into, and still sees no pricing groups or contract templates.
  • Refusal: none: hidden.
  • Who: super_admin, admin, maintenance and asuransi hold master_data:read; super_admin, admin, finance and viewer hold payment:read. Rental companies' payment:read is R-MD-08.
  • Source: #144 (md 01; zuki's answer 3); company bank accounts with payment:read, as R-MD-08 does for rental companies: zuki on #149 (2026-10-15) and #164, built by BE pack G1b (#165).

R-MD-13 · A charge type has default due days, which start at 3 and are changed with master_data:write

Section titled “R-MD-13 · A charge type has default due days, which start at 3 and are changed with master_data:write”
  • Status: retired (replaced by R-MD-16: changed with payment:approve, through a database function)
  • Example: given a new organization, when its charge types are read, then each has default due days 3; an admin who sets rent's to 0 makes rent due on its billing day from then on, and a checker can't change it.
  • Refusal: none: no effect without master_data:write.
  • Who: super_admin, admin, maintenance and asuransi hold master_data:write. Retired before it was built: zuki on #180 moved the change to payment:approve (R-MD-16).
  • Source: D57 (charge_types.default_due_days, default 3, edited with master_data:write). The column is added in BE pack G2.

R-MD-14 · An insurer's partner garages are readable by every member of the organization

Section titled “R-MD-14 · An insurer's partner garages are readable by every member of the organization”
  • Status: built
  • Example: given insurer A partners with garage X, when a satpam reads insurer_garages, then the row linking A to X comes back; a member of another organization sees none of it.
  • Refusal: none: hidden for a reader outside the organization.
  • Who: every member, whatever their roles, as for R-MD-01's master data. A partner garage is a row in insurer_garages pairing one insurer with one garage; a claim may use only such a pair (R-ASR-01).
  • Source: #76 (MD open 1; zuki, 2026-10-20: brands and partner garages are master data). Today insurer_garages has no policy, so nobody reads it from the app; BE builds it in #215.

R-MD-15 · Adding, changing or deleting a vehicle brand or an insurer's partner garage needs master_data:write

Section titled “R-MD-15 · Adding, changing or deleting a vehicle brand or an insurer's partner garage needs master_data:write”
  • Status: retired (replaced by R-MD-24 for brands, R-MD-22 for deleting them, and R-MD-25 for partner garages, unchanged; #458, D65)
  • Example: given an admin, when they add the brand Wuling, or make garage X a partner of insurer A, then it is saved; a finance user's attempt is refused. Deleting a brand that a vehicle model uses, or a partner garage that a claim names, is refused by R-CONV-11 even with the permission; set it inactive instead.
  • Refusal: none: insufficient_privilege (42501) on insert; no effect on update or delete without the permission.
  • Who: super_admin, admin, maintenance and asuransi hold master_data:write.
  • Source: #76 (MD open 1; zuki, 2026-10-20). Today vehicle_brands has a read policy only, so nobody writes it from the app, and insurer_garages has no policy; BE builds both in #215. R-MD-02 and R-MD-03 stay as built for the tables they cover.

R-MD-16 · A charge type's default due days start at 3 and are changed only through a database function, which needs payment:approve

Section titled “R-MD-16 · A charge type's default due days start at 3 and are changed only through a database function, which needs payment:approve”
  • Status: built
  • Example: given a new organization, when its charge types are read, then each has default due days 3; when a finance user sets rent's to 0 through the function, then rent is due on its billing day from then on (R-MON-47), and the system copy of rent keeps everything else locked (R-MD-05); a checker's call is refused, and an admin's direct update of the column is refused (42501, R-MD-23). The function works on a retired charge type too.
  • Refusal: master_data.not_allowed, for a caller without payment:approve; master_data.not_found, for a charge type outside the caller's organization; master_data.out_of_range, for days below 0 (R-MD-39).
  • Who: super_admin, admin and finance hold payment:approve. The Master data menu opens with master_data:read or payment:approve (R-APP-25), so finance reaches Jenis tagihan and changes the days there; Grup harga stays hidden from it (R-MD-12). The function changes default_due_days only, on the organization's own charge types and on its copies of the system ones.
  • Source: D57 (charge_types.default_due_days, default 3); zuki on #180 (2026-10-20: payment:approve, through a database function); #210. Replaces R-MD-13. The column is added in BE pack G2 (#212); the function is built in #458 (zuki, 2026-11-17).

R-MD-17 · Each v1 bill kind maps through value_map onto one charge type: a system one where v1's kind means the same, else a new one named as v1 names it

Section titled “R-MD-17 · Each v1 bill kind maps through value_map onto one charge type: a system one where v1's kind means the same, else a new one named as v1 names it”
  • Status: built
  • Example: given v1 bills whose data ->> 'jenis' is Rental Harian or Lain-lain, when the master_data step runs, then Rental Harian maps onto the system charge type for daily rent, and Lain-lain onto a new charge type with code other (R-MD-07) and Indonesian name Lain-lain (R-MD-10); every bill of either kind finds its charge type through value_map, and no kind is left without one (R-MIG-02).
  • Refusal: none.
  • Who: the migration's master_data step (data phase row 5).
  • Source: v1's bill kinds in bills.data.jenis (BE-DP-11 on #185: Adm. Pendaftaran, Rental Harian, Klaim Panel, Denda Repo, ETLE, Sanksi, Lain-lain); #279; D29, D57; R-MD-06, R-MIG-02.

R-MD-18 · A v1 value that names a master row maps through value_map onto that one row; a value mapped to a row that doesn't exist makes the car an unmatched row

Section titled “R-MD-18 · A v1 value that names a master row maps through value_map onto that one row; a value mapped to a row that doesn't exist makes the car an unmatched row”
  • Status: built
  • Example: given v1 cars whose brand is Wuling on 98 rows and WULING on 76, when the master_data step runs, then both values map onto the one brand Wuling, and no second Wuling is added (R-MD-06); the same holds for a car's type, partner and service area. Given a value_map entry that points at a row the step never loaded, when the vehicles step reads a car with that value, then the car is listed in migration.unmatched with its reason (R-MIG-04), not loaded without it. v1's partner TOP maps onto TOP, the operator's own company (R-MD-89), and its cars load with it. A car with a blank partner has no mapping and stops the run (R-MIG-02): no blank is read as the operator's. A partner whose value_map entry is empty leaves its car unmatched, with the reason "partner maps onto no rental company".
  • Refusal: none.
  • Who: the migration's master_data and vehicles steps (data phase row 5).
  • Source: #279 (v1's free text that names a master row becomes a value_map entry onto it); BE-DP-20 block 1 on #280 (vehicle_master's data.brand, data.type, data.partner and data.service_area, with the same brand in two spellings); R-MD-06, R-MIG-02, R-MIG-04. Changed by zuki in the session on #748, 2026-11-25; D108. be proposed, zuki settled in the session on #748, 2026-11-25 (a partner whose value_map entry is empty leaves its car unmatched with that reason).

R-MD-19 · A vehicle model has a transmission, manual or automatic, set with master_data:write

Section titled “R-MD-19 · A vehicle model has a transmission, manual or automatic, set with master_data:write”
  • Status: built
  • Example: given the model of a car, when an admin with master_data:write sets its transmission to automatic, then it is saved; a value other than manual or automatic is refused. The vehicles step maps v1's vehicle_master.transmisi onto each model's transmission. v1 holds manual, matic and EV, in any case: the value is read in lower case, so Matic and matic are one value; manual is manual, matic is automatic, ev is automatic, and a model whose cars carry no transmisi loads none, for staff to set later. A model whose cars disagree, or a value nobody mapped, is an unmapped value (R-MIG-02) and stops the step, never guessed.
  • Refusal: none: invalid_text_representation (22P02) on a value outside the enum.
  • Who: super_admin, admin, maintenance and asuransi hold master_data:write (R-MD-02).
  • Source: D76; zuki on #264 (2026-10-22 and 2026-11-02); built in #458 (zuki, 2026-11-17); zuki, in the team session on #458 (2026-11-17): transmisi holds only manual and matic. zuki on #701 (2026-11-20): v1 now capitalises the values, and every EV is automatic.

R-MD-20 · A vehicle model has a default service type, regular, comfort, luxe or prestige, which may be empty, set with master_data:write

Section titled “R-MD-20 · A vehicle model has a default service type, regular, comfort, luxe or prestige, which may be empty, set with master_data:write”
  • Status: built
  • Example: given a model, when its default service type is set to comfort, then drivers whose account has no service type and whose live rental's car is of that model are read as comfort for the overdue thresholds (R-MON-66). The master_data step sets each model's default service type from value_map rows made from a list zuki fills in, one row per v1 type, reviewed in a pull request and replayed every night; an empty value means none, and a type without a row is an unmapped value (R-MIG-02). v1 holds none.
  • Refusal: none: invalid_text_representation (22P02) on a value outside the enum.
  • Who: super_admin, admin, maintenance and asuransi hold master_data:write (R-MD-02).
  • Source: D76; D103 (four tiers, 2026-11-17, in place of D76's three); zuki on #264 (2026-10-22 and 2026-11-02); built in #458 (zuki, 2026-11-17: the value list is a CSV of vehicle types with their service type and powertrain, kept out of the repository; each line becomes a value_map row in the master-vehicles migration, beside the powertrain rows).

R-MD-21 · The master_data step adds an insurer for each name v1's claims hold that v1's insurer list lacks, one per name, case aside

Section titled “R-MD-21 · The master_data step adds an insurer for each name v1's claims hold that v1's insurer list lacks, one per name, case aside”
  • Status: built
  • Example: given v1's insurer list holding ACA and its claims naming Sompo, SOMPO and ACA, when the master_data step runs, then the organization has ACA and one Sompo; a second run adds none (R-MIG-03). The insurer is named as v1's list spells it or, for a name from the claims alone, as the most claims spell it: Sompo, on 11 claims against SOMPO's 4. When two spellings of a name the claims alone hold are equally common, the step stops on it as an unmapped value (R-MIG-02) until a value_map row names the spelling; no spelling is picked. A claim name with a value_map row maps onto that insurer and adds none (R-ASR-15): a name that differs beyond case is mapped that way, never made a second insurer. On the copy of 2026-11-03, v1's list (app_settings, asuransi) holds 6 insurers, ACA, Adira Insurance, Astra Insurance, Garda Oto, Tokio Marine and Tugu Insurance, and the claims name 11 others on 74 claims, Aswata, Avrist, Etiqa, MAG, MPM, Raksa, Ramayana, Sompo, Sunday, TAP Insure and TOB, so the step adds 11 and the organization has 17. Each night the reconcile prints the insurers R-MD-21 added, by name and claim count, so zuki can map a stray spelling (R-ASR-15).
  • Refusal: none.
  • Who: the migration's master_data step (data phase row 5); the reconcile check (R-MIG-05).
  • Source: zuki on #304 (2026-11-03, answer 1(a)); zuki on #444 (2026-11-03: a tie stops the step, and the reconcile prints the insurers added); BE-DP-38's second night, on the copy of 2026-11-03; R-ASR-15; R-MD-18; R-MIG-03.

R-MD-22 · No app user can delete a vehicle brand, vehicle model, pricing group, charge type or lead source

Section titled “R-MD-22 · No app user can delete a vehicle brand, vehicle model, pricing group, charge type or lead source”
  • Status: built
  • Example: given an admin, when they delete a lead source added by mistake and never used, then it is refused; they retire it instead (R-MD-26). Erasing one for good is a named database function zuki runs by hand (D65).
  • Refusal: none: insufficient_privilege (42501), as authenticated holds no delete on these tables, and there is no delete function.
  • Who: every app user, whatever their permissions.
  • Source: D65; #458 (the lead, 2026-11-17). Replaces R-MD-03 and the deleting part of R-MD-15 for these five tables.

R-MD-23 · Vehicle brands, vehicle models, pricing groups, charge types and lead sources are written only through database functions

Section titled “R-MD-23 · Vehicle brands, vehicle models, pricing groups, charge types and lead sources are written only through database functions”
  • Status: built
  • Example: given an admin, when they insert a lead source or update a pricing group's name straight through PostgREST, then it is refused; the same change through the function goes through. A call that names a row the caller's organization doesn't hold raises master_data.not_found.
  • Refusal: master_data.not_found from a function; a direct insert, update or delete: none: insufficient_privilege (42501), as authenticated holds only select on these tables.
  • Who: every app user. The functions are security definer and check master_data:write (R-MD-02), or payment:approve for default due days (R-MD-16); each refusal raises a key (D10).
  • Source: zuki on #458 (2026-11-17: every write goes through RPC with D10 keys); D3.

R-MD-24 · Adding or changing a vehicle brand, vehicle model, pricing group, charge type or lead source needs master_data:write

Section titled “R-MD-24 · Adding or changing a vehicle brand, vehicle model, pricing group, charge type or lead source needs master_data:write”
  • Status: built
  • Example: given an admin, when they add the brand Wuling, add the model Air ev under it, or rename the lead source Brosur, then it is saved; a finance user's attempt is refused. Default due days are R-MD-16's.
  • Refusal: master_data.not_allowed.
  • Who: super_admin, admin, maintenance and asuransi hold master_data:write.
  • Source: #76 (MD open 1; zuki, 2026-10-20); #458. Replaces the brand part of R-MD-15, and R-MD-02's insert and update refusals for these five tables.

R-MD-25 · Adding, changing or removing an insurer's partner garage needs master_data:write

Section titled “R-MD-25 · Adding, changing or removing an insurer's partner garage needs master_data:write”
  • Status: retired (replaced by R-MD-80 for adding and changing, R-MD-53 and R-MD-57 for removing; #460, D65)
  • Example: given an admin, when they make garage X a partner of insurer A, or end that partnership, then it is saved; a finance user's attempt is refused. A partner garage that a claim names can't be removed (R-CONV-11); set it inactive instead.
  • Refusal: none: insufficient_privilege (42501) on insert; no effect on update or delete without the permission.
  • Who: super_admin, admin, maintenance and asuransi hold master_data:write.
  • Source: #76 (MD open 1; zuki, 2026-10-20). R-MD-15's partner-garage part, unchanged; it waits for the carry-over issue on the other master tables under D65. Its tests cite this ID in place of R-MD-15 since #458.

R-MD-26 · A holder of master_data:write retires a vehicle brand, vehicle model, pricing group, charge type or lead source of their organization

Section titled “R-MD-26 · A holder of master_data:write retires a vehicle brand, vehicle model, pricing group, charge type or lead source of their organization”
  • Status: built
  • Example: given an admin, when they retire the lead source Brosur, then it is kept with is_active false and its name, and the audit log shows who retired it (R-MD-33). Retiring a row that is already retired goes through, changes nothing and writes no audit row. A finance user's attempt is refused; so is retiring the organization's copy of a system row, such as the charge type rent (R-MD-05).
  • Refusal: master_data.not_allowed without the permission; master_data.system_row_locked for a copy of a system row; master_data.not_found for a row outside the organization.
  • Who: super_admin, admin, maintenance and asuransi hold master_data:write.
  • Source: D65; zuki on #458 (2026-11-17).

R-MD-27 · A holder of master_data:write restores a retired row of those five tables

Section titled “R-MD-27 · A holder of master_data:write restores a retired row of those five tables”
  • Status: built
  • Example: given the retired lead source Brosur, when an admin restores it, then is_active is true again and the lead form offers it (R-MD-30); a finance user's attempt is refused. Restoring a row that is active goes through, changes nothing and writes no audit row. A copy of a system row is never retired (R-MD-26), so it never needs restoring.
  • Refusal: master_data.not_allowed without the permission; master_data.not_found for a row outside the organization.
  • Who: super_admin, admin, maintenance and asuransi hold master_data:write.
  • Source: zuki on #458 (2026-11-17).

R-MD-28 · Retiring a row always goes through while other rows use it, and changes none of them

Section titled “R-MD-28 · Retiring a row always goes through while other rows use it, and changes none of them”
  • Status: built
  • Example: given the brand Daihatsu with the active model Sigra, and Sigra cars on rent, when an admin retires Daihatsu, then it is retired, Sigra stays active and under Daihatsu, and every car keeps its model. Retiring a charge type leaves its charges as they are.
  • Refusal: none.
  • Who: every holder of master_data:write.
  • Source: zuki on #458 (2026-11-17: nothing cascades, existing links stay, no refusal for a brand with active models).

R-MD-29 · A vehicle model can't be added under, or moved to, a retired brand or a retired pricing group

Section titled “R-MD-29 · A vehicle model can't be added under, or moved to, a retired brand or a retired pricing group”
  • Status: built
  • Example: given the retired brand Datsun, when an admin adds the model Go under it, or moves the model Ayla into the retired pricing group Lama, then it is refused. A model that was already under Datsun before it was retired keeps it, and can still be renamed (R-MD-28).
  • Refusal: master_data.retired, with the field (brand_id or pricing_group_id) and the retired row's id in its detail; checked only when the call sets or changes that field.
  • Who: every holder of master_data:write.
  • Source: zuki on #458 (2026-11-17: Postgres refuses a new or changed model whose brand or pricing group is retired).

R-MD-30 · A list for picking a brand, model, pricing group, charge type or lead source leaves out retired rows

Section titled “R-MD-30 · A list for picking a brand, model, pricing group, charge type or lead source leaves out retired rows”
  • Status: built
  • Example: given the retired lead source Brosur, when a user opens the new lead form, then Brosur isn't offered; a lead that already names Brosur still shows it. The master data page can list retired rows, behind a filter and marked as retired, with a way to restore them (R-MD-27).
  • Refusal: none.
  • Who: apps/web, for every user.
  • Source: zuki on #458 (2026-11-17: pickers hide retired rows).

R-MD-31 · A name already held in the same list, by an active or a retired row, is refused, and when the row is retired the refusal points at restoring it

Section titled “R-MD-31 · A name already held in the same list, by an active or a retired row, is refused, and when the row is retired the refusal points at restoring it”
  • Status: built
  • Example: given the retired lead source Brosur, when an admin adds or renames a lead source to Brosur, then it is refused, and the message names the retired row and offers to restore it (R-MD-27); a name an active row holds is refused with the same key, without the offer. The list is the table's unique key: brands and pricing groups by name, a model by name within its brand (Avanza under Toyota and under Daihatsu are two models). Charge types and lead sources are unique by code (R-MD-37), and their add and rename functions also refuse a name the organization already holds; that check is in the function only, so the v1 bill kinds loaded beside the system rows keep their names (R-MD-17). Matching is exact: Wuling and WULING are two names.
  • Refusal: master_data.name_taken, with {field: name, id, retired} in its detail.
  • Who: every holder of master_data:write, through the functions of R-MD-23.
  • Source: R-MD-06; zuki on #458 (2026-11-17: retired rows keep their name; the lead's answer the same day: name_taken follows each table's unique key).

R-MD-32 · A charge type's or lead source's code is set when it is added and never changed

Section titled “R-MD-32 · A charge type's or lead source's code is set when it is added and never changed”
  • Status: built
  • Example: given the charge type late_fee, when an admin renames it to "Denda keterlambatan", then the name changes and the code stays late_fee; no function takes a new code, and a direct update is refused (R-MD-23).
  • Refusal: none: the change function takes no code.
  • Who: every holder of master_data:write.
  • Source: zuki on #458 (2026-11-17); R-MD-07.

R-MD-33 · Every add, change, retirement and restore of a vehicle brand, vehicle model, pricing group, charge type or lead source writes an audit row

Section titled “R-MD-33 · Every add, change, retirement and restore of a vehicle brand, vehicle model, pricing group, charge type or lead source writes an audit row”
  • Status: built
  • Example: given an admin, when they rename the lead source Brosur and then retire it, then lead_sources has two audit rows naming the admin, with the changed fields name and is_active (R-AUD-01, R-AUD-02). Retiring a retired row, or restoring an active one, changes nothing and writes no audit row (R-MD-26, R-MD-27). vehicle_brands, vehicle_models and lead_sources join pricing_groups and charge_types as watched tables.
  • Refusal: none.
  • Who: every writer, and the functions of R-MD-23 and R-MD-16.
  • Source: #458 (the slice: create, rename and retire, with audit); R-AUD-01.

R-MD-34 · Vehicle brands, vehicle models and pricing groups have one name, with no English name

Section titled “R-MD-34 · Vehicle brands, vehicle models and pricing groups have one name, with no English name”
  • Status: built
  • Example: given the model Sigra in the pricing group Calya-Sigra, when a user with locale en opens the models tab, then both read as they do in Indonesian, and the add form asks for one name.
  • Refusal: none.
  • Who: every writer, and apps/web for every user.
  • Source: D29 (only names staff read in two languages carry name_en); zuki on #458 (2026-11-17: brands, models and pricing groups are proper nouns).

R-MD-35 · The master data page marks a copy of a system row as a system row and offers no change on it, apart from default due days for a holder of payment:approve

Section titled “R-MD-35 · The master data page marks a copy of a system row as a system row and offers no change on it, apart from default due days for a holder of payment:approve”
  • Status: built
  • Example: given organization A's copy of the system charge type rent, when an admin opens the charge types tab, then rent is marked Sistem and offers no rename or retire; a finance user sees Ubah jatuh tempo on it (R-MD-16). A lead source A added itself offers rename and retire. Postgres refuses the change anyway (R-MD-05).
  • Refusal: none.
  • Who: apps/web, for every user who opens the page.
  • Source: R-MD-05, R-MD-16; #458 (the slice's journey: a locked row refuses).

R-MD-36 · A name or code that is blank once trimmed is refused; a blank English name is stored as none

Section titled “R-MD-36 · A name or code that is blank once trimmed is refused; a blank English name is stored as none”
  • Status: built
  • Example: given an admin, when they add a brand named " ", or a lead source with code "", then it is refused; a model named " Sigra " is saved as Sigra. A charge type saved with name_en " " has no English name, and shows its Indonesian name in English (R-MD-11).
  • Refusal: master_data.name_required, with {field} in its detail.
  • Who: every holder of master_data:write, through the functions of R-MD-23: brand, model and pricing group names, the Indonesian names of charge types and lead sources, and their codes when added.
  • Source: zuki on #458 (2026-11-17: every write through RPC with D10 keys; the lead's answer the same day); R-MD-10.

R-MD-37 · A charge type or lead source code already held in the organization, by an active or a retired row, is refused

Section titled “R-MD-37 · A charge type or lead source code already held in the organization, by an active or a retired row, is refused”
  • Status: built
  • Example: given the retired lead source with code brosur, when an admin adds a lead source with code brosur, then it is refused, and the message offers to restore the retired one (R-MD-27); the organization's copy of a system row holds its code too.
  • Refusal: master_data.code_taken, with {field: code, id, retired} in its detail.
  • Who: every holder of master_data:write, through the functions of R-MD-23.
  • Source: R-MD-06 (unique on organization and code); the lead on #458 (2026-11-17).

R-MD-38 · A charge type or lead source code that isn't lower-case snake case is refused by the add function with a key

Section titled “R-MD-38 · A charge type or lead source code that isn't lower-case snake case is refused by the add function with a key”
  • Status: built
  • Example: given an admin, when they add a charge type with code Late Fee, then it is refused, and the form says only lower-case letters and underscores are allowed; late_fee is accepted (R-MD-07).
  • Refusal: master_data.code_invalid, with {field: code} in its detail.
  • Who: every holder of master_data:write, through the functions of R-MD-23.
  • Source: R-MD-07; the lead on #458 (2026-11-17).

R-MD-39 · A charge type's default due days, and a pricing group's driver daily rate and admin fee, can't be below 0

Section titled “R-MD-39 · A charge type's default due days, and a pricing group's driver daily rate and admin fee, can't be below 0”
  • Status: built
  • Example: given finance, when they set rent's default due days to -1, then it is refused; 0 and 30 are accepted, as there is no upper limit (D57). Given an admin, when they save a pricing group with an admin fee of -50.000, then it is refused.
  • Refusal: master_data.out_of_range, with {field, min} in its detail.
  • Who: the functions of R-MD-16 and R-MD-23.
  • Source: D57; the column checks; the lead on #458 (2026-11-17).

R-MD-40 · Company bank accounts and contract templates are written only through database functions

Section titled “R-MD-40 · Company bank accounts and contract templates are written only through database functions”
  • Status: built
  • Example: given an admin, when they insert a bank account or update a template's body straight through PostgREST, then it is refused; the same change through the function goes through. A call that names a row the caller's organization doesn't hold, or a legal entity of another organization, raises master_data.not_found.
  • Refusal: master_data.not_found from a function; a direct insert, update or delete: none: insufficient_privilege (42501), as authenticated holds only select on these tables.
  • Who: every app user. The functions are security definer and check master_data:write (R-MD-41); each refusal raises a key (D10).
  • Source: D3, D10; the lead on #459 (2026-11-17: the R-MD-23 pattern for every table of the slice).

R-MD-41 · Adding, changing, retiring or restoring a company bank account or a contract template needs master_data:write

Section titled “R-MD-41 · Adding, changing, retiring or restoring a company bank account or a contract template needs master_data:write”
  • Status: built
  • Example: given a finance user, who reads the bank accounts with payment:read (R-MD-12), when they add a BCA account for TOP, then it is refused; an admin's add goes through.
  • Refusal: master_data.not_allowed.
  • Who: super_admin, admin, maintenance and asuransi hold master_data:write.
  • Source: zuki on #459 (2026-11-17: bank accounts and templates keep master_data:write); R-MD-02.

R-MD-42 · A company bank account whose bank and account number the organization already holds, on an active or a retired row, is refused

Section titled “R-MD-42 · A company bank account whose bank and account number the organization already holds, on an active or a retired row, is refused”
  • Status: built
  • Example: given the retired account BCA 1234567890, when an admin adds BCA 1234567890 again, for TOP or for MOP, then it is refused, and the message offers to restore the retired one (R-MD-44); Mandiri 1234567890 is another account and is accepted. Matching is on the number as saved, after trimming.
  • Refusal: master_data.account_taken, with {id, retired} in its detail.
  • Who: every holder of master_data:write, through the functions of R-MD-40.
  • Source: the unique key company_bank_accounts_number_unique (organization, bank, account number); the lead on #459 (2026-11-17: a new key, master_data.account_taken).

R-MD-43 · A holder of master_data:write retires a company bank account or a contract template of their organization

Section titled “R-MD-43 · A holder of master_data:write retires a company bank account or a contract template of their organization”
  • Status: built
  • Example: given an admin, when they retire TOP's Mandiri account, then it is kept with is_active false and the payments that name it keep it; the audit log shows who retired it (R-MD-49). Retiring a row that is already retired goes through, changes nothing and writes no audit row. A finance user's attempt is refused.
  • Refusal: master_data.not_allowed without the permission; master_data.not_found for a row outside the organization.
  • Who: super_admin, admin, maintenance and asuransi hold master_data:write.
  • Source: zuki on #459 (2026-11-17: retire and restore as R-MD-26 to R-MD-28); D65.

R-MD-44 · A holder of master_data:write restores a retired company bank account or contract template

Section titled “R-MD-44 · A holder of master_data:write restores a retired company bank account or contract template”
  • Status: built
  • Example: given TOP's retired Mandiri account, when an admin restores it, then is_active is true again; a finance user's attempt is refused. Restoring a row that is active goes through, changes nothing and writes no audit row. A retired template version is restored only when no other version of its legal entity and platform is active (R-MD-47).
  • Refusal: master_data.not_allowed without the permission; master_data.not_found for a row outside the organization; master_data.retired when its legal entity is retired (R-MD-45); master_data.template_active (R-MD-47).
  • Who: super_admin, admin, maintenance and asuransi hold master_data:write.
  • Source: zuki on #459 (2026-11-17).
Section titled “R-MD-45 · A company bank account or a contract template can't be added under, moved to or restored under a retired legal entity”
  • Status: built
  • Example: given the retired legal entity MOP, when an admin adds a BRI account or a gojek template for MOP, or moves TOP's BCA account to MOP, then it is refused. An account that was already MOP's before MOP was retired keeps it (R-TEN-26 keeps MOP active while it has one).
  • Refusal: master_data.retired, with {field: legal_entity_id, id} in its detail; checked only when the call sets or changes the legal entity, or restores the row.
  • Who: every holder of master_data:write.
  • Source: zuki on #459 (2026-11-17: as R-MD-29).

R-MD-46 · Changing a contract template adds a new version with the next number and retires the version before it, in one transaction

Section titled “R-MD-46 · Changing a contract template adds a new version with the next number and retires the version before it, in one transaction”
  • Status: built
  • Example: given TOP's active grab template at version 3, when an admin changes its body or name, then version 4 is saved active with the new text and version 3 is kept, retired and unchanged, so a contract made from version 3 still points at the text it was made from. A change that keeps the name and body as they are returns the same id, adds no version and writes no audit row. A template's legal entity and platform are set when it is added; a change keeps them.
  • Refusal: only the active version can be changed: changing a retired one raises master_data.retired, with {field: 'id', id} in its detail. The change function takes no legal entity or platform.
  • Who: every holder of master_data:write, through the functions of R-MD-40.
  • Source: zuki on #459 (2026-11-17: a change adds a version row and retires the old one); the unique key contract_templates_version_unique; the lead on #459 (2026-11-18: only the active version changes; an unchanged name and body adds no version).
Section titled “R-MD-47 · At most one contract template is active for each legal entity and platform”
  • Status: built
  • Example: given TOP's active grab template, when an admin adds a second grab template for TOP, or restores an older retired version of it, then it is refused, and the message points at changing the active one (R-MD-46); a gojek template for TOP, or a grab template for MOP, is accepted.
  • Refusal: master_data.template_active, with {id} of the active template in its detail.
  • Who: every holder of master_data:write, through the functions of R-MD-40.
  • Source: zuki on #459 (2026-11-17: one template active per legal entity and platform). The refusal of a second add or a restore, rather than a silent switch, is DOC's proposal.

R-MD-48 · A bank account's label, bank, account number or account name, or a template's name or body, that is blank once trimmed is refused

Section titled “R-MD-48 · A bank account's label, bank, account number or account name, or a template's name or body, that is blank once trimmed is refused”
  • Status: built
  • Example: given an admin, when they add a bank account with account name " ", or a template with an empty body, then it is refused; a label of " Operasional " is saved as Operasional.
  • Refusal: master_data.name_required, with {field} in its detail.
  • Who: every holder of master_data:write, through the functions of R-MD-40.
  • Source: R-MD-36; the lead on #459 (2026-11-17: the keys of #458).

R-MD-49 · Every add, change, retirement and restore of a company bank account or a contract template writes an audit row, with the account number masked

Section titled “R-MD-49 · Every add, change, retirement and restore of a company bank account or a contract template writes an audit row, with the account number masked”
  • Status: built
  • Example: given an admin, when they rename TOP's BCA account and then retire it, then company_bank_accounts has two audit rows naming the admin, with the changed fields label and is_active, and neither row holds the account number in clear (R-AUD-06). A template change writes two rows to contract_templates: the new version's insert and the old one's retirement. contract_templates joins the watched tables.
  • Refusal: none.
  • Who: every writer, and the functions of R-MD-40.
  • Source: #459 (the slice: edits write audit entries); the lead on #459 (2026-11-17: contract templates included, D52); R-AUD-01, R-AUD-06.

R-MD-50 · A contract template is written in Indonesian only, with one name and one body

Section titled “R-MD-50 · A contract template is written in Indonesian only, with one name and one body”
  • Status: built
  • Example: given an admin with locale en, when they open the add template form, then it asks for one name and one body, with no English field; the contract made from it is in Indonesian.
  • Refusal: none.
  • Who: every writer, and apps/web for every user.
  • Source: D29 (contracts are Indonesian only, with no language parameter).

R-MD-51 · The Rekening bank tab shows company bank accounts to a holder of payment:read without master_data:write, read-only

Section titled “R-MD-51 · The Rekening bank tab shows company bank accounts to a holder of payment:read without master_data:write, read-only”
  • Status: built
  • Example: given the E2E finance or viewer login, when they open Master data, then the Rekening bank tab lists each legal entity's accounts with no add, change, retire or restore. Viewer sees only Rekening bank and Perusahaan rental (R-MD-76), and finance sees only Jenis tagihan (R-MD-35), Rekening bank and Perusahaan rental; neither sees Merek, Model, Grup harga, Sumber lead, Entitas, Pool, Pengaturan, Template kontrak, Bengkel, Asuransi, Item checklist or Panel bodi (R-MD-12, R-MD-77). An admin sees every tab with its actions. Postgres refuses a change anyway (R-MD-41).
  • Refusal: none.
  • Who: apps/web, for every user who opens the page.
  • Source: zuki on #459 (2026-11-17: finance and viewer get a read-only Rekening bank tab); R-MD-12; R-APP-25.

R-MD-52 · Garages, insurers, partner garages, rental companies, checklist items and body panels are written only through database functions

Section titled “R-MD-52 · Garages, insurers, partner garages, rental companies, checklist items and body panels are written only through database functions”
  • Status: built
  • Example: given an admin, when they insert a garage, update an insurer's phone or end a partnership straight through PostgREST, then it is refused; the same change through the function goes through. A call that names a row the caller's organization doesn't hold, such as a garage of another organization in a new partner garage, raises master_data.not_found. retire_master_data() and restore_master_data() take the six kinds as new master_data_kind values.
  • Refusal: master_data.not_allowed from a function, for a caller without the write permission (R-MD-54, R-MD-55, R-MD-56, R-MD-80); master_data.not_found from a function; a direct insert, update or delete: none: insufficient_privilege (42501), as authenticated holds only select on these tables.
  • Who: every app user. The functions are security definer and check master_data:write (R-MD-54), garage:write (R-MD-80), or payment:approve and the all-companies flag for rental companies (R-MD-55, R-MD-56); each refusal raises a key (D10).
  • Source: D3, D10; the lead on #460 (2026-11-18: the pattern of R-MD-23 and R-MD-40 for the six tables).

R-MD-53 · No app user can delete a garage, insurer, partner garage, rental company, checklist item or body panel

Section titled “R-MD-53 · No app user can delete a garage, insurer, partner garage, rental company, checklist item or body panel”
  • Status: built
  • Example: given a super_admin, when they delete a garage added by mistake and never used, then it is refused; they retire it instead (R-MD-57). Erasing one for good is a named database function zuki runs by hand (D65).
  • Refusal: none: insufficient_privilege (42501), as authenticated holds no delete on these tables, and there is no delete function.
  • Who: every app user, whatever their permissions.
  • Source: D65; the lead on #460 (2026-11-18). Ends the delete policy that R-MD-03 left these tables, and replaces R-MD-25's removing part.

R-MD-54 · Adding, changing, retiring or restoring an insurer, checklist item or body panel needs master_data:write

Section titled “R-MD-54 · Adding, changing, retiring or restoring an insurer, checklist item or body panel needs master_data:write”
  • Status: built
  • Example: given a maintenance user, when they add the insurer Sinar Mas or retire a body panel, then it is saved; a finance or admin_fleet user's attempt is refused. Garages and partner garages are R-MD-80's.
  • Refusal: master_data.not_allowed.
  • Who: super_admin, admin, maintenance and asuransi hold master_data:write.
  • Source: R-MD-02; #76 (MD open 1, partner garages); the lead on #460 (2026-11-18). Replaces R-MD-02's refusals without a key for these three tables.

R-MD-55 · Adding, changing, retiring or restoring a rental company needs payment:approve

Section titled “R-MD-55 · Adding, changing, retiring or restoring a rental company needs payment:approve”
  • Status: built
  • Example: given a finance user with the all-companies flag, when they add the partner Mitra Jaya or change its contact phone, then it is saved; a maintenance user, who reads rental companies with master_data:read (R-MD-12) and, without the all-companies flag, sees only their own (R-MD-75), is refused.
  • Refusal: master_data.not_allowed.
  • Who: super_admin, admin and finance hold payment:approve.
  • Source: [Ref] Roles, policy matrix (rental companies, payouts); zuki and the lead on #460 (2026-11-18: rental companies keep payment:approve). Replaces R-MD-09.

R-MD-56 · Adding, changing, retiring or restoring a rental company is refused to a caller without the all-companies flag in the organization

Section titled “R-MD-56 · Adding, changing, retiring or restoring a rental company is refused to a caller without the all-companies flag in the organization”
  • Status: built
  • Example: given Deka holds payment:approve and is limited to partner A, when Deka renames A, retires it or adds partner C, then it is refused and nothing changes; a finance user with the flag (R-ACC-171) does the same and it goes through. Deka's change to partner B, which Deka can't read (R-MD-75), is refused with the same key, not master_data.not_found.
  • Refusal: master_data.not_allowed.
  • Who: every caller of the rental company functions. The flag is memberships.all_rental_companies in the rental company's organization (D99).
  • Source: zuki on #460 (2026-11-18: scoped read, unscoped write; only a payment:approve holder who sees all companies writes); D99, D100.

R-MD-57 · A holder of the write permission retires a garage, insurer, partner garage, rental company, checklist item or body panel of their organization

Section titled “R-MD-57 · A holder of the write permission retires a garage, insurer, partner garage, rental company, checklist item or body panel of their organization”
  • Status: built
  • Example: given an admin, when they retire the garage BK-001, the insurer Sinar Mas or the partnership between them, then the row is kept with is_active false, and the audit log shows who retired it (R-MD-74). A finance user with the flag retires the partner Mitra Jaya: its status becomes inactive. Retiring a row that is already retired goes through, changes nothing and writes no audit row. Retiring the organization's copy of a system checklist item or body panel is refused (R-MD-05).
  • Refusal: master_data.not_allowed without the permission (R-MD-54, R-MD-55, R-MD-56, R-MD-80); master_data.system_row_locked for a copy of a system row; master_data.operator_company_locked for the marked rental company (R-MD-86); master_data.not_found for a row outside the organization.
  • Who: garage:write holders for garages and partner garages (R-MD-80), master_data:write holders for insurers, checklist items and body panels (R-MD-54), and payment:approve holders with the flag for rental companies. Ending a partnership is retiring its insurer_garages row.
  • Source: D65; zuki and the lead on #460 (2026-11-18: ending a partnership is a retirement; a rental company's status is its active flag). Changed by zuki in the session on #748, 2026-11-25; D108.

R-MD-58 · A holder of the write permission restores a retired garage, insurer, partner garage, rental company, checklist item or body panel

Section titled “R-MD-58 · A holder of the write permission restores a retired garage, insurer, partner garage, rental company, checklist item or body panel”
  • Status: built
  • Example: given the retired insurer Sinar Mas, when an admin restores it, then is_active is true again and the claim form offers it (R-MD-81); a restored rental company's status is active, and members can be linked to it again (R-ACC-138). Restoring a row that is active goes through, changes nothing and writes no audit row.
  • Refusal: master_data.not_allowed without the permission; master_data.not_found for a row outside the organization; master_data.retired for a partner garage whose insurer or garage is retired (R-MD-60).
  • Who: as R-MD-57.
  • Source: zuki and the lead on #460 (2026-11-18).

R-MD-59 · Retiring a garage, insurer, partner garage, rental company, checklist item or body panel always goes through while other rows use it, and changes none of them

Section titled “R-MD-59 · Retiring a garage, insurer, partner garage, rental company, checklist item or body panel always goes through while other rows use it, and changes none of them”
  • Status: built
  • Example: given insurer A partners with garage X and an open claim names both, when an admin retires X, then X is retired, the partnership stays active and the claim keeps its garage. Retiring a checklist item leaves past inspections' answers to it; retiring a body panel leaves its damages; retiring a rental company, except the marked one (R-MD-86), leaves its cars and its members' links (R-ACC-138).
  • Refusal: none for other rows using it; the marked rental company's is R-MD-86.
  • Who: every holder of the write permission.
  • Source: zuki on #460 (2026-11-18: retiring a row still in use is allowed, never cascades, links stay), as R-MD-28. Whether a new claim may use a retired pair is R-ASR-01's, carried over. Changed by zuki in the session on #748, 2026-11-25; D108.

R-MD-60 · A partner garage can't be added for, or restored to, a retired insurer or a retired garage

Section titled “R-MD-60 · A partner garage can't be added for, or restored to, a retired insurer or a retired garage”
  • Status: built
  • Example: given the retired garage BK-007, when an admin makes it a partner of insurer A, or restores A's retired partnership with it, then it is refused. A partnership that was active before BK-007 was retired stays active (R-MD-59).
  • Refusal: master_data.retired, with the field (insurer_id or garage_id) and the retired row's id in its detail.
  • Who: every holder of garage:write (R-MD-80).
  • Source: the lead on #460 (2026-11-18), as R-MD-29 and R-MD-45.

R-MD-61 · A partner garage whose insurer and garage the organization already pairs, on an active or a retired row, is refused

Section titled “R-MD-61 · A partner garage whose insurer and garage the organization already pairs, on an active or a retired row, is refused”
  • Status: built
  • Example: given insurer A's retired partnership with garage X, when an admin makes X a partner of A again, then it is refused, and the message offers to restore the retired one (R-MD-58); X as a partner of insurer B is accepted.
  • Refusal: master_data.pair_taken, with {id, retired} in its detail.
  • Who: every holder of garage:write (R-MD-80), through the functions of R-MD-52.
  • Source: the unique key insurer_garages_unique (insurer, garage); the lead on #460 (2026-11-18: a new key, master_data.pair_taken).

R-MD-62 · A partner garage's insurer and garage are set when it is added and never changed; its partner_since date may change

Section titled “R-MD-62 · A partner garage's insurer and garage are set when it is added and never changed; its partner_since date may change”
  • Status: built
  • Example: given insurer A partners with garage X since 2024-03-01, when an admin sets partner_since to 2023-11-15, then it is saved; no function moves the partnership to garage Y. A partnership with Y is a new row, and the old one is retired (R-MD-57). An empty partner_since is allowed.
  • Refusal: none: the change function takes no insurer or garage.
  • Who: every holder of garage:write (R-MD-80). The Bengkel rekanan form shows partner_since and lets it change.
  • Source: the lead on #460 (2026-11-18: partner_since on the form and changeable; the pair is fixed, as claims name it (R-ASR-01) and a change would rewrite their history, so a new pair is added and the old one retired); D65.

R-MD-63 · A partner garage's insurer and garage belong to its own organization

Section titled “R-MD-63 · A partner garage's insurer and garage belong to its own organization”
  • Status: built
  • Example: given insurer A of organization 1 and garage Z of organization 2, when any writer saves a partner garage of organization 1 pairing A with Z, then it is refused.
  • Refusal: master_data.not_found, with {field, id} in its detail, through the functions of R-MD-52; elsewhere none: foreign_key_violation (23503), from composite foreign keys on (insurer_id, organization_id) and (garage_id, organization_id).
  • Who: every writer, the operator included.
  • Source: R-TEN-05; the lead on #460 (2026-11-18).

R-MD-64 · An insurer, rental company, checklist item or body panel name already held in the same list, by an active or a retired row, is refused

Section titled “R-MD-64 · An insurer, rental company, checklist item or body panel name already held in the same list, by an active or a retired row, is refused”
  • Status: built
  • Example: given the retired insurer Sinar Mas, when an admin adds or renames an insurer to Sinar Mas, then it is refused, and the message offers to restore it (R-MD-58); a name an active row holds is refused with the same key, without the offer. Two checklist items named "Wiper" are refused the same way. Two garages may share a name, as their codes tell them apart. Matching is exact, after trimming.
  • Refusal: master_data.name_taken, with {field: name, id, retired} in its detail.
  • Who: every holder of the write permission, through the functions of R-MD-52. Insurers and rental companies are unique by name in the table; checklist items and body panels only in the add and rename functions, as R-MD-31 does for charge types.
  • Source: R-MD-06; the lead on #460 (2026-11-18: checklist and panel names unique per organization, function-only; garage names may repeat).

R-MD-65 · A garage, checklist item or body panel code already held in the organization, by an active or a retired row, is refused

Section titled “R-MD-65 · A garage, checklist item or body panel code already held in the organization, by an active or a retired row, is refused”
  • Status: built
  • Example: given the retired garage BK-001, when an admin adds a garage with code BK-001, then it is refused, and the message offers to restore it (R-MD-58); the organization's copy of a system body panel holds its code too.
  • Refusal: master_data.code_taken, with {field: code, id, retired} in its detail.
  • Who: every holder of the write permission, through the functions of R-MD-52: garage:write for garages (R-MD-80), master_data:write for checklist items and body panels (R-MD-54).
  • Source: R-MD-06 (unique on organization and code); the lead on #460 (2026-11-18).

R-MD-66 · A garage's, checklist item's or body panel's code is set when it is added and never changed

Section titled “R-MD-66 · A garage's, checklist item's or body panel's code is set when it is added and never changed”
  • Status: built
  • Example: given the garage BK-001, when an admin renames it, then the name changes and the code stays BK-001; no function takes a new code, and a direct update is refused (R-MD-52). A garage code is typed at add, in any form that isn't blank: BK-001 and Bengkel01 are both accepted. The add form's hint on each code says it can't be changed later.
  • Refusal: none: the change function takes no code.
  • Who: every holder of the write permission (R-MD-54, R-MD-80); apps/web for the hint.
  • Source: the lead on #460 (2026-11-18: the garage code is typed, set once, unique and free in form); R-MD-32.

R-MD-67 · A checklist item or body panel code that isn't lower-case letters, digits and underscores is refused by the add function with a key

Section titled “R-MD-67 · A checklist item or body panel code that isn't lower-case letters, digits and underscores is refused by the add function with a key”
  • Status: built
  • Example: given an admin, when they add a body panel with code Spion Kiri, then it is refused, and the form says only lower-case letters, digits and underscores are allowed; spion_kiri and velg_2 are accepted (R-MD-07).
  • Refusal: master_data.code_invalid, with {field: code} in its detail.
  • Who: every holder of master_data:write, through the functions of R-MD-52.
  • Source: R-MD-07, R-MD-38; the lead on #460 (2026-11-18).

R-MD-68 · A required name or code that is blank once trimmed is refused; an optional text that is blank once trimmed is stored as none

Section titled “R-MD-68 · A required name or code that is blank once trimmed is refused; an optional text that is blank once trimmed is stored as none”
  • Status: built
  • Example: given an admin, when they add a garage with code " ", or an insurer named "", then it is refused; a rental company named " Mitra Jaya " is saved as Mitra Jaya. A garage saved with address " ", or a checklist item with name_en " ", has none.
  • Refusal: master_data.name_required, with {field} in its detail.
  • Who: every holder of the write permission, through the functions of R-MD-52. Required: a garage's code and name, an insurer's name, a rental company's name, and a checklist item's or body panel's code and Indonesian name. Optional: name_en, address, phone, website, legal_name, contact_phone and bank_account_ref.
  • Source: R-MD-36; the lead on #460 (2026-11-18: the keys of #458).

R-MD-69 · A garage's or insurer's phone, or a rental company's contact phone, that isn't 62 followed by the number is refused by the function with a key

Section titled “R-MD-69 · A garage's or insurer's phone, or a rental company's contact phone, that isn't 62 followed by the number is refused by the function with a key”
  • Status: built
  • Example: given an admin, when they save garage BK-001 with phone 0812-3456-7890, then it is refused, and the form names the field; 6281234567890 is accepted (R-CONV-07); the function doesn't rewrite a number into that form. An insurer's website is trimmed and stored as typed, with no other check.
  • Refusal: master_data.phone_invalid, with {field} in its detail.
  • Who: every holder of the write permission, through the functions of R-MD-52.
  • Source: R-CONV-07; the lead on #460 (2026-11-18: a new key; website trimmed only).

R-MD-70 · A checklist item's answer kind is set when it is added and never changed

Section titled “R-MD-70 · A checklist item's answer kind is set when it is added and never changed”
  • Status: built
  • Example: given the checklist item Wiper answered by grade, when an admin changes it, then its section, applies_to, vehicle class, sort order and names may change, and no function makes it a present or value item, so past answers keep their meaning. A body panel's area, vehicle class and sort order may change.
  • Refusal: none: the change function takes no answer kind.
  • Who: every holder of master_data:write.
  • Source: the lead on #460 (2026-11-18).

R-MD-71 · A checklist item's or body panel's sort order is a whole number from -32768 to 32767

Section titled “R-MD-71 · A checklist item's or body panel's sort order is a whole number from -32768 to 32767”
  • Status: built
  • Example: given an admin, when they set the body panel Bumper depan's sort order to 5, then it is saved, and the panel lists come in sort order, then by name; 40000 is refused. A new row without one gets 100.
  • Refusal: master_data.out_of_range, with {field, min, max} in its detail.
  • Who: every holder of master_data:write, through the functions of R-MD-52.
  • Source: the column (int2, default 100); the lead on #460 (2026-11-18: sort order editable, any integer); R-MD-39.

R-MD-72 · Garages, insurers and rental companies have one name, with no English name

Section titled “R-MD-72 · Garages, insurers and rental companies have one name, with no English name”
  • Status: built
  • Example: given the insurer Sinar Mas and the garage Bengkel Maju, when a user with locale en opens their tabs, then both read as in Indonesian, and the add forms ask for one name. Checklist items and body panels keep two names (R-MD-10).
  • Refusal: none.
  • Who: every writer, and apps/web for every user.
  • Source: D29 (only names staff read in two languages carry name_en); R-MD-34.

R-MD-73 · The master data page's lists for adding a partner garage leave out retired garages and retired insurers

Section titled “R-MD-73 · The master data page's lists for adding a partner garage leave out retired garages and retired insurers”
  • Status: built
  • Example: given the retired garage BK-007, when a user opens Bengkel rekanan for insurer A and adds a partner, then BK-007 isn't offered; a partnership that already names it still shows it. Opened from garage BK-001's row in the Bengkel tab (R-MD-82), Bengkel rekanan doesn't offer the retired insurer Sinar Mas. The master data tabs list retired rows behind a filter, marked as retired, with a way to restore them (R-MD-58). Pickers on other pages are R-MD-81's; inactive rental companies are already left out of the Perusahaan rental member tab (R-ACC-143).
  • Refusal: none.
  • Who: apps/web, for every user.
  • Source: zuki on #460 (2026-11-18: pickers hide retired rows); R-MD-30.

R-MD-74 · Every add, change, retirement and restore of a garage, insurer, partner garage, rental company, checklist item or body panel writes an audit row

Section titled “R-MD-74 · Every add, change, retirement and restore of a garage, insurer, partner garage, rental company, checklist item or body panel writes an audit row”
  • Status: built
  • Example: given an admin, when they change garage BK-001's phone and then retire it, then garages has two audit rows naming the admin, with the changed fields phone and is_active (R-AUD-01, R-AUD-02). Retiring a retired row, or restoring an active one, writes no audit row (R-MD-57, R-MD-58). The six tables join the watched tables.
  • Refusal: none.
  • Who: every writer, and the functions of R-MD-52.
  • Source: #460 (the M1-05 pattern: one audit row per change); D52; R-AUD-01.

R-MD-75 · A member without the all-companies flag reads only their own rental companies

Section titled “R-MD-75 · A member without the all-companies flag reads only their own rental companies”
  • Status: built
  • Example: given Deka holds payment:read and is limited to partner A, when Deka reads rental_companies, then A comes back and B doesn't; a finance user with the flag reads A and B. Given Sari holds master_data:read and their list is empty, Sari reads none.
  • Refusal: none: hidden.
  • Who: holders of master_data:read or payment:read (R-MD-08, R-MD-12). A member's own rental companies are their links in member_rental_companies (R-ACC-135).
  • Source: zuki on #460 (2026-11-18: scoped read); D99, D100. The read policy on rental_companies already does this; this rule writes it down.

R-MD-76 · The Perusahaan rental tab shows rental companies to a holder of master_data:read or payment:read, and offers changes only to a holder of payment:approve with the all-companies flag

Section titled “R-MD-76 · The Perusahaan rental tab shows rental companies to a holder of master_data:read or payment:read, and offers changes only to a holder of payment:approve with the all-companies flag”
  • Status: built
  • Example: given the E2E viewer login, when they open Master data, then the Perusahaan rental tab lists the rental companies with their legal name, contact phone, bank account reference and status, with no add, change, retire or restore. A finance user with the flag sees the same tab with its actions. A user limited to partner A sees only A (R-MD-75), read-only (R-MD-56).
  • Refusal: none. Postgres refuses a change anyway (R-MD-55, R-MD-56).
  • Who: apps/web, for every user who opens the page. Master data opens with master_data:read, payment:approve or payment:read (R-APP-25), or garage:write (R-MD-82).
  • Source: zuki and the lead on #460 (2026-11-18: the tab with master_data:read or payment:read, read-only without payment:approve; bank_account_ref is shown); R-MD-51.

R-MD-77 · The Bengkel, Asuransi, Item checklist and Panel bodi tabs show to a holder of master_data:read, and offer changes only to a holder of the write permission

Section titled “R-MD-77 · The Bengkel, Asuransi, Item checklist and Panel bodi tabs show to a holder of master_data:read, and offer changes only to a holder of the write permission”
  • Status: built
  • Example: given an asuransi user, who holds master_data:write and garage:write, when they open Master data, then the four tabs list their rows with add, change, retire and restore. In the Asuransi tab, an insurer's row menu opens Bengkel rekanan, which lists that insurer's partner garages, active and retired, and adds one by picking an active garage the insurer doesn't already pair (R-MD-61, R-MD-73). A maintenance user sees Bengkel and Bengkel rekanan with no actions, as they lack garage:write (R-MD-80). A finance or viewer user doesn't see these four tabs. A user who holds master_data:read without a write permission sees them with no actions. A garage:write holder without master_data:read sees the Bengkel tab only (R-MD-82).
  • Refusal: none. Postgres refuses a change anyway (R-MD-54, R-MD-80).
  • Who: apps/web, for every user who opens the page.
  • Source: zuki on #460 (2026-11-18: partner garages inside the Asuransi tab; garages and partner garages use garage:write); R-MD-12 and R-MD-51 (tabs follow master_data:read, as Merek does).

R-MD-78 · The Item checklist and Panel bodi tabs mark a copy of a system row as a system row and offer no change on it

Section titled “R-MD-78 · The Item checklist and Panel bodi tabs mark a copy of a system row as a system row and offer no change on it”
  • Status: planned
  • Example: given organization A's copy of a system body panel, when an admin opens the Panel bodi tab, then it is marked Sistem and offers no change, retire or restore; a panel A added itself offers them. Postgres refuses the change anyway (R-MD-05).
  • Refusal: none.
  • Who: apps/web, for every user who opens the page.
  • Source: R-MD-05, R-MD-35; #460. No system checklist items or body panels are seeded in this slice (zuki, 2026-11-18, carried over), so the mark shows only once they are.

R-MD-79 · The master data page shows the kinds of garages, checklist items and body panels by the labels in the table below

Section titled “R-MD-79 · The master data page shows the kinds of garages, checklist items and body panels by the labels in the table below”
  • Status: built
  • Example: given the garage BK-001 of kind body_paint, when a user with locale id opens the Bengkel tab, then its kind reads "Bengkel body & cat"; with locale en, "Body and paint". A checklist item of section tyres reads "Ban", or "Tyres" in English. A checklist item with no vehicle class reads "Semua kelas", or "All classes".
  • Refusal: none.
  • Who: apps/web, for every user.
  • Source: D29 (Indonesian first, with English); the lead on #460 (2026-11-18: DOC gives the labels, zuki reviews them in the pull request). The labels are DOC's proposal.

R-MD-80 · Adding, changing, retiring or restoring a garage or a partner garage needs garage:write

Section titled “R-MD-80 · Adding, changing, retiring or restoring a garage or a partner garage needs garage:write”
  • Status: built
  • Example: given an admin_fleet user, when they add the garage BK-001, change its phone, or make it a partner of insurer A, then it is saved; a maintenance user, who holds master_data:write but not garage:write, is refused. A partner garage needs garage:write alone, with no permission on the insurer.
  • Refusal: master_data.not_allowed.
  • Who: super_admin, admin, admin_fleet and asuransi hold garage:write ("Bengkel · tambah / ubah"). Reading garages and partner garages stays open to every member (R-MD-01, R-MD-14).
  • Source: zuki on #460 (2026-11-18: garages and partner garages use garage:write). Replaces R-MD-25, and R-MD-02 for garages and partner garages.

R-MD-81 · A list for picking a garage, insurer, partner garage, checklist item or body panel outside the master data page leaves out retired rows

Section titled “R-MD-81 · A list for picking a garage, insurer, partner garage, checklist item or body panel outside the master data page leaves out retired rows”
  • Status: planned
  • Example: given the retired garage BK-007, when a user opens the claim form, then BK-007 isn't offered; a claim that already names it still shows it. A new inspection offers no retired checklist item, and a new damage no retired body panel.
  • Refusal: none.
  • Who: apps/web, for every user. Each picker is built with its own module's page (insurance, inspections), not in #460.
  • Source: zuki on #460 (2026-11-18: pickers hide retired rows); fe's review there (split from R-MD-73, as these pages don't exist yet).

R-MD-82 · Master data opens for a holder of garage:write, whose garage row menu opens Bengkel rekanan for that garage; without master_data:read it shows the Bengkel tab only

Section titled “R-MD-82 · Master data opens for a holder of garage:write, whose garage row menu opens Bengkel rekanan for that garage; without master_data:read it shows the Bengkel tab only”
  • Status: built
  • Example: given an admin_fleet user, who holds garage:write without master_data:read, when they open Master data, then they see the Bengkel tab only, with add, change, retire and restore. Garage BK-001's row menu opens Bengkel rekanan for BK-001, which lists its partner insurers, active and retired, and adds one by picking an active insurer that doesn't already pair BK-001 (R-MD-61, R-MD-73); partner_since may change there (R-MD-62). Asuransi, Item checklist and Panel bodi stay hidden. An admin, asuransi or super_admin user, who holds garage:write too, has the same row menu on the Bengkel tab beside their other tabs. Bengkel rekanan stays reachable from an insurer's row in the Asuransi tab for a holder of master_data:read (R-MD-77). A viewer, who holds garage:read, sees nothing new.
  • Refusal: none. Postgres refuses a change anyway (R-MD-80).
  • Who: apps/web, for every user who opens the page. The menu item is R-APP-25's, which opens Master data with garage:write too (R-APP-25). garage:read alone doesn't open it.
  • Source: zuki on #460 (2026-11-18: Master data opens for garage:write; without master_data:read, only Bengkel, whose row menu opens Bengkel rekanan; garage:read gives nothing new); the lead on #460 (2026-11-18: the garage row menu for every garage:write holder); R-MD-51 (a tab set for a holder without master_data:read).

R-MD-83 · A required choice passed as null to a master data function is refused with the field it names

Section titled “R-MD-83 · A required choice passed as null to a master data function is refused with the field it names”
  • Status: built
  • Example: given an admin, when they call add_vehicle_model() with powertrain null, then it is refused, no model is added and the refusal names powertrain; apps/web shows "Penggerak wajib diisi.", with the field's label (Kelas, Penggerak, Tarif driver harian, Biaya admin, Kanal, Platform, Bagian, Jawaban, Area). The same holds for each required argument below, on the functions named:
    • add_vehicle_model() and change_vehicle_model(): vehicle_class and powertrain.
    • add_pricing_group() and change_pricing_group(): driver_daily_rate and admin_fee.
    • add_lead_source() and change_lead_source(): channel.
    • add_contract_template(): platform.
    • add_inspection_item_type(): section and answer; change_inspection_item_type(): section.
    • add_body_panel() and change_body_panel(): area.
  • Refusal: master_data.field_required, with {field}, the argument's name, in its detail. A name or code that is blank once trimmed keeps master_data.name_required (R-MD-36). Checked after master_data.not_allowed and the name checks (R-MD-36), so a null name still gets name_required first. The list above is complete: every other not-null column these functions write has a default.
  • Who: every caller of these functions; apps/web, which maps the key to its text with the field's label.
  • Source: #674 (a null required argument raised a bare not_null_violation, not a D10 key); the lead in the session on #650 (one key with {field}; name_required stays for blank text; the list of functions and arguments).

R-MD-84 · An organization has at most one rental company marked as the operator's own

Section titled “R-MD-84 · An organization has at most one rental company marked as the operator's own”
  • Status: built
  • Example: given TOP carries the mark (rental_companies.is_operator) in an organization, when a second rental company of that organization is marked, then it is refused; another organization may mark its own. The mark, not the name, says which company is the operator's.
  • Refusal: none: unique_violation (23505).
  • Who: every writer.
  • Source: zuki in the session on #748, 2026-11-25; D108.

R-MD-85 · No app function sets or clears the operator mark

Section titled “R-MD-85 · No app function sets or clears the operator mark”
  • Status: built
  • Example: given a finance user with the flag, when they add a rental company or change TOP or another company, then the mark of every company is as it was and a company they add isn't marked. A direct write is refused (R-MD-52).
  • Refusal: none: the functions take no mark.
  • Who: every app user; the migration and the seed create the marked row.
  • Source: zuki in the session on #748, 2026-11-25; D108.

R-MD-86 · Retiring the rental company marked as the operator's own is refused

Section titled “R-MD-86 · Retiring the rental company marked as the operator's own is refused”
  • Status: built
  • Example: given a finance user with the flag, when they retire TOP, then it is refused and TOP stays active; retiring another rental company goes through (R-MD-57).
  • Refusal: master_data.operator_company_locked, with {id}. Checked after the permission: a caller who may not retire rental companies still gets master_data.not_allowed (R-MD-55, R-MD-56).
  • Who: every caller of retire_master_data().
  • Source: zuki in the session on #748, 2026-11-25; D108. be in the session on #748 (the detail and the check order).

R-MD-87 · The rental company marked as the operator's own can be renamed, and keeps the mark

Section titled “R-MD-87 · The rental company marked as the operator's own can be renamed, and keeps the mark”
  • Status: built
  • Example: given a finance user with the flag, when they change the name of TOP, then the new name is saved, the mark stays on the row and its cars keep it.
  • Refusal: none beyond a rental company's own (R-MD-55, R-MD-56).
  • Who: payment:approve holders with the flag.
  • Source: zuki in the session on #748, 2026-11-25; D108.

R-MD-88 · A new organization gets its marked rental company when it is created

Section titled “R-MD-88 · A new organization gets its marked rental company when it is created”
  • Status: planned
  • Example: given a new organization is added, when it is created, then it has one rental company with the operator mark.
  • Refusal: none.
  • Who: the slice that adds organizations.
  • Source: zuki in the session on #748, 2026-11-25; D108.

R-MD-89 · The v1 migration creates TOP as the marked rental company

Section titled “R-MD-89 · The v1 migration creates TOP as the marked rental company”
  • Status: built
  • Example: given a run of the migration, when the master_data step has run, then the organization has the rental company TOP with the operator mark, once however many runs there are (R-MIG-03), and v1's partner TOP maps onto it (R-MD-18). Where v1's partners list names TOP too, in any case, it is that one row and not a second, and it is active whatever v1 says, as it can't be retired (R-MD-86). Where the organization already has a marked row, the step makes no second one and TOP maps onto that row (R-MD-84). Where the organization has no marked row and already holds a rental company named TOP, in any letter case, under an id the step did not make, the run stops with a refusal: nothing is marked by accident and no second TOP is made.
  • Refusal: migration.operator_company_ambiguous, with {id} of the company that is named TOP, when the organization has no marked row and holds one under an id the step did not make; the run stops and the step changes nothing.
  • Who: the migration's master_data step.
  • Source: zuki in the session on #748, 2026-11-25; D108. be in the session on #748 (the step; one row when v1 names TOP too; active whatever v1 says; an existing marked row is used); settled by zuki in the session on #748, 2026-11-25. An unmarked TOP that the step did not make stops the run: zuki in the session on #748, 2026-11-25.

The labels of R-MD-79, Indonesian first, then English. vehicle_class keeps the labels the app already shows (Mobil, Motor), and a rental company's status its own (Aktif, Nonaktif).

Enum Value Indonesian English
garage_kind authorized Bengkel resmi Authorized
garage_kind general Bengkel umum General
garage_kind body_paint Bengkel body & cat Body and paint
garage_kind internal Bengkel internal In-house
item_section body Bodi Body
item_section interior Interior Interior
item_section engine Mesin Engine
item_section equipment Perlengkapan Equipment
item_section tyres Ban Tyres
item_answer grade Nilai H/K/M Grade H/K/M
item_answer present Ada / tidak ada Present or missing
item_answer value Angka Value
item_applies_to all Semua All
item_applies_to ice Mesin bakar Combustion engine
item_applies_to ev Listrik Electric
vehicle_class (a checklist item's, when empty) none Semua kelas All classes
panel_area front Depan Front
panel_area left Kiri Left
panel_area right Kanan Right
panel_area rear Belakang Rear
panel_area top Atas Top
panel_area wheel Roda Wheel

The tabs are Bengkel (Garages), Asuransi (Insurers), Perusahaan rental (Rental companies), Item checklist (Checklist items) and Panel bodi (Body panels); the partner garage view is Bengkel rekanan (Partner garages).