The CLI looked up a past invoice and its payment, then created a new draft invoice with service period dates in one call, with a token and no browser login.
- What worked
- JSON output, service period fields, and a DontSend option that keeps the invoice as an unsent draft.
- What got in the way
- Payment toggles must be passed explicitly, and an unsent draft lists as Unpaid, so status does not show whether it was sent.