Expense request

An expense, a trip or a purchase, checked, approved and decided by the roles the Authority Rules (fictional), Article 12, Appendix 2 give its category and amount

File: expense.ringi (the request expense, version 1, sha256:058e89be8b5bcb64).

Kept by the team Accounting (accounting).

The organization is read in each of its versions: from 2026-04-01 and 2027-04-01.

When it can be used

Who may submit it

Everyone in the organization may submit it.

In numbers: 24 of 24 people in the organization from 2026-04-01, and 23 of 23 from 2027-04-01.

A person may also submit it in the name of someone they stand in for (a proxy for submitting): the request is then that person's.

Form

FieldTypeAcceptsRequiredShown
Categoryone of Travel, Expenses or Purchase—yesalways
Itemsrows1 to 20 rowsyesalways
Items › Whattext, one lineup to 100 charactersyesalways
Items › Priceamount in JPYfrom 1 JPY to 1,000,000 JPYyesalways
Amountamount in JPY, worked out: the total of “Price” over the rows of “Items”from 1 JPY to 10,000,000 JPY (worked out, it can be from 1 JPY to 20,000,000 JPY)worked outalways
Purposetext1 to 200 charactersyesalways
Date of usedatefrom 2026-01-01 to 2027-12-31yesalways
Destinationtext, one lineup to 100 charactersyeswhen “Category” is “Travel”
Receipta file—when “Amount” is more than 30,000 JPYalways
Account codea row of Account codes (m.accounts)—filled in by an approveralways

A field left empty has no value: one that is optional, one asked for or shown on a condition, and one an approver fills in, until they do. A condition that a field “is not” a value holds when it has no value; one that it “is” a value, or that compares it, does not. A computation that reads a field with no value has none either, but a total, which adds the rows whose cell is filled in.

A computed field accepts what its range says: a request whose value falls outside it is refused, and the route's table needs to cover only that.

Route

The route depends on “Category” and “Amount”. Each row is one case, with the stages it goes through, in order; who answers each stage is said under “How the approvers are chosen”.

CategoryAmountRoute
Travel30,000 JPY or lesstravel_agent (decide)
Travelmore than 30,000 JPY and 100,000 JPY or lessmanager (decide)
Travelmore than 100,000 JPYmanager (first) → dept_head (decide)
Expenses100,000 JPY or lesscheck (precheck) → manager (decide)
Expensesmore than 100,000 JPY and 1,000,000 JPY or lesscheck (precheck) → manager (first) → dept_head (decide)
Expensesmore than 1,000,000 JPYmanager (first) → dept_head (second) → division_head (decide)
Purchase1,000,000 JPY or lessmanager (first) → accounting (second) → dept_head (decide)
Purchasemore than 1,000,000 JPYmanager (first) → dept_head and accounting (second) → division_head (decide)

How the approvers are chosen

ApproverWho it is
managerthe requester's manager: the head of the team the requester is mainly in, or of the team above where that head is the requester or there is none
dept_headthe head of the first team of the kind Department (department) above the requester
accountingthe members of the team Accounting (accounting): one of them answers
division_headthe first head above the requester whose position is Head of division (division_head) or higher
checkthe agent the flow precheck_agent runs answers; where it is not sure, or fails, “manager” answers in its place
travel_agentthe agent the flow travel_decision runs answers; where it is not sure, or fails, “manager” answers in its place
boardthe members of the team Board (board): one of them answers

Each approver is chosen when the stage starts, in the version of the organization in effect then. A proxy in effect that day answers beside them (see “Proxies”).

Deadlines and reminders

Every stage:

A late stage goes up as the table next_up says:

approvergoes_to
checkmanager
travel_agentmanager
managerdept_head
dept_headdivision_head
accountingdivision_head
division_headdivision_head
boardboard

For a stage that starts on 2026-04-03 (Fri), the days the request's calendar closes skipped (times in UTC+09:00):

StageReminderDueDue after going up
precheck2026-04-07 (Tue) 09:002026-04-08 (Wed), at the end of the day2026-04-14 (Tue), at the end of the day
first2026-04-07 (Tue) 09:002026-04-08 (Wed), at the end of the day2026-04-14 (Tue), at the end of the day
second2026-04-07 (Tue) 09:002026-04-08 (Wed), at the end of the day2026-04-14 (Tue), at the end of the day
decide2026-04-07 (Tue) 09:002026-04-08 (Wed), at the end of the day2026-04-14 (Tue), at the end of the day

A ticket ends within 93 business days at the most (4 × 21 at its stages, 3 × 3 with the requester). ritsu ringi doc --longest shows the dates of the longest.

Rules of a ticket

Comments

Proxies

The proxies the organization's data has for this request:

PersonProxyForDays
e3101 (Head of Sales Department 1)e1101 (Manager of Section 1A)approving2026-12-28 to 2027-01-08

Books and flows

Claims

The check holds each of these: a claim that did not hold would stop the request.

Examples of the route

The check holds that the route gives each of these requests the stages written beside it.

CategoryAmountRoute
Travel30,000 JPYtravel_agent (decide)
Travel30,001 JPYmanager (decide)
Expenses100,000 JPYcheck (precheck) → manager (decide)
Expenses100,001 JPYcheck (precheck) → manager (first) → dept_head (decide)
Purchase1,000,001 JPYmanager (first) → dept_head and accounting (second) → division_head (decide)

Scenarios

The check runs each of these on the ticket machine, and holds that every event comes to the stage and the state written.

a_joint_purchase

Submitted by e1201 (Sales staff 1).

AtEventByStage afterState
2026-11-16 10:00submite1201 (Sales staff 1)firstin progress
2026-11-16 15:00approvee1101 (Manager of Section 1A)secondin progress
2026-11-17 11:00approvee1001 (Head of Accounting)secondin progress
2026-11-17 16:00approvee3101 (Head of Sales Department 1)decidein progress
2026-11-18 09:30approvee0101 (Head of Sales Division)—approved

a_day_trip_the_agent_decides

Submitted by e1201 (Sales staff 1).

AtEventByStage afterState
2026-11-16 10:00submite1201 (Sales staff 1)decidein progress
2026-11-16 10:01the agent answers (sure)——approved

a_trip_the_agent_doubts

Submitted by e1201 (Sales staff 1).

AtEventByStage afterState
2026-11-16 10:00submite1201 (Sales staff 1)decidein progress
2026-11-16 10:01the agent answers (not sure, “The fare is above the usual one”)—decidein progress
2026-11-16 14:00approvee1101 (Manager of Section 1A)—approved

a_trip_called_off

Submitted by e1201 (Sales staff 1).

AtEventByCommentStage afterState
2026-11-16 10:00submite1201 (Sales staff 1)firstin progress
2026-11-16 15:00approvee1101 (Manager of Section 1A)decidein progress
2026-11-17 09:00withdrawe1201 (Sales staff 1)“The customer has put the visit off to spring”—with the requester
2026-11-17 09:05drope1201 (Sales staff 1)—withdrawn