Update bill

PUT/api/v1/bills/{bill_id}

Update an existing bill. Optionally include 'recurring' config to create a recurring template.

Operation ID: update_bill_api_v1_bills__bill_id__put·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

bill_idstringrequired

Request body

statusinteger
descriptionstring
bill_numberstring
vendor_idstring
typestring
expected_amountinteger
expected_paid_on_datestring · date-time | string · date | string
amountinteger
due_onstring · date-time | string · date | string
received_onstring · date-time | string · date | string
s3_keystring
source_inventory_order_idstring
payment_methodstring

Payment method override: 'Wire Transfer', 'ACH', 'Check', 'Credit Card', or empty string to clear. Takes precedence over the method inferred from a linked payment transaction.

recurringRecurringConfig

If provided, creates a recurring template from this bill.

Responses

200Successful Response

successboolean
messagestring
codestring
dataBillResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject