CreateNewBatch
The CreateNewBatch function creates a new batch and returns its identifier. There are no input parameters for this function. Output parameter type: int (batch identifier). Exceptions thrown: Exception. Java source:AddDocumentToBatch
The AddDocumentToBatch function adds a document to a batch. Input parameters:| Name | Java type | Description |
|---|---|---|
| batchId | int | Batch identifier |
| fileName | String | Name of the file |
| base64Content | String | File contents in Base64 format |
RunBatchProcessing
The RunBatchProcessing function initializes batch processing. Input parameters:| Name | Java type | Description |
|---|---|---|
| batchId | int | Batch identifier |
WaitFirstVerificationOrProcessedForMultiFileInvoice
The WaitFirstVerificationOrProcessedForMultiFileInvoice function returns a verification URL. If the document has not reached the verification stage, an empty string is returned. Input parameters:| Name | Java type | Description |
|---|---|---|
| batchId | int | Batch identifier |
FetchingCapturedData
The FetchingCapturedData function returns a list of output fields in JSON format. Input parameters:| Name | Java type | Description |
|---|---|---|
| batchId | int | Batch identifier |
| templateName | String | Document Definition name |
MultiDocumentBatchIsProcessed
The MultiDocumentBatchIsProcessed function returns a value that specifies whether the batch has been processed or not. Input parameters:| Name | Java type | Description |
|---|---|---|
| batchId | int | Batch identifier |
