API傳送格式

注意:開始使用系統前,請先與業務人員確認帳號已建立完成,並取得專屬 HashKey 以及 HashIV 一組,以便後續上傳作業之進行。

介接網域:

正式區

https://api.youngsaas.com/einvoice/v1

測試區

https://api-test.youngsaas.com/einvoice/v1

範例格式:

{
    "TaxIDNumber":"54317589",
    "Timestamp":1607073498,
    "Signature":,
    "Data":[傳送資料]
}

欄位格式說明:

欄位名稱

欄位說明

欄位型態

欄位長度

條件說明

TaxIDNumber

賣方統一編號

String

8

須為發票平台商家

Timestamp

時間戳記

Integer

使用 GMT + 0 之時間戳記 系統只接受加減10分鐘內之戳記

相關轉換請參考 [https://www.unixtimestamp.com/]

Signature

簽章驗證值

String

產生方法可參閱簽章值計算說明

Data

傳送資料

依各API決定內容

Last updated

Was this helpful?