Transaction Reports Billable APIs transaction-reports-billable-apis

Version
Article link
AEM 6.5
Click here
AEM as a Cloud Service
This article

AEM Forms provides several APIs to submit forms, process documents, and render documents. Some APIs are accounted as transactions and others are free to use. This document provides a list of all the APIs that are accounted as transactions in a transaction report. Here are a few common scenarios where a billable API is used:

  • Submitting an adaptive form
  • Converting a document from one format to another
  • Flattening a dynamic PDF document
  • Generating a Document of Record (using Forms Service or Output Service)
  • Merging an interactive PDF document with another PDF document
  • Using the assign task step and Communication API steps of AEM Workflows

Billing APIs does not account for the number of pages, the length of a document or form, or final format of the rendered document. A transaction report divides the transactions into two categories: Forms Submitted and Documents Rendered.

  • Forms Submitted: When data is submitted from any type of form created with AEM Forms and the data is submitted to any data storage repository or database is considered form submission. For example, submitting an adaptive form or a form set is considered as forms submitted. If a form set has 5 forms, and when the form set is submitted, transaction reporting service counts it as 5 submissions.

  • Documents Rendered: Generating a document by combining a template and data, digitally signing or certifying a document, using a billable document services APIs for document services, or converting a document from one format to another are accounted as documents rendered.

Billable Document Services APIs billable-document-services-apis

Generate PDF Service generate-pdf-service

API
Description
Transaction report category
Additional Information
createPDF
Generates a PDF Document from a template and merge data to it.
Documents Processed
exportPDF
Converts XDP file or PDF document to supported file types.
Documents Processed

Output Service output-service

API
Description
Transaction report category
Additional Information
generatePDFOutput
Merges data and templates to create a PDF document.
Documents Processed
generatePDFOutput (PDFOutputOptions)
Merges data and templates to create a PDF document.
Documents Processed
generatePDFOutputBatch
Merges data and templates to create a set of PDF documents.
Documents Processed
generatePrintedOutput
Converts XDP and PDF documents to PostScript (PS), Printer Command Language (PCL), and ZPL file formats.
Documents Processed
generatePrintedOutput (PrintedOutputOptions)
Converts XDP and PDF documents to PostScript (PS), Printer Command Language (PCL), and ZPL file formats.
Documents Processed
generatePrintedOutputBatch
Converts a set of XDP and PDF documents to a set of PostScript (PS), Printer Command Language (PCL), and ZPL file formats.
Documents Processed

DocAssurance Service DocAssurance-Service

API
Description
Transaction report category
Additional Information
secureDocument
This API enables you to secure your document. You can use the API to sign, certify, reader extend, or encrypt a PDF document.
Documents Processed
Only sign and certify operation of the secureDocument are billed.

Document of Record (DOR) Service document-of-record-dor-forms-service-and-output-service

API
Description
Transaction report category
Additional Information
render
Invokes the specified render method to generate a document of record using provided parameters.
Documents Processed using Forms Service

Assembler Service assembler-service

API
Description
Transaction report category
Additional Information
invoke
Executes the DDX on the given input documents and returns an object containing the result documents
Documents Processed

The following operations are not accounted as transactions:

  • Creating packages or portfolio
  • Stitching multiple XDPs
invoke
Executes the DDX on the given input documents and returns an object containing the result documents
Documents Processed
All the input file formats that PDF Generator, Forms, and Output services support, Assembler service supports all those formats as output file formats.
toPDFA
Convert a specified document to PDF/A using the options specified.
Documents Processed

The invoke API’s usage is counted as a transaction, when you perform one or more of the following operations:

  1. Conversion from non-PDF formats to PDF formats.
  2. Conversion from PDF format to PDF/A format.
  3. Conversion from PDF format to non-PDF formats. Examples encompass the transformation from PDF to Image format or the conversion from PDF to Text format.
NOTE
  • The invoke API of the assembler service can internally call a billable API of another service depending on the input. So, the invoke API can be accounted as none, single, or multiple transactions. The number of transactions counted depends upon the input and the internal APIs invoked.
  • A single PDF document produced using assembler service can be accounted as none, single, or multiple transactions. The number of transactions counted depends upon the supplied code.

Billable Data Capture APIs billable-data-capture-apis

All the submission events of adaptive forms are accounted as transactions. By default, submission of a PDF Form is not accounted as a transaction. Use the provided transaction recorder API to record a PDF Forms submission as a transaction.

Adaptive Forms adaptive-forms

Use Case
Description
Transaction report category
Additional Information
Submitting an adaptive form
Submits an adaptive form to configured submit action.
Forms Submitted
  • Successful submissions account for single or two transactions. The number of transactions counted depends upon the type of submit action used for submission. For example, sending PDF through email submit action accounts for two counts of transactions. One transaction for form submission and another for PDF generated using the Document of Record (DOR) service.
  • Using the adaptive form within an adaptive form (Adaptive form formset) accounts only single transaction. You can have any number of adaptive forms within an adaptive form.

Billable Form-centric AEM Workflows billable--form-centric-aem-workflows

Assign task and document services steps of Form-centric AEM Workflows are accounted as transactions. If a workflow step accounts a transaction and the workflow fails to complete, the transaction count is not reversed.

Form-centric AEM Workflows form-centric-aem-workflows

Use case
Transaction report category
Additional Information
Submitting an Assign Task step
Forms Submitted
Submitting a workflow application startpoint
Forms Submitted

Recording billable APIs as transactions for custom code recording-billable-apis-as-transactions-for-custom-code

Actions like submitting a PDF Form, using Agent UI to preview an interactive communication, using non-standard form submission, and custom implementations are not accounted as transactions. AEM Forms provides an API to record such actions as transactions. You can call the API from your custom implementations to record a transaction.

recommendation-more-help
fbcff2a9-b6fe-4574-b04a-21e75df764ab