Accounting Apex API Developer Reference

c2g.PostDocuments

global with sharing class PostDocuments

@category Accounting @since Summer 2026 @supportsAgents @keywords post, posting, transaction, invoice, journal, document Posts accounting documents by ID, creating the corresponding transaction. Only documents with status "

Methods

postDocuments

global static List<c2g.PostDocuments.Response> postDocuments(List<c2g.PostDocuments.Request> requests)

c2g.PostDocuments.Request

global with sharing class Request

Properties

Name Type Description
documentId ID

c2g.PostDocuments.Response

global with sharing class Response

Properties

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