B2C certificate of invoice
B2C存證發票範本
{
"CompanyID":"89430377",
"InvoiceID":"AA12345678",
"InvoiceDateTime":"2016-10-27T16:27:34",
"InvoiceFor":"C",
"BuyerID":"0000000000",
"BuyerName":"Nestor Huang",
"BuyerAddress":"高雄市鳳山區光遠路226號B1",
"BuyerTelNo":"0912345678",
"BuyerEmail":"nestor@systemlead.com",
"RelateNumber":"OD2017032802",
"PrintMark":"N",
"RandomNumber":"3716",
"SalesAmount":5500,
"TaxType":"1",
"TaxAmount":0,
"TotalAmount":5500,
"Details":[
{
"DetailID":"001",
"ProductID":"P1234",
"ProductName":"Product Name",
"Quantity":5.0,
"UnitPrice":100.0,
"SubTotal":500.0
},
{
"DetailID":"002",
"ProductID":"P2345",
"ProductName":"256 chars",
"Quantity":2.0,
"UnitPrice":500.0,
"SubTotal":1000.0
},
{
"DetailID":"003",
"ProductID":"P3456",
"ProductName":"3-digit Serial No.",
"Quantity":4.0,
"UnitPrice":1000.0,
"SubTotal":4000.0,
"Remark":"Lack of goods"
}]
}
Return Result:
[
{
// Success
"InvoiceID":"CA89430015",
"InvoiceDateTime":"2017-06-12T12:34:56",
"AuthCode":"113B2C2E-81E3-41B5-B77F-656598B8BAEF"
},
{
// Failure
"InvoiceID":"CA89430016",
"InvoiceDateTime":"2017-06-12T12:34:34",,
"Message":,"Append Inovice Error!!"
},
{
// Check Error
"InvoiceID":"CA89430017",
"InvoiceDateTime":"2017-06-12T12:34:34",,
"Message":,"簽章驗證錯誤"
}
]
Last updated