CLI reference
rachuba retract
rachuba retract --pay-date YYYY-MM-DD --record deposit|remittance [--json]
The inverse of rachuba deposited
(--record deposit) and rachuba remitted
(--record remittance): clears that date from the ledger entry of
the run paid on --pay-date. rachuba owed
then reports the money as due again, with its due date.
Retracted the <deposit|remittance> recorded on <date> for the run on <date>; `owed` reports it as due again.
With --json: retracted ("deposit" or
"remittance"), pay_date, was_on and
ledger.
Refusals
Exit 1, nothing written:
no recorded run with pay date <date>
the run on <date> records no <deposit|remittance> to retract
A missing --pay-date, or a --record other than
deposit or remittance, exits 2. And the ledger refusals on
configuration.