Vendor Deposits
List Vendor Deposits
Paginated list of vendor deposits. Supports Spatie QueryBuilder filters and sorting.
Create Vendor Deposit
Create a new vendor deposit. Validated by CreateVendorDepositRequest. Returns 201 with the created deposit.
Show Vendor Deposit
Retrieve a single vendor deposit with its relations (supplier, purchase order, payments, applications, refunds).
Update Vendor Deposit
Update a vendor deposit. All fields are optional (`sometimes`).
Delete Vendor Deposit
Delete a vendor deposit. Returns 204 No Content.
Submit For Approval
Submit a draft deposit for approval.
Approve Deposit
Approve a pending deposit.
Approve Only
Approve a deposit without recording a payment. Status becomes APPROVED; amount_paid is unchanged. Use this when payment will be recorded later via /payments.
Reject Deposit
Reject a pending deposit with an optional reason.
Cancel Deposit
Cancel a vendor deposit.
Write Off Deposit
Write off the remaining balance of a deposit with an optional reason.
Duplicate Deposit
Duplicate an existing deposit. Returns 201 with the new deposit.