Accounting Apex API Developer Reference

c2g.ReverseDocuments

global with sharing class ReverseDocuments

@category Accounting @since Summer 2026 @supportsAgents @keywords reverse, reversal, undo, journal, transaction Reverses accounting documents by ID, creating the corresponding reverse document. Supported document type is journal (c2g__codaJournal__c).

Methods

reverseDocuments

global static List<c2g.ReverseDocuments.Response> reverseDocuments(List<c2g.ReverseDocuments.Request> requests)

c2g.ReverseDocuments.Request

global with sharing class Request

Properties

Name Type Description
documentId ID

c2g.ReverseDocuments.Response

global with sharing class Response

Properties

Name Type Description
reversingDocumentId ID
errorMessage String
hasErrors Boolean
© Copyright 2009–2026 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.