qbo_credit_memos_update
Update an existing credit memo in QuickBooks Online by specifying only the fields to change, using the current SyncToken for validation.
Instructions
Sparse-update an existing CreditMemo record. Only provided fields are changed; Id and SyncToken are required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Line | Yes | Credit lines, same shape as Invoice.Line: {Amount, DetailType: "SalesItemLineDetail", SalesItemLineDetail: {ItemRef}}. | |
| TxnDate | No | Credit date (YYYY-MM-DD) | |
| BillEmail | No | Customer email, e.g. {"Address": "customer@example.com"} | |
| DocNumber | No | Credit memo 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 credit, e.g. {"value": "123"} | |
| PrivateNote | No | Private note | |
| CustomerMemo | No | Memo visible to customer, e.g. {"value": "Refund for damaged goods"} | |
| creditMemoId | Yes | The CreditMemo ID to update |