Deletes A Receipt Line Item.
deletes_a_receipt_line_itemPermanently delete a receipt line item after resolving its receipt and line item IDs. Requires an unlocked draft receipt; the action cannot be undone.
Instructions
This endpoint performs a deletion of a Receipt Line Item. The deletion follows these rules: 1. If locked is false: Only then Deletion can be performed as in that case it is a draft Receipt 2. The hard deletion is performed for the specified receipt line. 3. The hard deletion is performed for the connected shipment and shipment lines only if shipment is system generated. 4. The Shipment will be deleted only if there are no shipment lines connected to it. Otherwise only the related shipment line will be deleted. 5. The refdoc_related_id is marked as null in the receipt if the line being deleted is the only line in the receipt. Confirm the target id with the matching show or list tool before calling. company_id and project_id default to the values set by procore_set_config when omitted, and receipt_id, id must identify existing parent records — resolve them with the matching list tool first. Permanently removes the receipt line item. This cannot be undone, and a repeat call returns 404. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: receipt_id, id, company_id, project_id. Procore API (v2.0): Resource Management > Materials Management. Endpoint: DELETE /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/receipts/{receipt_id}/line_items/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — receipt line item id | |
| company_id | Yes | URL path parameter — the company identifier | |
| project_id | Yes | URL path parameter — the project identifier | |
| receipt_id | Yes | URL path parameter — unique identifier of the receipt |