Mark Invoice as Draft/Sent/Paid
Invoices
Mark Invoice as Draft/Sent/Paid
Transition an invoice to a new lifecycle state.
The {status} path parameter accepts draft, sent, or paid. The updated invoice is returned in the response.
POST
Mark Invoice as Draft/Sent/Paid
Authorizations
Path Parameters
Invoice ID
Example:
11903
Invoice Status
Available options:
draft, sent, paid Example:
"sent"
Response
OK
Invoice ID
Example:
2660155
Example:
"2018-01-16 12:42:59"
Available options:
draft, sent, paid Example:
"draft"
Example:
"%PROJECT% :: %CATEGORY%"
Example:
true
Example:
true
Example:
"2019-03-22"
List amount in cents (without discount and taxes)
Example:
18325
Net amount in cents (without taxes but with discount applied)
Example:
13744
Example:
["gh:63301595"]Example:
"1020"
Example:
"%PROJECT%"
Total invoice amount in cents (with discount and taxes applied)
Example:
15256
Total invoice time in seconds
Example:
43980
Example:
true
