Accounting Invocable Action Reference

CancelDocuments

Cancel accounting documents by ID, creating the corresponding cancelled document. Only documents with status "Complete" can be cancelled. Supported document types are cash entry (c2g__codaCashEntry__c) and journal (c2g__codaJournal__c). Returns, per document, the cancelled document ID on success or the error message if it could not be cancelled.

PropertyValue
LabelCancel Documents
CategoryAccounting
SinceSummer 2026
Read-onlyNo
Supports AgentsYes
Supports FlowsNo
Async ActionNo
Keywordscancel, cancellation, void, journal, cash, document

Request Parameters

FieldTypeLabelDescriptionRequired
documentIdIDDocument to CancelID of the accounting document to cancel. Supported document types are cash entry (c2g__codaCashEntry__c) and journal (c2g__codaJournal__c).Yes

Response Parameters

FieldTypeLabelDescriptionRequired
cancelingDocumentIdIDCancelling Document IDID of the cancelling document created when the document was cancelled successfully. Empty if the document was not cancelled.No
errorMessageStringError MessagePopulated if the document could not be cancelled; contains the error detail. Empty on success.No
hasErrorsBooleanHas Errors'True' if the document could not be cancelled; 'False' if it was cancelled successfully.No
© Copyright 2009–2026 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.