作廢折讓
API路徑:
POST /allowances/cancel簽章值需求欄位及排序:
TaxIDNumber TimeStamp AllowanceNumber
欄位說明:
B2B與B2C欄位標註說明: M:必需提供資料 CM:條件符合時,必需提供資料 O:可選擇是否提供資料 CO:條件符合時,可選擇是否提供資料 X:不須提供資料
欄位名稱
欄位說明
欄位型態
欄位長度
B2B
B2C
條件說明
TaxIDNumber
賣方統一編號
String
8
M
M
須為發票平台商家
AllowanceNumber
折讓號碼
String
13
M
M
CancelReason
作廢原因
String
20
M
M
傳輸範例:
{
"TaxIDNumber": "54317589",
"Timestamp": 1606896691,
"Signature": "[簽章值]",
"Data":
{
"AllowanceNumber": "AW29290816001",
"CancelReason": "test"
}
}回傳結果:
[
{
// 成功上傳
"AllowanceNumber": "AW29290816001",
"Status": "Success",
"Error": ""
},
{
// 上傳失敗
"Status": "Success",
"Error": "買方姓名 不可為空"
}
]Last updated
Was this helpful?