| code |
String |
|
True |
|
|
|
|
| id_unit |
ObjectID |
|
False |
|
|
|
|
| journal_date |
String |
|
True |
|
|
|
|
| journal_type |
String |
|
True |
|
|
|
|
| transaction_type |
String |
|
False |
|
|
|
|
| description |
String |
|
False |
|
|
|
|
| isBackdate |
Boolean |
|
False |
false |
|
|
|
| isCorrected |
Boolean |
|
False |
false |
|
|
|
| backdate.reason |
String |
|
False |
|
|
|
|
| backdate.rejected_reason |
String |
|
False |
|
|
|
|
| backdate.isApproved |
Boolean |
|
False |
false |
|
|
|
| backdate.confirm_by |
ObjectID |
|
False |
|
|
|
|
| backdate.confirm_at |
String |
|
False |
|
|
|
|
| transaction_bill |
String |
|
False |
|
|
|
|
| status |
String |
|
False |
|
|
|
|
| detail[].id_account |
ObjectID |
|
False |
|
|
|
|
| detail[].isDebit |
Boolean |
|
True |
|
|
|
|
| detail[].type |
String |
|
False |
|
|
|
|
| detail[].id_supplier |
ObjectID |
|
False |
|
|
|
|
| detail[].id_staff |
ObjectID |
|
False |
|
|
|
|
| detail[].id_partnerinstitute |
ObjectID |
|
False |
|
|
|
|
| detail[].id_patient |
ObjectID |
|
False |
|
|
|
|
| detail[].nominal |
Number |
|
False |
|
|
|
|
| detail[]._id |
ObjectID |
|
False |
|
|
|
|
| detail |
Array |
|
False |
|
|
|
|
| history[].id_unit |
ObjectID |
|
False |
|
|
|
|
| history[].journal_date |
String |
|
True |
|
|
|
|
| history[].journal_type |
String |
|
True |
|
|
|
|
| history[].transaction_type |
String |
|
False |
|
|
|
|
| history[].description |
String |
|
False |
|
|
|
|
| history[].isBackdate |
Boolean |
|
False |
false |
|
|
|
| history[].isCorrected |
Boolean |
|
False |
false |
|
|
|
| history[].backdate.reason |
String |
|
False |
|
|
|
|
| history[].backdate.rejected_reason |
String |
|
False |
|
|
|
|
| history[].backdate.isApproved |
Boolean |
|
False |
false |
|
|
|
| history[].backdate.confirm_by |
ObjectID |
|
False |
|
|
|
|
| history[].backdate.confirm_at |
String |
|
False |
|
|
|
|
| history[].transaction_bill |
String |
|
False |
|
|
|
|
| history[].status |
String |
|
False |
|
|
|
|
| history[].detail[].id_account |
ObjectID |
|
False |
|
|
|
|
| history[].detail[].isDebit |
Boolean |
|
True |
|
|
|
|
| history[].detail[].type |
String |
|
False |
|
|
|
|
| history[].detail[].id_supplier |
ObjectID |
|
False |
|
|
|
|
| history[].detail[].id_staff |
ObjectID |
|
False |
|
|
|
|
| history[].detail[].id_partnerinstitute |
ObjectID |
|
False |
|
|
|
|
| history[].detail[].id_patient |
ObjectID |
|
False |
|
|
|
|
| history[].detail[].nominal |
Number |
|
False |
|
|
|
|
| history[].detail[]._id |
ObjectID |
|
False |
|
|
|
|
| history[].detail |
Array |
|
False |
|
|
|
|
| history[].timestamps.created_at |
String |
|
False |
|
|
|
|
| history[].timestamps.created_by |
ObjectID |
|
False |
|
|
|
|
| history[]._id |
ObjectID |
|
False |
|
|
|
|
| history |
Array |
|
False |
|
|
|
|
| timestamps.created_at |
String |
|
False |
() => moment().format() |
|
|
|
| timestamps.created_by |
ObjectID |
|
False |
|
|
|
|
| _id |
ObjectID |
|
False |
|
|
|
|
| __v |
Number |
|
False |
|
|
|
|