> ## Documentation Index
> Fetch the complete documentation index at: https://docs.totowallet.app/llms.txt
> Use this file to discover all available pages before exploring further.

# URL Scheme

图图记账在 v2.1.2 版本中支持了 URL Scheme 能力，方便一些高阶用户使用「快捷指令」等 app 调用图图记账的相关能力，从而满足定制化需求。

图图记账注册了 <a style={{ color: '#6D5FFE' }}>totowallet://</a>，并通过 <a style={{ color: '#6D5FFE' }}>X-Callback-URL</a> 协议与其他服务集成，具体的操作格式如下：

## **启动应用**

<a style={{ color: '#6D5FFE' }}>totowallet://</a>

## **打开统计页面**

<a style={{ color: '#6D5FFE' }}>totowallet://statistic</a>

## **打开预算页面**

<a style={{ color: '#6D5FFE' }}>totowallet://budget</a>

## **快捷记账模板**

<a style={{ color: '#6D5FFE' }}>totowallet://module</a>

| 参数名  | 参数       |
| ---- | -------- |
| name | 你设置的模板名称 |

## **添加收支**

**收入：**<a style={{ color: '#6D5FFE' }}>totowallet://income</a>

**支出：**<a style={{ color: '#6D5FFE' }}>totowallet://expenditure</a>

| 参数名      | 参数          | 描述                                   |
| -------- | ----------- | ------------------------------------ |
| currency | ISO 4217 代码 | 默认为主币种，填写要求为 ISO 4217 代码，如：CNY       |
| account  | 账户名         |                                      |
| category | 分类名         |                                      |
| price    | 账单金额        |                                      |
| remark   | 备注          |                                      |
| date     | 记账时间        | 默认为当前时间，填写要求为 yyyyMMdd 格式，如：20211014 |

<Warning>
  示例

  totowallet://income
  totowallet://expenditure?currency=USD\&price=1.23\&remark=TEST\&day=20210110
</Warning>

## **添加转账**

<a style={{ color: '#6D5FFE' }}>totowallet://transfer</a>

| 参数名         | 参数          | 描述                                   |
| ----------- | ----------- | ------------------------------------ |
| currency    | ISO 4217 代码 | 默认为主币种，填写要求为 ISO 4217 代码，如：CNY       |
| from        | 转出账户名       |                                      |
| to          | 转入账户名       |                                      |
| price       | 转账金额        |                                      |
| handlingFee | 手续费         | 可不填，默认值为 0                           |
| remark      | 备注          |                                      |
| date        | 记账时间        | 默认为当前时间，填写要求为 yyyyMMdd 格式，如：20211014 |

<Warning>
  示例

  totowallet://transfer?from=校园卡\&to=支付宝\&price=5.56
</Warning>

***
