HomeGuidesAPI ReferenceChangelogDiscussions
HomeLog In
Guides

Order Invoice

Data structure of invoice

tax_idStringTax ID Number
發票統一編號
mailing_addressStringMailing Address
發票地址
invoice_typeStringInvoice Type
發票種類
-
0: 電子發票
1: 捐贈發票
2: 公司戶紙本發票
3: 二聯式發票
buyer_nameStringBuyer Name
發票抬頭
carrier_typeStringCarrier Type
載具類型
-
0: 會員載具
1: 手機條碼
2: 自然人憑證條碼
carrier_numberStringCarrier Number
載具號碼
n_p_o_b_a_nString發票捐贈愛心碼
invoice_tax_typeStringInvoice Tax Type
發票税別
-
1: 應稅
2: 零稅率-非經海關出口
5: 零稅率-經海關出口
invoice_numberStringInvoice Number
發票號碼
invoice_statusStringInvoice status
發票狀態
-
active: 已開立
cancel: 已作廢
invoice_dateStringInvoice Date
發票開立日期
invoice_cancelled_atStringInvoice Cancelled Date
發票作廢日期

JSON Sample

{
  "invoice": {
    "tax_id": "",
    "mailing_address": "",
    "invoice_type": "0",
    "buyer_name": "",
    "carrier_type": "0",
    "carrier_number": "",
    "n_p_o_b_a_n": "",
    "invoice_tax_type": "1",
    "invoice_number": "FT07050346",
    "invoice_status": "cancel",
    "invoice_date": "2018-08-20",
    "invoice_cancelled_at": "2018-08-23"
  }
}