Match an upcoming bill to a bill that arrived

POST/api/v1/bills/upcoming/{upcoming_bill_id}/link

Links the forecast row to an existing bill so the obligation stops being counted twice — once as a projection and once as a payable.

Operation ID: link_upcoming_bill_api_v1_bills_upcoming__upcoming_bill_id__link_post·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

upcoming_bill_idstringrequired

Request body

bill_idstringrequired

The real bill that satisfies this row.

Responses

201Successful Response

successboolean
messagestring
codestring
dataUpcomingBillResponse

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