v1
Accounts Payable
Accounts Payable
Record Payment
Changed onRecord a payment: upload proof file as PAYMENT_RECEIPT doc (if provided), create the vendor_payments rows, and queue the push to Zoho Books / QuickBooks.
allocation_mode:
- po: pay one or more POs, po_allocations_json = [{vendor_po_id, amount}], full or partial; any excess over the POs is kept as vendor credit.
- vendor: pay the vendor; the amount is applied to its received POs oldest due first and the rest is kept as vendor credit.
- absent: as before. A single vendor_po_id / po_number takes the PO path; allocations_json (split by project / line) and a bare vendor payment keep their old behaviour.
post/api/v1/accounts-payable/payments
Request
- Base URLhttps://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Request body multipart/form-data
Body Record Payment Api V1 Accounts Payable Payments Post required
vendor_id, integer required
amount, number required
payment_date, string required
payment_method, string nullable
reference_number, string nullable
project_id, integer nullable
allocations_json, string nullable
notes, string nullable
vendor_po_id, integer nullable
po_number, string nullable
allocation_mode, string nullable
po_allocations_json, string nullable
vendor_po_ids_json, string nullable
forced_po_ids_json, string nullable
use_credit, boolean
file, string binary nullable
Response
Successful Response
object required
Changes
- info
added the new optional request property
allocation_mode - info
added the new optional request property
forced_po_ids_json - info
added the new optional request property
po_allocations_json
2 more changes in this revision
- info