Skip to content

Documentation / @tenancy-node/core / Invoice

Interface: Invoice ​

Defined in: core/src/domain/entities/billing.ts:33

Properties ​

amountCents ​

amountCents: number

Defined in: core/src/domain/entities/billing.ts:38


checkoutUrl ​

checkoutUrl: string | null

Defined in: core/src/domain/entities/billing.ts:50


createdAt ​

createdAt: Date

Defined in: core/src/domain/entities/billing.ts:51


currency ​

currency: string

Defined in: core/src/domain/entities/billing.ts:37


description ​

description: string

Defined in: core/src/domain/entities/billing.ts:36


dueAt ​

dueAt: Date

Defined in: core/src/domain/entities/billing.ts:45


id ​

id: string

Defined in: core/src/domain/entities/billing.ts:34


paidAt ​

paidAt: Date | null

Defined in: core/src/domain/entities/billing.ts:46


paidCents ​

paidCents: number

Defined in: core/src/domain/entities/billing.ts:40

Lo pagado hasta ahora (pagos parciales).


periodEnd ​

periodEnd: Date | null

Defined in: core/src/domain/entities/billing.ts:44


periodStart ​

periodStart: Date | null

Defined in: core/src/domain/entities/billing.ts:43

Período que cubre (extiende la suscripción al pagarse). null = cobro suelto.


provider ​

provider: string | null

Defined in: core/src/domain/entities/billing.ts:48

Pasarela del último cobro en línea y su referencia (checkout, QR...).


providerRef ​

providerRef: string | null

Defined in: core/src/domain/entities/billing.ts:49


status ​

status: "open" | "paid" | "void"

Defined in: core/src/domain/entities/billing.ts:41


tenantId ​

tenantId: string

Defined in: core/src/domain/entities/billing.ts:35


updatedAt ​

updatedAt: Date

Defined in: core/src/domain/entities/billing.ts:52

Publicado bajo la licencia MIT.