Add payment to vendor invoice
documentedAdd a payment to the specified vendor invoice.
POST /api/latest/clients/{clientname}/payables/{invoice_number}/paymentsVendor invoicesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://service.runmyaccounts.com/api/latest/clients/{{$clientname}}/payables/{{$invoice_number}}/payments?api_key={{RUNMYACCOUNTS_API_KEY}}" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"datepaid": "{{$datepaid}}", "amount_paid": {{$amount_paid}}, "payment_accno": "{{$payment_accno}}", "memo": "{{$memo}}", "source": "{{$source}}", "currency": "{{$currency}}", "exchangerate": {{$exchangerate}}}'