Update Bill
Updates a bill. Sending payment_term_id rebuilds payment_schedule from that term. Sending a due_date different from the current one replaces the term with that fixed date and clears payment_schedule.
Requires the can_modify_bill permission on the key owner’s role.
Keys: secret key only.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
identitystring
The identity for the active workspace.
Path parameters
id
Request
This endpoint expects an object.
items
due_date
payment_term_id
Payment term to apply. Takes precedence over due_date. The document’s due dates and any early-payment discount are worked out from the term and returned in payment_schedule.
bill_date
adjustments
Replaces the adjustments on the bill. Send an empty array to remove them all, or leave the field out to keep the current adjustments.
account_number
exchange_rate
Response
OK
data
status
message
Errors
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error

