Skip to main content

Primary key

document_id
uuiddefault:"Random UUID"publicrequired
The unique identifier for the subscription Toku invoice record.

Specific attributes

amount
decimalpublicrequired
The amount of the invoice.
due_date
timestamppublicrequired
The due date for the invoice.
Rules: Precision: 6, with timezone
is_paid
booleandefault:"false"publicrequired
Indicates whether the invoice has been paid.
metadata
jsonpublicrequired
Additional metadata associated with the invoice.
toku_id
varcharpublic
The unique identifier for the invoice in the Toku system.
Rules: Max length: 250 characters

Foreign keys

currency
uuidpublicrequired
The unique identifier of the associated currency. Ref: Currency Schema
subscription_toku
uuidpublicrequired
The unique identifier of the associated subscription Toku. Ref: SubscriptionToku Schema

Tracking attributes

created_at
timestamppublic
The timestamp when the subscription Toku invoice record was created.
Rules: Precision: 6, with timezone
deleted_at
timestamppublic
The timestamp when the subscription Toku invoice record was deleted, if applicable.
Rules: Precision: 6, with timezone
is_actived
booleandefault:"true"public
Indicates whether the subscription Toku invoice record is active.
is_deleted
booleandefault:"false"public
Indicates whether the subscription Toku invoice record has been deleted.
updated_at
timestamppublic
The timestamp when the subscription Toku invoice record was last updated.
Rules: Precision: 6, with timezone