Recued
Menu
← Back to recipes

Correct job money

by recued-core v1 45 views

Use “Correct job money” in Recued. Updates a job’s price, worker share, or collector. If the job was already settled, it also creates a pending adjustment.

Complete workflow

Fleet Money 27 pinned recipes

Use Fleet Money in Recued to run assigned jobs and worker payments from offer through settlement. Record arrivals, completion, and customer payments; hold earnings for complaints; correct mistakes with a clear history; and let approved fleet managers use the same guided actions.

You are viewing one recipe in this workflow. Installing it opens the complete pack so its other recipes and background automations arrive together.

Correct job money
This recipe

Use “Correct job money” in Recued. Updates a job’s price, worker share, or collector. If the job was already settled, it also creates a pending adjustment.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1
Capture job reply
Background automation

Use “Capture job reply” in Recued. Reads a worker’s emailed reply to a dispatched job and takes or passes it on their behalf.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Workers” in Recued. Shows workers in a searchable, paged list so you can open any result and continue working with it.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Jobs” in Recued. Shows jobs in a searchable, paged list so you can open any result and continue working with it.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Settlements” in Recued. Shows settlements in a searchable, paged list so you can open any result and continue working with it.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1
Show all 27 recipes

Use “Settlement items” in Recued. Shows settlement items in a searchable, paged list so you can open any result and continue working with it.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Adjustments” in Recued. Shows adjustments in a searchable, paged list so you can open any result and continue working with it.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Show worker” in Recued. Shows the latest details for one worker, along with the actions and related records available from its current state.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Show job” in Recued. Shows the latest details for one job, along with the actions and related records available from its current state.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Show settlement” in Recued. Shows the latest details for one settlement, along with the actions and related records available from its current state.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Show settlement item” in Recued. Shows the latest details for one settlement item, along with the actions and related records available from its current state.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Show adjustment” in Recued. Shows the latest details for one adjustment, along with the actions and related records available from its current state.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Create worker” in Recued. Adds a worker with contact details, the currency they are paid in, a default share, and a hold period.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Edit worker terms” in Recued. Updates a worker’s contact details and defaults for future jobs without changing jobs that already exist.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Create job” in Recued. Creates an offered job for a customer at an agreed price, with or without a worker chosen yet.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Schedule job” in Recued. Sets or changes when a job is due, where it is, and what the work involves.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Assign job” in Recued. Chooses the worker for a job, or moves it to a different worker before the work has started.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Accept job” in Recued. Accepts an offered job after confirming that nobody else has changed it.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Decline job” in Recued. Declines an offered job after confirming that nobody else has changed it.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Cancel job” in Recued. Cancels a job only before customer payment is recorded, and refuses jobs that need a refund or are already settled.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Record job arrival” in Recued. Marks an accepted job as on site and records when the worker arrived for duration tracking.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Complete job” in Recued. Marks a job complete, calculates its duration when arrival was recorded, and adds earnings once payment is known.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Record collection” in Recued. Records whether the runner or worker collected the customer’s payment, then adds earnings when the job is already complete.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Start job hold” in Recued. Starts the complaint hold after completion and payment are recorded, using the worker’s saved hold period.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Release worker money” in Recued. Combines up to 49 eligible jobs and adjustments into one settlement while preserving every included amount for a clear payment history.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1

Use “Dispatch job” in Recued. Emails the assigned worker what the job is, when and where, and asks them to reply to take it or pass.

pack:fleet-moneyfleetmoneyrecords
by recued-core pinned v1
View pack details, dependencies, and permissions →

Correcting the same job to the same terms twice is one correction, not two — the adjustment id is derived from the job, the terms and the reason, so a repeat is recognised and returns the original. Changing the terms again is a second correction and telescopes off the new balance. A correction racing a release is linearized by the job revision.

Fleet Money is runner-operated and ledger-settled: a settlement records an obligation, not proof that funds moved. Record views open in the pack app's result stack and are not bookmarkable deep links.

