POST api/TencentStore/createTencentInvoice

开具电子发票

请求的信息

URI参数

None.

Body参数

createStoreInvoiceCondition
名称描述类型其它信息
InvoiceDate

开票日期

string

None.

Head

抬头-购买方名称

string

None.

Mobile

手机号码

string

None.

GmfNsrsbh

购买方纳税人识别号(如收票方为企业时此项必填)

string

None.

GmfYhzh

购买方银行和银行帐号

string

None.

GmfDzdh

购买方地址和电话

string

None.

GmfEmail

购买方电子邮箱

string

None.

TotalAmt

开票总金额

decimal number

None.

OrderList

订单数据列表

Collection of createStoreInvoiceOrderModel

None.

请求格式

application/json, text/json

Sample:
{
  "invoiceDate": "sample string 1",
  "head": "sample string 2",
  "mobile": "sample string 3",
  "gmfNsrsbh": "sample string 4",
  "gmfYhzh": "sample string 5",
  "gmfDzdh": "sample string 6",
  "gmfEmail": "sample string 7",
  "totalAmt": 8.0,
  "orderList": [
    {
      "$id": "2",
      "amt": 1.0,
      "orderNo": "sample string 2",
      "orderDate": "sample string 3",
      "seq": "sample string 4",
      "productList": [
        {
          "$id": "3",
          "proCode": "sample string 1",
          "proName": "sample string 2",
          "proAmt": 3.0,
          "proQty": 4,
          "guiGe": "sample string 5",
          "danWei": "sample string 6"
        },
        {
          "$ref": "3"
        },
        {
          "$ref": "3"
        }
      ]
    },
    {
      "$ref": "2"
    },
    {
      "$ref": "2"
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

响应信息

资源描述

CustomJsonResultOfcreateStoreInvoiceResult
名称描述类型其它信息
Content

createStoreInvoiceResult

None.

响应格式

application/json, text/json

Sample:
{
  "content": {
    "$id": "2",
    "third_source": "sample string 1",
    "code": 1,
    "message": "sample string 2",
    "data": {
      "$id": "3"
    }
  }
}