Update bill payment
documentedUpdate a bill payment.
POST /v3/company/{realmId}/billpayment?operation=updateBill Paymentsno 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://quickbooks.api.intuit.com/v3/company/{{$realmId}}/billpayment" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"BillPayment": {"Id": "{{$billpayment_id}}", "SyncToken": "{{$sync_token}}", "PrivateNote": "{{$private_note}}", "TxnDate": "{{$txn_date}}", "TotalAmt": {{$total_amt}}, "APAccountRef": {"value": "{{$ap_account_ref}}"}, "VendorRef": {"value": "{{$vendor_ref}}"}, "PaymentMethodRef": {"value": "{{$payment_method_ref}}"}, "Line": [ {"Amount": {{$line_amount}}, "LinkedTxn": [ {"TxnId": "{{$linked_txn_id}}", "TxnType": "Bill"} ] } ] } }'"