# 拆帳

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

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

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

<img src="/files/-MGvusRpdlbMCStBBxRH" alt="" width="375">

<img src="/files/-MGvuJuv40Juoye649y4" alt="" width="375">

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

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

<img src="/files/-MHyWD86pyqdMy5l-ZU0" alt="" width="375">

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

當你跟朋友吃飯結帳時，你先用你的信用卡幫忙付款，之後再跟大家收錢，你就可以用拆帳的方式來做記錄。先記錄一筆你自己吃飯的花費，然後是你幫忙朋友的代刷的花費，等到朋友還你錢後，再去做收款動作即可。

<img src="/files/-MHyWn_xwLVdd6b5cGZW" alt="" width="375">

<img src="/files/-MHyZCHXw9gj-hoI3RPT" alt="針對代付的對象進行收款" width="375">

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

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

<img src="/files/-MSAp55jMtyiWE_1NS-u" alt="別人先幫你出早餐錢" width="375">

### 同步變更子類別

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

<figure><img src="/files/Mv3PD0KF6ILPJURDJyc8" alt="" width="375"><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

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

The question should be specific, self-contained, and written in natural language.
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.
