Skip to content

draft_invoice

Starts a draft invoice, with the owner’s defaults under what you send. Typed inside bash, where help draft_invoice prints the same.

Usage: draft_invoice [options]
Starts a draft invoice, with the owner's defaults under what you send.
A draft is not sent or numbered: the owner reads it and issues it on the
Payments screen. Read the `payments` guide first.
Options:
--client JSON
Who it is billed to. A client in the EU with a VAT number is billed with reverse charge unless tax says otherwise.
--lines JSON ... (give the flag again for each)
The lines, whole and in order: a line left out is dropped.
--currency USD|EUR|GBP
The owner's default when left out.
--terms N
Days the client has to pay. The owner's default when left out.
--tax none|vat|reverse
How tax is added: none, VAT at vat_rate, or reverse charge.
--vat_rate N
--note TEXT
Printed at the foot of the invoice.
--issued_on TEXT
The day it is dated, as YYYY-MM-DD, where the owner names one. Left out or empty, it is dated the day the owner issues it.
--json OBJECT
Every argument at once, as one JSON object; --json - reads it from stdin.