POST api/NInvoice/PostRecInvModule

進貨發票新增


需求參數

參數名稱描述內容格式相關資訊
js_login

驗證使用

js_login

Required

eim01_np

發票資料暫存檔

eim01_9911

Required

需求格式

application/json, text/json

Sample:
{
  "js_login": {
    "cust_no": "sample string 1",
    "user_no": "sample string 2",
    "user_pass": "sample string 3",
    "sys_id": "sample string 4",
    "lang": "sample string 5",
    "app_token": "sample string 6"
  },
  "eim01_np": {
    "eia01c": "sample string 1",
    "eia02c": "sample string 2",
    "eia04c": "sample string 3",
    "eia05c": "sample string 4",
    "eia06c": "sample string 5",
    "eia07c": "sample string 6",
    "eia08c": "sample string 7",
    "eia09c": "sample string 8",
    "eia10c": "sample string 9",
    "eia11c": "sample string 10",
    "eia111f": 1,
    "eia112c": "sample string 11",
    "eia113c": "sample string 12",
    "eia114c": "sample string 13",
    "eia115c": "sample string 14",
    "eia116c": "sample string 15",
    "eia12c": "sample string 16",
    "eia121c": "sample string 17",
    "eia13c": "sample string 18",
    "eia14f": 1.1,
    "eia15f": 1.1,
    "eia16f": 1.1,
    "eia17f": 1.1,
    "eia18c": "sample string 19",
    "eia19c": "sample string 20",
    "eia20c": "sample string 21",
    "eia21c": "sample string 22",
    "eia22c": "sample string 23",
    "eia23c": "sample string 24",
    "eia24c": "sample string 25",
    "eia25c": "sample string 26",
    "eia261c": "sample string 27",
    "eia271c": "sample string 28",
    "eia28f": 1.1,
    "eia29c": "sample string 29",
    "eia301f": 1.1,
    "eia30f": 1.1,
    "eia31f": 1.1,
    "eia32c": "sample string 30",
    "eia33c": "sample string 31",
    "eia34c": "sample string 32",
    "eia35c": "sample string 33",
    "eia36c": "sample string 34",
    "eia37c": "sample string 35",
    "eia38c": "sample string 36",
    "eia39c": "sample string 37",
    "eia40c": "sample string 38",
    "eia41c": "sample string 39",
    "eia42c": "sample string 40",
    "eia43c": "sample string 41",
    "eia44c": "sample string 42",
    "eia50c": "sample string 43",
    "eia51c": "sample string 44",
    "eia52c": "sample string 45",
    "eia53c": "sample string 46",
    "eia54c": "sample string 47",
    "eia60c": "sample string 48",
    "eia61c": "sample string 49",
    "eia62c": "sample string 50"
  }
}

回覆參數

參數名稱描述內容格式相關資訊
Message

訊息回饋

Message
trans_data

發票資訊

Collection of trans_data_9911
pdf_url

電子發票證明聯PDF檔位置有產生下載網址的情況:
1、限定當天下載完畢,並且無法下載非當天的過去發票,否則需登入加值中心網站,進行發票列印。
2、登入加值中心網站,此發票會被視為列印過,再次列印會有"補印"字樣。

string

回覆格式

application/json, text/json

Sample:
{
  "Message": {
    "msgcode": 1,
    "msgdesc": "sample string 2"
  },
  "trans_data": [
    {
      "dij03c": "sample string 1",
      "dij04c": "sample string 2",
      "dij05f": "sample string 3",
      "dij06c": "sample string 4",
      "dij07c": "sample string 5",
      "dij08c": "sample string 6",
      "dij09c": "sample string 7",
      "dij10c": "sample string 8",
      "dij101c": "sample string 9",
      "dij102c": "sample string 10",
      "dij11f": "sample string 11"
    },
    {
      "dij03c": "sample string 1",
      "dij04c": "sample string 2",
      "dij05f": "sample string 3",
      "dij06c": "sample string 4",
      "dij07c": "sample string 5",
      "dij08c": "sample string 6",
      "dij09c": "sample string 7",
      "dij10c": "sample string 8",
      "dij101c": "sample string 9",
      "dij102c": "sample string 10",
      "dij11f": "sample string 11"
    }
  ],
  "pdf_url": "sample string 1"
}