Update bill

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

Overview

Update a draft bill. Only bills in Draft status can be updated. When line items are provided, they replace all existing line items entirely.

Example: Correct a line item amount on a draft bill before finalizing it.

Constraints

  • Only draft bills can be updated — finalized and paid bills return 400
  • period_start and period_end are required
  • When line_items are provided, all existing line items are replaced
  • Subtotal and total are recalculated from line items
Path Params
int32
required
Query Params
int32
required
Body Params
integer
string
length between 3 and 3
line_items
array of objects
length ≥ 1
line_items
string
required
length ≤ 255
number
required
≥ 0.01
number
required
≥ 0
date
required
date
required
string
length ≤ 1000
string
length ≤ 20
metadata
object
Headers
string
required
Defaults to Bearer eyJ***
Responses

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