> For the complete documentation index, see [llms.txt](https://ticp-motc.gitbook.io/motcticket-doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ticp-motc.gitbook.io/motcticket-doc/faq/data-write-faq.md).

# 資料填寫常見問題

## 車牌資料受限車機資料容量沒有"-"，上傳的票證資料應如何填寫？

建議於CPS建立車牌號碼對應表、於票證資料產製時填入正確車牌號碼

​票證收費方式怎麼區別？

票證標準收費方式區分

1. ODFares - 上下車刷卡格式
2. ODTapOnceFares - 上車刷卡格式
3. StageFares - 區間收費格式三類

詳標準票證【公車刷卡站與計費站資料說明】，票證標準說明文件可於平臺下載：[https://ticp.motc.gov.tw/motcTicket/](https://ticp.motc.gov.tw/motcTicket/)

針對不同收費方式三選一填寫(里程、區間、段次)，擇一填寫後其他兩種收費方式之相關欄位要保留嗎？

* 以 XML 格式填寫時，不同收費擇一填寫後其他兩種收費方式之相關欄位不需保留
* 以 CSV 格式填寫時  ，單筆資料依計費方式(FarePricingType) 填寫搭乘資訊、依搭乘資訊註記(StopOrStation)填寫站牌或站位資料，其他計費方式之搭乘資訊欄位、未填寫之站牌或站位資訊欄位需保留空值

公路客運採上、下車刷卡方式，而某些直轄市市區公車僅需刷一次卡片即可，針對刷卡一次的路線如何填寫？

請填寫ODTapOnceFares - 上車刷卡格式；可參考標準票證【公車刷卡站與計費站資料說明】，票證標準說明文件可於平臺下載：[https://ticp.motc.gov.tw/motcTicket/](https://ticp.motc.gov.tw/motcTicket/)

原交易資料內容無原始票價資料，請問該如何處理？

缺原始收費價格之異常，填寫-99

若上下車刷卡不全(如乘客下車忘記刷卡、逃票銷卡等)，要如何填寫？

缺車站資料等異常情形，填寫-99，時間欄位填寫 0000-00-00 00:00:00

若是以XML格式提供資料，無法提供資料(非必填欄位)標籤是否還需要提供？&#x20;

XML格式非必填欄位若無資料標籤無需保留

部分非電子票僅有出站、沒有進站資料，該如何填寫？

缺進站資料等異常情形，填寫-99，時間欄位填寫 0000-00-00 00:00:00

旅客可自由搭乘起迄站之紙票(如台北-中壢，任一路線車輛)，路線名稱和站名如何填寫？

可擇一路線資料填寫

紙本票有種情況是買整本時會有額外贈送情況，(ex:買10張送2張)，若需計算每張票的價格，應該除以10還是12？

若可分辨是贈送票，則贈送票部份價格填0，非贈送票為整本售價/非贈送票張數，若無法區分，則用整本售價/總張數填寫價格

紙本來回票有優惠價，但實收價格與單程購買價格並不相同，應如何填寫？

請以實收價格填寫

團體票資料要如何填寫？

請以搭乘人數個別提供單筆資料方式填寫

票證原始資料沒有優惠資訊，上傳的資料要如何填寫？

請以實收價格填寫

哪邊可以查到票證上傳檔案的營運業者編號？

* 票證平臺提供營運業者編號查詢工具：<https://ticp.motc.gov.tw/motcTicket/tools?tab=ticketspec-tab&provider=ticp&column=operatorNo>
* 交通部TDX平臺提供業者編號查詢服務(依<mark style="color:red;">縣市英文名</mark>查詢)：[https://tdx.transportdata.tw/api/basic/v2/Bus/Operator/City/<mark style="color:red;">Taipei</mark>?format=JSON](https://tdx.transportdata.tw/api/basic/v2/Bus/Operator/City/Taipei?format=JSON)
* 票證標準文件內有業者編號，票證標準說明文件可於平臺下載：<https://ticp.motc.gov.tw/motcTicket/>

非電子票證需提交的資料範圍有哪些？

非屬電子票證的範圍包含紙票、月票及人工售票...等範圍，若有記錄，請盡量提供


---

# 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 dynamically by asking a question.

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

```
GET https://ticp-motc.gitbook.io/motcticket-doc/faq/data-write-faq.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.
