qianji_record_receipt
Record an expense from a receipt by copying merchant, receipt date/time, total, and line items; when a cross-currency charged amount is unknown, save it as a pending-settlement receipt.
Instructions
从一张消费小票记一笔支出,照抄商户、票面时间和总额。跨币种实扣未知时只保存待结算小票。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"accountId": "<accountId>",
"categoryId": "<categoryId>",
"receiptCurrency": "<receiptCurrency>",
"totalText": "<totalText>",
"occurredAt": "<occurredAt>",
"merchant": "<merchant>",
"items": "<items>"
},
"name": "qianji_record_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| bookId | No | ||
| merchant | Yes | ||
| accountId | Yes | 目录或查询结果给出的数字字符串 ID | |
| requestId | No | 本次操作的稳定键。宿主未提供时必填;重试或补结算时复用原键。 | |
| totalText | Yes | 票面合计原文,如 ¥816。仅填一次。 | |
| categoryId | Yes | ||
| occurredAt | Yes | 票面日期和时分;可附 UTC 偏移,省略偏移时使用账务时区 | |
| itemization | No | 明细不全或未列全税费时选 partial;完整行金额会核对合计 | |
| chargedAmount | No | 仅跨币种时填写银行卡实际扣款;未知时省略 | |
| receiptCurrency | Yes | 票面币种。¥ 可表示 JPY 或 CNY,按票面和消费地点确定。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bill | No | ||
| billId | No | 目录或查询结果给出的数字字符串 ID | |
| status | Yes | ||
| message | No | ||
| summary | Yes | ||
| nextCall | No | ||
| replayed | Yes | ||
| createdAt | Yes | ||
| requestId | Yes | ||
| verification | No | ||
| changedFields | No | ||
| accountCurrency | No | ||
| originalReceipt | No |