Skip to content

update_invoice_details

Saves the owner’s invoice details: who invoices are from, how clients pay, what a new invoice starts with, the numbering and the default template. Typed inside bash, where help update_invoice_details prints the same.

Usage: update_invoice_details [options]
Saves the owner's invoice details: who invoices are from, how clients
pay, what a new invoice starts with, the numbering and the default
template. The fields you send are saved and the rest kept, and
invoices are set up first on a site that has not. Read the `payments`
guide first.
Options:
--name TEXT
Who invoices are from: the business's legal name.
--email TEXT
Where clients write about an invoice.
--address TEXT
The business's address, lines apart.
--reg TEXT
The business's registration or tax number.
--vat TEXT
The business's VAT number.
--account TEXT
Whose account the money goes to, as the bank has it.
--bank TEXT
--iban TEXT
--bic TEXT
The bank's BIC or SWIFT code.
--pay_link TEXT
A link where clients can pay online.
--currency USD|EUR|GBP
A new invoice's currency.
--terms N
The days a new invoice gives the client to pay.
--tax none|vat|reverse
How tax is added to a new invoice.
--vat_rate N
--prefix TEXT
How every number is written, {year} standing for the year it is issued. The count follows in three digits at least (INV-{year}- gives INV-2026-015), or stands where {number} is, as it is (INV-{number} gives INV-7).
--next_number N
The number the next invoice is given.
--note TEXT
The note a new invoice starts with.
--template TEXT
The invoice template new invoices are drawn with, by its slug.
--json OBJECT
Every argument at once, as one JSON object; --json - reads it from stdin.