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

# TaxDocumentCharge

> The schema definition for the TaxDocumentCharge resource.

## Primary key

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

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the tax document charge.

## Specific attributes

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

due\_date

date

public

Date associated with the due of the tax document charge.

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

mark\_paid\_attempts

integer

default:"0"

public

required

The mark paid attempts of the tax document charge.

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

mark\_paid\_error\_code

varchar

public

The mark paid error code of the tax document charge.

**Rules**: Max length: 50 characters

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

mark\_paid\_error\_http\_status

PgSmallInt

public

The mark paid error http status of the tax document charge.

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

mark\_paid\_status

varchar

default:"pending"

public

required

The mark paid status of the tax document charge.

**Rules**: Possible values: done, failed, pending, skipped\_already\_paid. Max length: 50 characters

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

paid\_source

varchar

public

The paid source of the tax document charge.

**Rules**: Possible values: libredte\_button, psp. Max length: 50 characters

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

payment\_method

varchar

public

The payment method of the tax document charge.

**Rules**: Possible values: card\_oneclick, external\_collection, pac, pat. Max length: 50 characters

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

provider\_charge\_code

varchar

public

required

The provider charge code of the tax document charge.

**Rules**: Max length: 100 characters

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

provider\_paid\_at

timestamp

public

Timestamp when the tax document charge was provider paid.

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

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

provider\_payment\_medium

varchar

public

The provider payment medium of the tax document charge.

**Rules**: Max length: 100 characters

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

status

varchar

default:"open"

public

required

The status of the tax document charge.

**Rules**: Possible values: open, paid, voided. Max length: 50 characters

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

synced\_at

timestamp

public

Timestamp when the tax document charge was synced.

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

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

total\_amount

numeric

public

The total amount of the tax document charge.

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

## Foreign keys

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

payment\_intent

uuid

public

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

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

tax\_issuer

uuid

public

required

Reference to the Tax Issuer this tax document charge 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 charge 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 charge 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.