> For the complete documentation index, see [llms.txt](https://doc.moze.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.moze.app/record/split-categories.md).

# 拆帳

拆帳讓你在單一記錄中做出更彈性的帳目配置，例如分別指定不同的帳戶、專案、類別，以下提供幾個常見場景給你參考：

### 單筆交易涵蓋多個類別 <a href="#multi-category" id="multi-category"></a>

像是去大賣場購物，你買了日常用品、衣物和啤酒，如果只用一個購物類別涵蓋，可能沒辦法清楚分配預算。這種情境就適合用拆帳：建立多個不同類別，分門別類記錄消費品項，甚至可以選擇不同專案來配合你的預算規劃。

<img src="https://1006683-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MCbsscJsS02Gvb4-1bD%2F-MGvpMZUtubhnxmg97GZ%2F-MGvusRpdlbMCStBBxRH%2F%E5%A4%9A%E9%A1%9E%E5%88%A51.png?alt=media&amp;token=e3a058a9-764f-4f38-8f4a-40723ee237ae" alt="" width="375">

<img src="https://1006683-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MCbsscJsS02Gvb4-1bD%2F-MGvpMZUtubhnxmg97GZ%2F-MGvuJuv40Juoye649y4%2F%E5%A4%9A%E9%A1%9E%E5%88%A52.png?alt=media&amp;token=9291266b-42ed-4c6b-819a-e179f100d11c" alt="" width="375">

### 使用其他帳戶扣點 <a href="#multi-accounts" id="multi-accounts"></a>

單筆交易可能會同時用不同帳戶支付，像是 Line Pay 信用卡搭配 Line Point 點數折抵，也可以用拆帳選擇不同帳戶來記錄。

<img src="https://1006683-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MCbsscJsS02Gvb4-1bD%2F-MHyVdGySkynCNPHkspy%2F-MHyWD86pyqdMy5l-ZU0%2F%E6%8B%86%E5%B8%B302.png?alt=media&amp;token=79f8cb9e-701a-4607-90f6-8354d6f7b2fe" alt="" width="375">

### 幫別人代付 <a href="#receivables" id="receivables"></a>

跟朋友吃飯結帳時，你先用信用卡幫大家付款，之後再跟大家收錢，就可以用拆帳來記錄。先記錄一筆你自己吃飯的花費，再記一筆幫朋友代刷的花費，等朋友還你錢後，再進行收款即可。

<img src="https://1006683-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MCbsscJsS02Gvb4-1bD%2F-MHyVdGySkynCNPHkspy%2F-MHyWn_xwLVdd6b5cGZW%2F%E6%8B%86%E5%B8%B303.png?alt=media&amp;token=8923ab6f-bc69-4b23-82ad-53c2acfc4d18" alt="" width="375">

<img src="https://1006683-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MCbsscJsS02Gvb4-1bD%2F-MHyVdGySkynCNPHkspy%2F-MHyZCHXw9gj-hoI3RPT%2F%E6%8B%86%E5%B8%B304.png?alt=media&amp;token=51af2515-ba21-4033-844a-1c2dc9228e1b" alt="針對代付的對象進行收款" width="375">

### 別人幫你先出錢 <a href="#borrow" id="borrow"></a>

外出忘記帶錢、請朋友先墊錢的時候，可以先記錄一筆應付款項（借入），再加上當時的花費記錄（支出）。兩筆相加為零，代表你當下沒有支付任何款項，之後再針對這筆應付款項還款即可。

<img src="https://1006683-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MCbsscJsS02Gvb4-1bD%2F-MS1JAN91oDIsoHjdPpu%2F-MSAp55jMtyiWE_1NS-u%2FScreen%20Shot%202021-01-29%20at%209.46.42%20AM.png?alt=media&amp;token=09607b93-f26e-46e6-8005-5aae5f7e7afe" alt="別人先幫你出早餐錢" width="375">

### 同步變更子類別 <a href="#sync-subcategory" id="sync-subcategory"></a>

例如發票歸帳時提供的預設類別不符合期待，可以自行更換類別，並同步更新所有子項目的類別。

<figure><img src="https://1006683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MCbsscJsS02Gvb4-1bD%2Fuploads%2FpR2tuUakZ29sS5aDkeOP%2F%E7%AB%8B%E5%8D%B3%E6%96%B0%E5%A2%9E%E4%B8%80%E7%AD%86%E8%A8%98%E9%8C%84%2014.jpeg?alt=media&amp;token=f70e8739-d11e-4d20-8272-4d9e0151c184" alt="" width="375"><figcaption></figcaption></figure>

### 自訂多類別預設圖示 <a href="#package-icon" id="package-icon"></a>

多類別的預設圖示來自系統類別裡的「多類別」。你可以到[類別管理](https://doc.moze.app/prepare/category/management.md)的「系統」頁籤點擊多類別，換成自己喜歡的圖示和顏色。

<figure><img src="https://1006683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MCbsscJsS02Gvb4-1bD%2Fuploads%2FG2gSxEJjiBWJIq52mp8A%2F%E7%AB%8B%E5%8D%B3%E6%96%B0%E5%A2%9E%E4%B8%80%E7%AD%86%E8%A8%98%E9%8C%84%205.jpeg?alt=media&amp;token=0db3ce80-3ad9-48be-9eb9-b90be7d884a5" alt="" width="375"><figcaption></figcaption></figure>

### 替多類別記錄加上圖片 <a href="#attach-image-on-package" id="attach-image-on-package"></a>

你也可以針對單筆多類別記錄，點擊圖片欄位，替它選一個內建圖示、挑一張圖片或直接拍照。

<figure><img src="https://1006683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MCbsscJsS02Gvb4-1bD%2Fuploads%2FOmpTu6YhPBdYqh0f9P7s%2F%E7%AB%8B%E5%8D%B3%E6%96%B0%E5%A2%9E%E4%B8%80%E7%AD%86%E8%A8%98%E9%8C%84%206.jpeg?alt=media&amp;token=49f4e57a-b6c8-42b5-80ff-ec51b8eb3886" alt="" width="375"><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.moze.app/record/split-categories.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
