Create bill payment
documentedRecord a payment against a bill.
POST /v3/company/{realmId}/billpaymentBill 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/{{$realm_id}}/billpayment?minorversion=70" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"VendorRef": {"value": "{{$vendor_id}}"},"APAccountRef": {"value": "{{$ap_account_id}}"},"TxnDate": "{{$txn_date}}", "TotalAmt": {{$total_amt}},"Line": [ {"Amount": {{$line_amount}},"LinkedTxn": [ {"TxnId": "{{$bill_id}}", "TxnType": "Bill"} ],"DetailType": "BillPaymentLineDetail","BillPaymentLineDetail": {"BillRef": {"value": "{{$bill_id}}"}} } ],"PrivateNote": "{{$note}}" }'"