> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Transaction

> The Transaction interface provides access to the current transaction and all its documents.

`Transaction` exposes the current transaction and its documents to a Custom activity script.

## Properties

### Id

**Type:** `string` — **Access:** Read-only

The transaction identifier.

### Documents

**Type:** [Document](/vantage/documentation/skill-designer/process/custom-activity/document)`[]` — **Access:** Read-only

The transaction's documents.

<Note>
  If a Custom activity is placed inside a [For Each Document](/vantage/documentation/skill-designer/process/for-each) activity, `Documents` contains only the single document being processed.
</Note>

### RegistrationParameters

**Type:** `Record<string, Parameter>` — **Access:** Read-only

Dictionary of registration parameters — keys are parameter names, values are [`Parameter`](/vantage/documentation/skill-designer/process/custom-activity/parameter) objects.

## Related topics

<CardGroup cols={3}>
  <Card title="Context" icon="braces" href="/vantage/documentation/skill-designer/process/custom-activity/context">
    Global object for transaction data, HTTP requests, and secrets.
  </Card>

  <Card title="Object model" icon="diagram-project" href="/vantage/documentation/skill-designer/process/custom-activity/object-model">
    Full JavaScript object reference for Custom activity scripts.
  </Card>

  <Card title="Document" icon="file-lines" href="/vantage/documentation/skill-designer/process/custom-activity/document">
    The document currently being processed by the Custom activity.
  </Card>

  <Card title="Parameter" icon="sliders" href="/vantage/documentation/skill-designer/process/custom-activity/parameter">
    A single named transaction parameter with name, read-only flag, and value.
  </Card>

  <Card title="For Each Document" icon="layer-group" href="/vantage/documentation/skill-designer/process/for-each">
    Run inner activities against one transaction document at a time.
  </Card>
</CardGroup>
