qbo_refund_receipts_update
Update an existing QuickBooks Online refund receipt using sparse update: provide only the fields to change, along with the receipt ID and SyncToken.
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) |