VoidSalesReceipt
Voids an existing sales receipt in QuickBooks Online, keeping the record while negating its accounting impact.
Input
| Name | Type | Description |
| SalesReceiptId | String | The unique identifier (Id) of the sales receipt that you want to void. This Id tells QuickBooks Online which sales receipt record should be marked as void, effectively canceling its financial impact without deleting it. |
| SyncToken | String | The version control token for the specified sales receipt that is used to prevent conflicting updates. QuickBooks Online increments this sync token each time the sales receipt is modified, and only the latest synctoken is accepted when voiding the sales receipt. |
Result Set Columns
| Name | Type | Description |
| Status | String | The execution status that is returned by the stored procedure after attempting to void the sales receipt. This field indicates whether the void operation succeeded, failed, or returned a warning. |