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

# TaxDocumentReference

> The schema definition for the TaxDocumentReference resource.

## Primary key

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

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the tax document reference.

## Specific attributes

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

reason

varchar

public

required

The reason of the tax document reference.

**Rules**: Possible values: annul, correct\_amount, correct\_text. Max length: 50 characters

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

reason\_text

varchar

public

The reason text of the tax document reference.

**Rules**: Max length: 90 characters

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

referenced\_document\_type\_code

varchar

public

required

The referenced document type code of the tax document reference.

**Rules**: Max length: 25 characters

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

referenced\_folio

varchar

public

required

The referenced folio of the tax document reference.

**Rules**: Max length: 250 characters

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

referenced\_issued\_date

date

public

required

Date associated with the referenced issued of the tax document reference.

## Foreign keys

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

tributary\_document

uuid

public

required

Reference to the Tributary Document this tax document reference 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 reference. [Ref: Tributary Document Schema](https://docs.bbrands.io/schemas/payment/tributary-document.md)

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