Chapter 5.2.1 - Commit Request

Commit Request

The CommitRequest object contains the Document Code and optional fields used in reports:

Key Value
doc [string] Document Code
A unique string that is used to Commit or Uncommit transactions
cmmt [bool] Commit
Indicates if invoice should be committed as soon as it is processed
opt [KeyValuePair] Optional Fields
A list of Optional Fields to apply to this invoice

Example

{
"doc": "DocumentCode12345",
"cmmt": true,
"opt": [
{
// Key Value Pair
}
]
}