POST api/Invoice/AnonymousGetInvoice
匿名取得發票資訊
Request Information
URI Parameters
None.
Body Parameters
AnonymousGetInvoice_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| orerNumber |
訂單編號 |
string |
Required |
| Key |
key密钥 |
string |
Required |
| InvoNo |
發票編號 |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"orerNumber": "sample string 1",
"Key": "sample string 2",
"InvoNo": "sample string 3"
}
text/html
Sample:
{"orerNumber":"sample string 1","Key":"sample string 2","InvoNo":"sample string 3"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
匿名取得發票資訊
GetInvoice_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| ticketVerified |
驗證是否通過 |
boolean |
None. |
| orderDate |
購買日期 |
string |
None. |
| invoiceNumber |
發票號碼 |
string |
None. |
| invoiceDate |
開立日期 |
string |
None. |
| orderNumber |
訂單編號 |
string |
None. |
| productList |
商品明細 |
Collection of GetInvoice_Pro |
None. |
| barcodeImageURL |
條碼圖檔網址 |
string |
None. |
| qrCodeImageURLs |
QR Code圖檔網址 |
Collection of string |
None. |
| randomNumber |
隨機碼 |
string |
None. |
| total |
總計金額 |
decimal number |
None. |
| seller |
賣方 |
string |
None. |
| buyer |
買方 |
string |
None. |
| IsInvo |
是否啟用索取正本按鈕 |
boolean |
None. |
| Invotime |
索取正本時間 |
string |
None. |
| invoiceInformation |
發票資訊 |
CarPay_invoiceInformation |
None. |
Response Formats
application/json, text/json
Sample:
{
"ticketVerified": true,
"orderDate": "sample string 2",
"invoiceNumber": "sample string 3",
"invoiceDate": "sample string 4",
"orderNumber": "sample string 5",
"productList": [
{
"name": "sample string 1",
"option": "sample string 2",
"amount": 3,
"price": 4.0
},
{
"name": "sample string 1",
"option": "sample string 2",
"amount": 3,
"price": 4.0
}
],
"barcodeImageURL": "sample string 6",
"qrCodeImageURLs": [
"sample string 1",
"sample string 2"
],
"randomNumber": "sample string 7",
"total": 1.0,
"seller": "sample string 8",
"buyer": "sample string 9",
"IsInvo": true,
"Invotime": "sample string 11",
"invoiceInformation": {
"type": "sample string 1",
"vehicle": "sample string 2",
"vehicleNumber": "sample string 3",
"recipient": "sample string 4",
"taxId": "sample string 5",
"header": "sample string 6",
"sendCity": "sample string 7",
"sendRegion": "sample string 8",
"sendAddress": "sample string 9",
"saveInformation": true,
"ZipCode": "sample string 11",
"ZipCodeID": 12,
"donateCode": "sample string 13",
"ReceivePer": "sample string 14"
}
}
text/html
Sample:
{"ticketVerified":true,"orderDate":"sample string 2","invoiceNumber":"sample string 3","invoiceDate":"sample string 4","orderNumber":"sample string 5","productList":[{"name":"sample string 1","option":"sample string 2","amount":3,"price":4.0},{"name":"sample string 1","option":"sample string 2","amount":3,"price":4.0}],"barcodeImageURL":"sample string 6","qrCodeImageURLs":["sample string 1","sample string 2"],"randomNumber":"sample string 7","total":1.0,"seller":"sample string 8","buyer":"sample string 9","IsInvo":true,"Invotime":"sample string 11","invoiceInformation":{"type":"sample string 1","vehicle":"sample string 2","vehicleNumber":"sample string 3","recipient":"sample string 4","taxId":"sample string 5","header":"sample string 6","sendCity":"sample string 7","sendRegion":"sample string 8","sendAddress":"sample string 9","saveInformation":true,"ZipCode":"sample string 11","ZipCodeID":12,"donateCode":"sample string 13","ReceivePer":"sample string 14"}}