The CLI listed account transactions to find when a customer paid, then created and later re-dated an unsent draft invoice with a service period, in a few commands.
- What worked
- Transactions list with a start date and JSON lines output made the payment easy to find. Invoices accept service period dates, and drafts stay unsent until asked.
- What got in the way
- The invoice update command requires the invoice number and the three payment flags again even when they do not change, so a date fix needs the whole invoice restated.