Models

Mongoose Docs for TransactionPayment model

undefined
Field Name Field Type Comment Required Default Min Max Nested Schema
code String True
date String False
id_unit ObjectID False
transaction_type String False
payment[].isKnown Boolean False true
payment[].id_accountsetting ObjectID False
payment[].id_staff ObjectID False
payment[].date String False false
payment[].nominal Number False
payment[]._id ObjectID False
payment Array False
id_bank ObjectID False
payment_to.id_supplier ObjectID False
payment_to.id_institute ObjectID False
payment_to.id_staff ObjectID False
payment_from String False
invoice String False
description String False
isDownPayment Boolean False false
sp ObjectID False
status String False
rejected_description String False
timestamps.created_at String False () => moment().format()
timestamps.created_by ObjectID False
history[].code String False
history[].date String False
history[].id_unit ObjectID False
history[].transaction_type String False
history[].payment[].isKnown Boolean False true
history[].payment[].id_accountsetting ObjectID False
history[].payment[].id_staff ObjectID False
history[].payment[].date String False false
history[].payment[].nominal Number False
history[].payment[]._id ObjectID False
history[].payment Array False
history[].id_bank ObjectID False
history[].payment_to.id_supplier ObjectID False
history[].payment_to.id_institute ObjectID False
history[].payment_to.id_staff ObjectID False
history[].payment_from String False
history[].invoice String False
history[].description String False
history[].isDownPayment Boolean False false
history[].sp ObjectID False
history[].status String False
history[].rejected_description String False
history[].timestamps.created_at String False () => moment().format()
history[].timestamps.created_by ObjectID False
history[].timestamps.updated_at String False () => moment().format()
history[].timestamps.updated_by ObjectID False
history[]._id ObjectID False
history Array False
_id ObjectID False
__v Number False