How it works 62 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (62 steps)
■ job_id trim
Trim whitespace from setting job id
■ reason trim
Trim whitespace from setting reason
■ job_id_guard template
Generate text from a template
fail: step.job_id is_empty
■ reason_guard template
Generate text from a template
fail: step.reason is_empty
■ price_minor_mod math
Calculate setting price minor modulo 1
■ price_minor_integer compare
Check if price minor mod equals 0
■ price_minor_min compare
Check if setting price minor is at least 0
■ price_minor_max compare
Check if setting price minor is at most 900000000000
■ price_minor_valid all
Check if all conditions are true
■ price_minor_guard template
Generate text from a template
fail: step.price_minor_valid equal false
■ payout_bps_mod math
Calculate setting payout bps modulo 1
■ payout_bps_integer compare
Check if payout bps mod equals 0
■ payout_bps_min compare
Check if setting payout bps is at least 0
■ payout_bps_max compare
Check if setting payout bps is at most 10000
■ payout_bps_valid all
Check if all conditions are true
■ payout_bps_guard template
Generate text from a template
fail: step.payout_bps_valid equal false
■ correction_seed template
Generate text from a template
■ correction_hash sha256
Apply sha256
■ correction_id template
Generate text from a template
◆ existing recued-core.fleet-money.adjustment.get
Get adjustment on fleet money
■ replay compare
Check if existing record id has data
■ replay_collector_unchanged compare
Check if setting collected by equals unchanged
■ replay_collector_matches compare
Check if existing record target collected by equals setting collected by
■ replay_collector_ok any
Check if any of the conditions are true
■ replay_identity_ok all
Check if all conditions are true
skip: step.replay equal false
■ replay_guard template
Generate text from a template
skip: step.replay equal false
fail: step.replay_identity_ok equal false
◆ job recued-core.fleet-money.job.get
Get job on fleet money
■ found_guard template
Generate text from a template
fail: step.job.record.id is_empty
■ state_blocked compare
Check if job record state is one of declined,cancelled
■ state_guard template
Generate text from a template
fail: step.state_blocked equal true
■ collector_input_ok compare
Check if setting collected by is one of unchanged,runner,worker
■ collector_input_guard template
Generate text from a template
fail: step.collector_input_ok equal false
■ collector_unchanged compare
Check if setting collected by equals unchanged
■ target_collected_by ternary
Apply ternary
■ new_payout_minor math
Calculate: round({{config.price_minor}} * {{config.payout_bps}} / 10000)
■ old_payout_minor default
Apply default
■ delta_minor math
Calculate new payout minor minus old payout minor
■ settled compare
Check if job record settlement ref exists
■ same_terms all
Check if all conditions are true
■ has_target_collector compare
Check if target collected by exists
■ collector_values ternary
Apply ternary
■ has_payout compare
Check if job record payout minor exists
■ payout_values ternary
Apply ternary
■ job_values merge
Combine objects together
■ delta_zero compare
Check if delta minor equals 0
■ needs_adjustment all
Check if all conditions are true
■ skip_direct any
Check if any of the conditions are true
■ skip_batch any
Check if any of the conditions are true
◆ direct_write recued-core.fleet-money.job.update
Update job on fleet money
skip: step.skip_direct equal true
◆ original_items recued-core.fleet-money.settlement_item.search
Search settlement item on fleet money
skip: step.skip_batch equal true
■ original_rows default
Apply default
■ original_count count
Count items in original rows
■ original_guard template
Generate text from a template
skip: step.skip_batch equal true
fail: step.original_count not_equal 1
■ now date_add
Add 0 seconds to
■ job_op default
Apply default
■ adjustment_op default
Apply default
◆ post recued-core.fleet-money.correction.post
Post correction on fleet money
skip: step.skip_batch equal true
■ result_job ternary
Apply ternary
■ final_job ternary
Apply ternary
■ final_delta ternary
Apply ternary
■ card to_summary
Format results as a summary card
■ actions default
Apply default
▼
Output
summary card
button actions
Settings 5 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

job id setting = [object Object]
reason setting = [object Object]
payout bps setting = [object Object]
price minor setting = [object Object]
collected by setting = unchanged

Uses (5 operations)

Pack operation Get adjustment on fleet money recued-core.fleet-money.adjustment.get
Pack operation Get job on fleet money recued-core.fleet-money.job.get
Pack operation Update job on fleet money recued-core.fleet-money.job.update
Pack operation Search settlement item on fleet money recued-core.fleet-money.settlement_item.search
Pack operation Post correction on fleet money recued-core.fleet-money.correction.post

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

What it's allowed to do

Write Pack Fleet Money external change
Read: adjustment.get · No approvalRead: job.get · No approvalWrite: job.update · No approvalRead: settlement_item.search · No approvalWrite: correction.post · Always asks

About

Tags

pack:fleet-moneyfleetmoneyrecordsmutation

Details

62 steps 5 configurable settings recipe_id: correct-job-money