Create a draft invoice

Creates a new sales invoice in draft for the caller's organization. Line items and payment methods are optional at create (a partial draft is valid); the at-least-one-line-item rule is enforced at send time.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Invoice payload

string
required
string
string
required
string
string
integer
string
required
string
string
string
string
string
string
required
line_items
array of objects

line_items / payment_methods are optional at create so a draft can be
saved with partial data (e.g. from step 1 of the create wizard, before
line items are added). The "must have at least one line item" rule is
enforced at send time instead (see usecase.Send).

line_items
string
string
boolean
payment_methods
array of strings
payment_methods
Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json