Void a dividend and reverse its journal entries
POST
https://app.speybooks.com/api/v1/dividends/{id}/voidVoids a dividend and reverses all associated journal entries (both the declaration and payment journals if paid). The dividend status changes to voided. This action is irreversible.
Path parameters
id string requiredDividend ID (e.g. div_1). Must use the dividend prefix.
Body parameters
reason string optionalReason for voiding (max 500 characters). Recorded in the reversal journal metadata.
Response
200 Dividend voided. Reversing journal entries created.
Show response fields
voided booleanError codes
400 Dividend is already voided.
404 Dividend not found.