Saltar al contenido

app.payments

TablaSeguridad a nivel de fila activa

Payments made to or received from a counterparty. Applications spread a payment over invoices; a payment is never applied beyond its amount.

Clave primaria: id

Columnas de app.payments
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from the counterparty on insert. For a person payee it is the paying org, which must engage the person as an individual; never changed.Hace referencia a app.organizations.id
counterparty_iduuidSíCounterparty paid or paying; NULL when the payee is a person engaged as an individual.Hace referencia a app.counterparties.id
directionapp.money_directionNoPayable (we pay) or Receivable (we are paid).
amount_minorbigintNoAmount in minor units of currency_code.
currency_codecharacter(3)NoISO 4217 currency of the payment.Hace referencia a private.currencies.currency_code
paid_ondateNoDate the money moved.
reference_identifiertextSíBank or card reference of the movement.
payment_stateapp.payment_stateNoPayment state. Changes only through the payment RPCs.
deleted_attimestamp with time zoneSíSoft delete time. A row with deleted_at set is ignored by every access helper.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidSíPerson who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidSíPerson who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
payee_person_iduuidSíPerson paid as an individual. Exactly one of counterparty_id and payee_person_id is set.Hace referencia a app.people.id