# Update a specific adhoc bill run Close, reopen, and move an adhoc bill run to the next step. To fully close the adhoc bill run please initially patch the summaryStatus to REPORTING. To generate invoices of a CLOSED adhoc bill run, PATCH the summaryStatus to FULL_INVOICES. To distribute and finalise the adhoc bill run having generated invoices, PATCH the summaryStatus to DISTRIBUTION. You can monitor the progress of the bill run summary state by doing a GET and looking at the summaryStatusPercentage. Please refer to the examples Endpoint: PATCH /adhoc-bill-runs/{adhoc_bill_run_id} Version: 1.9 Security: bearerAuth ## Path parameters: - `adhoc_bill_run_id` (integer, required) Adhoc bill run identifier Example: 1 ## Request fields (application/json-patch+json): - `op` (string, required) The JSON Patch operation to be performed Enum: "add", "remove", "replace", "move", "copy", "test" - `path` (string, required) A JSON-Pointer - `value` (object) The value to be used within the operations - `from` (string) A string containing a JSON Pointer value ## Response 200 fields (application/json): - `id` (integer) Adhoc bill run identifier Example: 1 - `name` (string, required) Adhoc bill run name - `nickname` (string) Adhoc bill run nickname - `created` (string) Creation date - `invoiceDate` (string, required) Date to be shown on the invoices - `billRunStatus` (string) Bill run status Enum: "OPEN", "CLOSED", "FINALIZED" - `summaryStatus` (string) Bill run summary status Enum: "PROPERTIES", "STARTING", "REPORTING", "DRAFT_INVOICES", "FULL_INVOICES", "DISTRIBUTION", "COMBINING_INVOICES", "PAYMENT", "REACTIVATING_RPIS", "ARCHIVING", "FINISHED" - `summaryStatusPercentage` (integer) Summary status completion percentage Example: 100 - `billingUserAdminId` (integer) Bill user who closed the adhoc bill run Example: 1 - `revenueInMajorCurrency` (integer, required) Revenue in this bill run now Example: 1 - `adhocProductInventoryIds` (array) Adhoc product inventory identifiers associated to the adhoc bill run Example: [1] - `rentalProductInventoryIds` (array) Rental product inventory identifiers associated to the adhoc bill run Example: [1] ## Response 400 fields ## Response 401 fields ## Response 403 fields ## Response 404 fields