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

# TaxDocumentEvent

> The schema definition for the TaxDocumentEvent resource.

## Primary key

[Navigate to header](#param-commercial-activity)

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the tax document event.

## Specific attributes

[Navigate to header](#param-commercial-activity)

correlation\_id

varchar

public

The correlation ID of the tax document event.

**Rules**: Max length: 100 characters

[Navigate to header](#param-commercial-activity)

event\_type

varchar

public

required

The event type of the tax document event.

**Rules**: Possible values: authority\_status\_changed, charge\_deleted, charge\_discovered, charge\_drift\_detected, charge\_mark\_paid\_attempted, charge\_marked\_paid, charge\_paid\_at\_provider, charge\_updated, created, email\_sent, email\_skipped, status\_changed. Max length: 50 characters

[Navigate to header](#param-commercial-activity)

payload

jsonb

public

The payload of the tax document event.

[Navigate to header](#param-commercial-activity)

status\_from

varchar

public

The status from of the tax document event.

**Rules**: Possible values: approved, drafted, expired, failed, issued, issuing, rejected, requested, unknown. Max length: 50 characters

[Navigate to header](#param-commercial-activity)

status\_to

varchar

public

The status to of the tax document event.

**Rules**: Possible values: approved, drafted, expired, failed, issued, issuing, rejected, requested, unknown. Max length: 50 characters

## Foreign keys

[Navigate to header](#param-commercial-activity)

tax\_document\_charge

uuid

public

Optional reference to the Tax Document Charge associated with the tax document event. [Ref: Tax Document Charge Schema](https://docs.bbrands.io/schemas/tax/tax-document-charge.md)

[Navigate to header](#param-commercial-activity)

tax\_document\_intent

uuid

public

Reference to the Tax Document Intent this tax document event belongs to. [Ref: Tax Document Intent Schema](https://docs.bbrands.io/schemas/tax/tax-document-intent.md)

[Navigate to header](#param-commercial-activity)

user

uuid

public

Optional reference to the Users associated with the tax document event.

## Tracking attributes

[Navigate to header](#param-commercial-activity)

created\_at

timestamp

public

required

Timestamp when the record was created.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

deleted\_at

timestamp

public

Timestamp when the record was soft-deleted, when applicable.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

is\_actived

boolean

default:"true"

public

required

Indicates whether the record is currently active.

[Navigate to header](#param-commercial-activity)

is\_deleted

boolean

default:"false"

public

required

Indicates whether the record has been soft-deleted.

[Navigate to header](#param-commercial-activity)

updated\_at

timestamp

public

Timestamp when the record was last updated.

**Rules**: Precision: 6, with timezone


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.