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

# TaxDocumentLine

> The schema definition for the TaxDocumentLine resource.

## Primary key

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

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the tax document line.

## Specific attributes

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

description

text

public

The description of the tax document line.

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

discount\_amount

numeric

public

The discount amount of the tax document line.

**Rules**: Precision: 18, Scale: 2

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

is\_exempt

boolean

default:"false"

public

required

Indicates whether the tax document line is exempt.

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

line\_number

integer

public

required

The line number of the tax document line.

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

name

varchar

public

required

The name of the tax document line.

**Rules**: Max length: 250 characters

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

price\_includes\_tax

boolean

default:"false"

public

required

Indicates whether price includes tax applies to the tax document line.

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

quantity

numeric

public

required

The quantity of the tax document line.

**Rules**: Precision: 18, Scale: 6

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

total\_amount

numeric

public

required

The total amount of the tax document line.

**Rules**: Precision: 18, Scale: 2

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

unit

varchar

public

The unit of the tax document line.

**Rules**: Max length: 20 characters

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

unit\_price

numeric

public

required

The unit price of the tax document line.

**Rules**: Precision: 18, Scale: 6

## Foreign keys

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

tributary\_document

uuid

public

required

Reference to the Tributary Document this tax document line belongs to. [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.