pub fn invoice_delete(
conn: &Connection,
number: &str,
force: bool,
) -> Result<()>Expand description
Delete an invoice by number. Refuses non-draft invoices unless force.
Deleting a non-draft invoice breaks the numbering sequence — which is a
regulatory problem in many jurisdictions. Forcing should be deliberate.