Skip to main content
POST
Set Invoice Customer Credit

Authorizations

Authorization
string
header
required

Quanta Services API scoped bearer token. Supported only on Services API routes.

Body

application/json
invoice_qid
string
required
target_amount
required
confirm_negative_balance
boolean
default:false
reason
string | null

Response

Successful Response

changed
boolean
required
applied_total
string
required
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
customer_balance
string
required
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$