save_lend
save_lendAdd or update a lending record in the Yimu ledger, specifying borrow/lend type, amount, interest, dates, linked accounts, and remark. Upsert with primary key for updates.
Instructions
新增或更新借贷(POST /lend/addOrUpdateLend,upsert:带主键为更新)。entity 字段:lendId 主键;type 类型(借出/借入);number 金额;interest 利息;outTime/inTime 借出/归还时间;assetId 关联账户;repaymentAssetId 还款账户;remark 备注
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | 借贷对象 |