Skip to main content

Get Vendor Deposit

GET 

/api/vendor-deposits/:vendorDepositId

Retrieve a single vendor deposit with its relations (supplier, purchase order, payments, applications, refunds).

Required scope: accounting:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

The deposit's proportional-application setting is returned three ways: proportional_apply_enabled (the deposit's own choice, or null when it inherits), proportional_apply_effective (the value actually in force) and proportional_apply_source (deposit, supplier, term or global — which step of the deposit → supplier → payment term → account chain decided it).

Approval policy: The response adds approval — the approval-policy summary for this deposit: policy_enabled (false when no policy governs vendor deposits; the other fields are then null/empty), request_id, status, reason, tier_name of the latest approval request, waiting_on (names of users who can act now), can_approve_directly (whether you can approve it now; on a document with no request yet, whether its amount falls within your limit) and blocked_reason. Full timeline: GET /api/approval-requests/for/vendor_deposit/{id}.

Request​

Responses​

OK

Response Headers
    Content-Type