Estimates

Void a performed-and-dispensed estimate line: reverse the dispense (restore the lot, write a Returned transaction, file a DEA correction for controlled substances, cancel any tied Rx), then remove the line. Falls through to a plain delete when there is no dispense to undo. Anchors entirely on the line's `InventoryTransactionId`.

Changed on
post/Estimates/{id}/items/{lineId}/void

Request

Path parameters

idstring required
lineIdstring required

Request body

reasonstring nullable

Required when voiding a controlled-substance dispense (DEA correction).

Response

OK

inventoryReversedboolean
deaCorrectionCreatedboolean

Changes

    • info

      added the optional property to the response with the status (media type: text/plain)

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: text/json)