qbo_bill_payments_update
Modifies specific fields of an existing BillPayment record; only provided values are updated. Requires BillPayment ID, SyncToken, and required payment details like VendorRef, TotalAmt, PayType, and Line.
Instructions
Sparse-update an existing BillPayment record. Only provided fields are changed; Id and SyncToken are required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Line | Yes | Array of LinkedTxn entries: [{Amount, LinkedTxn: [{TxnId: "billId", TxnType: "Bill"}]}]. | |
| PayType | Yes | Payment method: "Check" or "CreditCard" (required) | |
| TxnDate | No | Payment date (YYYY-MM-DD); defaults to today if omitted | |
| TotalAmt | Yes | Total payment amount across all linked bills (required) | |
| DocNumber | No | Reference number (e.g. check number) | |
| SyncToken | Yes | Current SyncToken of the record (required by QBO for sparse updates; fetch the record first to obtain it) | |
| VendorRef | Yes | Vendor reference, e.g. {"value": "56"} (required) | |
| PrivateNote | No | Private note | |
| CheckPayment | No | Required when PayType is "Check". Shape: {BankAccountRef: {value}, PrintStatus: "NeedToPrint"|"PrintComplete"} | |
| billPaymentId | Yes | The BillPayment ID to update | |
| CreditCardPayment | No | Required when PayType is "CreditCard". Shape: {CCAccountRef: {value}} |