> ## 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.

# TaxDocumentIntent

> The schema definition for the TaxDocumentIntent resource.

## Primary key

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

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the tax document intent.

## Specific attributes

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

decided\_at

timestamp

public

Timestamp when the tax document intent was decided.

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

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

decision\_note

text

public

The decision note of the tax document intent.

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

error\_code

varchar

public

The error code of the tax document intent.

**Rules**: Max length: 100 characters

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

expires\_at

timestamp

public

Timestamp when the tax document intent was expires.

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

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

kind

varchar

public

required

The kind of the tax document intent.

**Rules**: Possible values: credit\_note. Max length: 50 characters

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

provider\_draft\_code

varchar

public

The provider draft code of the tax document intent.

**Rules**: Max length: 250 characters

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

request\_hash

varchar

public

required

The request hash of the tax document intent.

**Rules**: Max length: 64 characters

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

status

varchar

default:"requested"

public

required

The status of the tax document intent.

**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\_issuer

uuid

public

required

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

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

tax\_service\_provider

uuid

public

required

Reference to the Tax Service Provider this tax document intent belongs to. [Ref: Tax Service Provider Schema](https://docs.bbrands.io/schemas/tax/tax-service-provider.md)

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

tributary\_document

uuid

public

required

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

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

tributary\_document\_referenced

uuid

public

Optional reference to the Tributary Document associated with the tax document intent. [Ref: Tributary Document Schema](https://docs.bbrands.io/schemas/payment/tributary-document.md)

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

user\_decided

uuid

public

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

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

user\_requested

uuid

public

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

## 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.