POST api/Tally/SanlianInvoiceAdd
新增三聯發票收件紀錄
Request Information
URI Parameters
None.
Body Parameters
SanlianInvoiceAdd_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| userId |
會員帳號 |
string |
Required |
| Ticket |
身份票據 |
string |
Required |
| taxId |
統一編號 |
string |
Required |
| header |
發票抬頭 |
string |
Required |
| sendCity |
寄送縣市 |
string |
Required |
| sendRegion |
寄送鄉鎮市區 |
string |
None. |
| sendAddress |
居住地址 |
string |
Required String length: inclusive between 0 and 200 |
| ZipCode |
郵編 |
string |
Required |
| ZipCodeID |
區域ID |
integer |
Required |
| ReceivePer |
收件人 (20191017新增) |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"userId": "sample string 1",
"Ticket": "sample string 2",
"taxId": "sample string 3",
"header": "sample string 4",
"sendCity": "sample string 5",
"sendRegion": "sample string 6",
"sendAddress": "sample string 7",
"ZipCode": "sample string 8",
"ZipCodeID": 9,
"ReceivePer": "sample string 10"
}
text/html
Sample:
{"userId":"sample string 1","Ticket":"sample string 2","taxId":"sample string 3","header":"sample string 4","sendCity":"sample string 5","sendRegion":"sample string 6","sendAddress":"sample string 7","ZipCode":"sample string 8","ZipCodeID":9,"ReceivePer":"sample string 10"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
新增三聯發票收件紀錄
SanlianInvoiceAdd_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| status |
狀態 0:系統錯誤 1:刪除成功 |
integer |
None. |
| ticketVerified |
驗證是否通過 |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": 1,
"ticketVerified": true
}
text/html
Sample:
{"status":1,"ticketVerified":true}