qbo_refund_receipts_update
Update specific fields of an existing refund receipt without affecting other data. Provide the refund ID and current SyncToken to modify selected fields like customer, lines, or account.
Instructions
Sparse-update an existing RefundReceipt record. Only provided fields are changed; Id and SyncToken are required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Line | Yes | Refund lines, same shape as Invoice.Line: {Amount, DetailType: "SalesItemLineDetail", SalesItemLineDetail: {ItemRef}}. | |
| TxnDate | No | Refund date (YYYY-MM-DD) | |
| DocNumber | No | Refund number | |
| SyncToken | Yes | Current SyncToken of the record (required by QBO for sparse updates; fetch the record first to obtain it) | |
| CustomerRef | Yes | Customer receiving the refund, e.g. {"value": "123"} | |
| PrivateNote | No | Private note | |
| CustomerMemo | No | Memo visible to customer | |
| refundReceiptId | Yes | The RefundReceipt ID to update | |
| PaymentMethodRef | No | Payment method used to issue refund, e.g. {"value": "1"} | |
| DepositToAccountRef | Yes | Account the refund is drawn from, e.g. {"value": "35"} (required) |