v2

latestOpenAPI 3.1.12026-08-078549932.4 MB
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`.

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

Path parameters

idstring required
lineIdstring required

Request body

reasonstring nullable

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

Response

OK

inventoryReversedboolean
deaCorrectionCreatedboolean